----------------------------------------------------------------------------- Get the node role as a string as reported in the Z-Wave+ Info report. -----------------------------------------------------------------------------
| 5160 | // Get the node role as a string as reported in the Z-Wave+ Info report. |
| 5161 | //----------------------------------------------------------------------------- |
| 5162 | uint8 Driver::GetNodePlusType |
| 5163 | ( |
| 5164 | uint8 const _nodeId |
| 5165 | ) |
| 5166 | { |
| 5167 | LockGuard LG(m_nodeMutex); |
| 5168 | if( Node* node = GetNode( _nodeId ) ) |
| 5169 | { |
| 5170 | return node->GetNodeType(); |
| 5171 | } |
| 5172 | return 0x00; // unknown |
| 5173 | } |
| 5174 | |
| 5175 | //----------------------------------------------------------------------------- |
| 5176 | // <Driver::GetNodePlusTypeString> |
nothing calls this directly
no test coverage detected