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

Method GetNodeGeneric

cpp/src/Manager.cpp:1096–1109  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Get the generic type of a node -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1094// Get the generic type of a node
1095//-----------------------------------------------------------------------------
1096uint8 Manager::GetNodeGeneric
1097(
1098 uint32 const _homeId,
1099 uint8 const _nodeId
1100)
1101{
1102 uint8 genericType = 0;
1103 if( Driver* driver = GetDriver( _homeId ) )
1104 {
1105 genericType = driver->GetNodeGeneric( _nodeId );
1106 }
1107
1108 return genericType;
1109}
1110
1111//-----------------------------------------------------------------------------
1112// <Manager::GetNodeSpecific>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected