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

Method GetNodePlusTypeString

cpp/src/Driver.cpp:5179–5190  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Get the node role as a string as reported in the Z-Wave+ Info report. -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

5177// Get the node role as a string as reported in the Z-Wave+ Info report.
5178//-----------------------------------------------------------------------------
5179string Driver::GetNodePlusTypeString
5180(
5181 uint8 const _nodeId
5182)
5183{
5184 LockGuard LG(m_nodeMutex);
5185 if( Node* node = GetNode( _nodeId ) )
5186 {
5187 return node->GetNodeTypeString();
5188 }
5189 return ""; // unknown
5190}
5191
5192
5193

Callers

nothing calls this directly

Calls 1

GetNodeTypeStringMethod · 0.80

Tested by

no test coverage detected