----------------------------------------------------------------------------- Get the node device type as reported in the Z-Wave+ Info report. -----------------------------------------------------------------------------
| 5084 | // Get the node device type as reported in the Z-Wave+ Info report. |
| 5085 | //----------------------------------------------------------------------------- |
| 5086 | uint16 Driver::GetNodeDeviceType |
| 5087 | ( |
| 5088 | uint8 const _nodeId |
| 5089 | ) |
| 5090 | { |
| 5091 | LockGuard LG(m_nodeMutex); |
| 5092 | if( Node* node = GetNode( _nodeId ) ) |
| 5093 | { |
| 5094 | return node->GetDeviceType(); |
| 5095 | } |
| 5096 | |
| 5097 | return 0x00; // unknown |
| 5098 | } |
| 5099 | |
| 5100 | //----------------------------------------------------------------------------- |
| 5101 | // <Driver::GetNodeDeviceTypeString> |
nothing calls this directly
no test coverage detected