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

Method AddAssociation

cpp/src/Manager.cpp:3888–3901  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

3886// Adds a node to an association group
3887//-----------------------------------------------------------------------------
3888void Manager::AddAssociation
3889(
3890 uint32 const _homeId,
3891 uint8 const _nodeId,
3892 uint8 const _groupIdx,
3893 uint8 const _targetNodeId,
3894 uint8 const _instance
3895)
3896{
3897 if( Driver* driver = GetDriver( _homeId ) )
3898 {
3899 driver->AddAssociation( _nodeId, _groupIdx, _targetNodeId, _instance );
3900 }
3901}
3902
3903//-----------------------------------------------------------------------------
3904// <Manager::RemoveAssociation>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected