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

Method SendVirtualNodeInfo

cpp/src/Driver.cpp:6417–6431  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Send node info frame on behalf of a virtual node. -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

6415// Send node info frame on behalf of a virtual node.
6416//-----------------------------------------------------------------------------
6417void Driver::SendVirtualNodeInfo
6418(
6419 uint8 const _FromNodeId,
6420 uint8 const _ToNodeId
6421)
6422{
6423 char str[80];
6424
6425 snprintf( str, sizeof(str), "Send Virtual Node Info from %d to %d", _FromNodeId, _ToNodeId );
6426 Msg* msg = new Msg( str, 0xff, REQUEST, FUNC_ID_ZW_SEND_SLAVE_NODE_INFO, true );
6427 msg->Append( _FromNodeId ); // from the virtual node
6428 msg->Append( _ToNodeId ); // to the handheld controller
6429 msg->Append( TRANSMIT_OPTION_ACK );
6430 SendMsg( msg, MsgQueue_Command );
6431}
6432
6433//-----------------------------------------------------------------------------
6434// <Driver::SendSlaveLearnModeOff>

Callers

nothing calls this directly

Calls 1

AppendMethod · 0.45

Tested by

no test coverage detected