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

Method checkLatestConfigFileRevision

cpp/src/Manager.cpp:5352–5368  ·  view source on GitHub ↗

----------------------------------------------------------------------------- get the latest config file revision -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

5350// get the latest config file revision
5351//-----------------------------------------------------------------------------
5352bool Manager::checkLatestConfigFileRevision
5353(
5354 uint32 const _homeId,
5355 uint8 const _nodeId
5356)
5357{
5358 if (Driver *driver = GetDriver( _homeId ) )
5359 {
5360 LockGuard LG(driver->m_nodeMutex);
5361 Node* node = driver->GetNode( _nodeId );
5362 if( node )
5363 {
5364 return driver->CheckNodeConfigRevision(node);
5365 }
5366 }
5367 return false;
5368}
5369
5370//-----------------------------------------------------------------------------
5371// <Manager::checkLatestMFSRevision>

Callers

nothing calls this directly

Calls 2

GetNodeMethod · 0.80

Tested by

no test coverage detected