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

Method GetNodeProductName

cpp/src/Manager.cpp:1192–1204  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Get the product name of a node -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1190// Get the product name of a node
1191//-----------------------------------------------------------------------------
1192string Manager::GetNodeProductName
1193(
1194 uint32 const _homeId,
1195 uint8 const _nodeId
1196)
1197{
1198 if( Driver* driver = GetDriver( _homeId ) )
1199 {
1200 return driver->GetNodeProductName( _nodeId );
1201 }
1202
1203 return "Unknown";
1204}
1205
1206//-----------------------------------------------------------------------------
1207// <Manager::GetNodeName>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected