----------------------------------------------------------------------------- Send node info frame on behalf of a virtual node. -----------------------------------------------------------------------------
| 6415 | // Send node info frame on behalf of a virtual node. |
| 6416 | //----------------------------------------------------------------------------- |
| 6417 | void 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> |