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

Method downloadLatestConfigFileRevision

cpp/src/Manager.cpp:5390–5406  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Download the latest Config File Revision for a node. -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

5388// Download the latest Config File Revision for a node.
5389//-----------------------------------------------------------------------------
5390bool Manager::downloadLatestConfigFileRevision
5391(
5392 uint32 const _homeId,
5393 uint8 const _nodeId
5394)
5395{
5396 if (Driver *driver = GetDriver( _homeId ) )
5397 {
5398 LockGuard LG(driver->m_nodeMutex);
5399 Node* node = driver->GetNode( _nodeId );
5400 if( node )
5401 {
5402 return driver->downloadConfigRevision(node);
5403 }
5404 }
5405 return false;
5406}
5407
5408//-----------------------------------------------------------------------------
5409// <Manager::downloadLatestMFSRevision>

Callers

nothing calls this directly

Calls 2

GetNodeMethod · 0.80

Tested by

no test coverage detected