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

Method GetNodeName

cpp/src/Manager.cpp:1210–1222  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Get the user-editable name of a node -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1208// Get the user-editable name of a node
1209//-----------------------------------------------------------------------------
1210string Manager::GetNodeName
1211(
1212 uint32 const _homeId,
1213 uint8 const _nodeId
1214)
1215{
1216 if( Driver* driver = GetDriver( _homeId ) )
1217 {
1218 return driver->GetNodeName( _nodeId );
1219 }
1220
1221 return "Unknown";
1222}
1223
1224//-----------------------------------------------------------------------------
1225// <Manager::GetNodeLocation>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected