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

Method GetNodeLocation

cpp/src/Manager.cpp:1228–1240  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Get the location of a node -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1226// Get the location of a node
1227//-----------------------------------------------------------------------------
1228string Manager::GetNodeLocation
1229(
1230 uint32 const _homeId,
1231 uint8 const _nodeId
1232)
1233{
1234 if( Driver* driver = GetDriver( _homeId ) )
1235 {
1236 return driver->GetNodeLocation( _nodeId );
1237 }
1238
1239 return "Unknown";
1240}
1241
1242//-----------------------------------------------------------------------------
1243// <Manager::SetNodeManufacturerName>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected