----------------------------------------------------------------------------- Process a response from the Z-Wave PC interface -----------------------------------------------------------------------------
| 2984 | // Process a response from the Z-Wave PC interface |
| 2985 | //----------------------------------------------------------------------------- |
| 2986 | bool Driver::HandleDeleteReturnRouteResponse |
| 2987 | ( |
| 2988 | uint8* _data |
| 2989 | ) |
| 2990 | { |
| 2991 | bool res = true; |
| 2992 | ControllerState state = ControllerState_InProgress; |
| 2993 | if( _data[2] ) |
| 2994 | { |
| 2995 | Log::Write( LogLevel_Info, GetNodeNumber( m_currentMsg ), "Received reply to FUNC_ID_ZW_DELETE_RETURN_ROUTE - command in progress" ); |
| 2996 | } |
| 2997 | else |
| 2998 | { |
| 2999 | // Failed |
| 3000 | Log::Write( LogLevel_Warning, GetNodeNumber( m_currentMsg ), "WARNING: Received reply to FUNC_ID_ZW_DELETE_RETURN_ROUTE - command failed" ); |
| 3001 | state = ControllerState_Failed; |
| 3002 | res = false; |
| 3003 | } |
| 3004 | |
| 3005 | UpdateControllerState( state ); |
| 3006 | return res; |
| 3007 | } |
| 3008 | |
| 3009 | //----------------------------------------------------------------------------- |
| 3010 | // <Driver::HandleRemoveFailedNodeResponse> |