----------------------------------------------------------------------------- Get a string describing the type of a node -----------------------------------------------------------------------------
| 1132 | // Get a string describing the type of a node |
| 1133 | //----------------------------------------------------------------------------- |
| 1134 | string Manager::GetNodeType |
| 1135 | ( |
| 1136 | uint32 const _homeId, |
| 1137 | uint8 const _nodeId |
| 1138 | ) |
| 1139 | { |
| 1140 | if( Driver* driver = GetDriver( _homeId ) ) |
| 1141 | { |
| 1142 | if (driver->IsNodeZWavePlus(_nodeId)) |
| 1143 | return driver->GetNodeDeviceTypeString(_nodeId); |
| 1144 | else |
| 1145 | return driver->GetNodeType( _nodeId ); |
| 1146 | } |
| 1147 | |
| 1148 | return "Unknown"; |
| 1149 | } |
| 1150 | |
| 1151 | //----------------------------------------------------------------------------- |
| 1152 | // <Manager::GetNodeNeighbors> |
nothing calls this directly
no test coverage detected