MCPcopy Create free account
hub / github.com/OpenZWave/open-zwave / GetNodeDeviceTypeString

Method GetNodeDeviceTypeString

cpp/src/Manager.cpp:1376–1388  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Get the node device type as reported in the Z-Wave+ Info report. -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1374// Get the node device type as reported in the Z-Wave+ Info report.
1375//-----------------------------------------------------------------------------
1376string Manager::GetNodeDeviceTypeString
1377(
1378 uint32 const _homeId,
1379 uint8 const _nodeId
1380)
1381{
1382 if( Driver* driver = GetDriver( _homeId ) )
1383 {
1384 return driver->GetNodeDeviceTypeString( _nodeId );
1385 }
1386
1387 return ""; // unknown
1388}
1389
1390
1391

Callers 1

GetNodeTypeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected