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

Method RequestDynamicValues

cpp/src/Node.cpp:2315–2329  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Request an update of all known dynamic values from the device -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

2313// Request an update of all known dynamic values from the device
2314//-----------------------------------------------------------------------------
2315bool Node::RequestDynamicValues
2316(
2317)
2318{
2319 bool res = false;
2320 for( map<uint8,CommandClass*>::const_iterator it = m_commandClassMap.begin(); it != m_commandClassMap.end(); ++it )
2321 {
2322 if( !it->second->IsAfterMark() )
2323 {
2324 res |= it->second->RequestStateForAllInstances( CommandClass::RequestFlag_Dynamic, Driver::MsgQueue_Send );
2325 }
2326 }
2327
2328 return res;
2329}
2330//-----------------------------------------------------------------------------
2331// <Node::RefreshValuesOnWakeup>
2332// Request an update of all known dynamic values from the device

Callers 1

HandleMsgMethod · 0.80

Calls 3

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected