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

Method SetNodeLevel

cpp/src/Driver.cpp:5268–5279  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Helper to set the node level through the basic command class -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

5266// Helper to set the node level through the basic command class
5267//-----------------------------------------------------------------------------
5268void Driver::SetNodeLevel
5269(
5270 uint8 const _nodeId,
5271 uint8 const _level
5272)
5273{
5274 LockGuard LG(m_nodeMutex);
5275 if( Node* node = GetNode( _nodeId ) )
5276 {
5277 node->SetLevel( _level );
5278 }
5279}
5280
5281//-----------------------------------------------------------------------------
5282// <Driver::SetNodeOn>

Callers

nothing calls this directly

Calls 1

SetLevelMethod · 0.45

Tested by

no test coverage detected