MCPcopy Create free account
hub / github.com/OpenZWave/open-zwave / AddAssociation

Method AddAssociation

cpp/src/Node.cpp:3069–3080  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Adds a node to an association group -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

3067// Adds a node to an association group
3068//-----------------------------------------------------------------------------
3069void Node::AddAssociation
3070(
3071 uint8 const _groupIdx,
3072 uint8 const _targetNodeId,
3073 uint8 const _instance
3074)
3075{
3076 if( Group* group = GetGroup( _groupIdx ) )
3077 {
3078 group->AddAssociation( _targetNodeId, _instance );
3079 }
3080}
3081
3082//-----------------------------------------------------------------------------
3083// <Node::RemoveAssociation>

Callers 1

AutoAssociateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected