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

Method GetNodeVersion

cpp/src/Manager.cpp:1017–1030  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Get the version number of a node -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1015// Get the version number of a node
1016//-----------------------------------------------------------------------------
1017uint8 Manager::GetNodeVersion
1018(
1019 uint32 const _homeId,
1020 uint8 const _nodeId
1021)
1022{
1023 uint8 version = 0;
1024 if( Driver* driver = GetDriver( _homeId ) )
1025 {
1026 version = driver->GetNodeVersion( _nodeId );
1027 }
1028
1029 return version;
1030}
1031
1032//-----------------------------------------------------------------------------
1033// <Manager::GetNodeSecurity>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected