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

Method GetNodeSecurity

cpp/src/Driver.cpp:4823–4836  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Get the security byte of a node -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

4821// Get the security byte of a node
4822//-----------------------------------------------------------------------------
4823uint8 Driver::GetNodeSecurity
4824(
4825 uint8 const _nodeId
4826)
4827{
4828 uint8 security = 0;
4829 LockGuard LG(m_nodeMutex);
4830 if( Node* node = GetNode( _nodeId ) )
4831 {
4832 security = node->GetSecurity();
4833 }
4834
4835 return security;
4836}
4837
4838//-----------------------------------------------------------------------------
4839// <Driver::GetNodeBasic>

Callers

nothing calls this directly

Calls 1

GetSecurityMethod · 0.80

Tested by

no test coverage detected