----------------------------------------------------------------------------- Process a request from the Z-Wave PC interface -----------------------------------------------------------------------------
| 3896 | // Process a request from the Z-Wave PC interface |
| 3897 | //----------------------------------------------------------------------------- |
| 3898 | void Driver::HandleSendNodeInformationRequest |
| 3899 | ( |
| 3900 | uint8* _data |
| 3901 | ) |
| 3902 | { |
| 3903 | ControllerState state; |
| 3904 | uint8 nodeId = GetNodeNumber( m_currentMsg ); |
| 3905 | if( m_currentControllerCommand == NULL ) |
| 3906 | { |
| 3907 | return; |
| 3908 | } |
| 3909 | if( _data[3] != TRANSMIT_COMPLETE_OK ) |
| 3910 | { |
| 3911 | // Failed |
| 3912 | HandleErrorResponse( _data[3], m_currentControllerCommand->m_controllerCommandNode, "ZW_SEND_NODE_INFORMATION" ); |
| 3913 | state = ControllerState_Failed; |
| 3914 | } |
| 3915 | else |
| 3916 | { |
| 3917 | // Success |
| 3918 | Log::Write( LogLevel_Info, nodeId, "Received reply to FUNC_ID_ZW_SEND_NODE_INFORMATION - SUCCESS" ); |
| 3919 | state = ControllerState_Completed; |
| 3920 | } |
| 3921 | |
| 3922 | UpdateControllerState( state ); |
| 3923 | } |
| 3924 | |
| 3925 | //----------------------------------------------------------------------------- |
| 3926 | // <Driver::HandleNodeNeighborUpdateRequest> |