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

Method GetNodeRoleString

cpp/src/Manager.cpp:1414–1426  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1412// Get the node role as reported in the Z-Wave+ Info report.
1413//-----------------------------------------------------------------------------
1414string Manager::GetNodeRoleString
1415(
1416 uint32 const _homeId,
1417 uint8 const _nodeId
1418)
1419{
1420 if( Driver* driver = GetDriver( _homeId ) )
1421 {
1422 return driver->GetNodeRoleString( _nodeId );
1423 }
1424
1425 return ""; // unknown
1426}
1427
1428
1429uint8 Manager::GetNodePlusType

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected