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

Method GetNodeVersion

cpp/src/Driver.cpp:4804–4817  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

4802// Get the version number of a node
4803//-----------------------------------------------------------------------------
4804uint8 Driver::GetNodeVersion
4805(
4806 uint8 const _nodeId
4807)
4808{
4809 uint8 version = 0;
4810 LockGuard LG(m_nodeMutex);
4811 if( Node* node = GetNode( _nodeId ) )
4812 {
4813 version = node->GetVersion();
4814 }
4815
4816 return version;
4817}
4818
4819//-----------------------------------------------------------------------------
4820// <Driver::GetNodeSecurity>

Callers

nothing calls this directly

Calls 1

GetVersionMethod · 0.45

Tested by

no test coverage detected