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

Method GetNodeDeviceType

cpp/src/Manager.cpp:1358–1370  ·  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

1356// Get the node device type as reported in the Z-Wave+ Info report.
1357//-----------------------------------------------------------------------------
1358uint16 Manager::GetNodeDeviceType
1359(
1360 uint32 const _homeId,
1361 uint8 const _nodeId
1362)
1363{
1364 if( Driver* driver = GetDriver( _homeId ) )
1365 {
1366 return driver->GetNodeDeviceType( _nodeId );
1367 }
1368
1369 return 0x00; // unknown
1370}
1371
1372//-----------------------------------------------------------------------------
1373// <Manager::GetNodeDeviceType>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected