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

Method configDownloaded

cpp/src/ManufacturerSpecificDB.cpp:345–366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343}
344
345void ManufacturerSpecificDB::configDownloaded
346(
347 Driver *driver,
348 string file,
349 uint8 node,
350 bool success
351)
352{
353 /* check if we are downloading already */
354 std::list<string>::iterator iter = std::find (m_downloading.begin(), m_downloading.end(), file);
355 if (iter != m_downloading.end()) {
356 m_downloading.erase(iter);
357 if ((node > 0) && success) {
358 driver->refreshNodeConfig(node);
359 } else {
360 checkInitialized();
361 }
362 } else {
363 Log::Write(LogLevel_Warning, "File is not in the list of downloading files: %s", file.c_str());
364 checkInitialized();
365 }
366}
367
368void ManufacturerSpecificDB::mfsConfigDownloaded
369(

Callers 1

processDownloadMethod · 0.80

Calls 5

WriteFunction · 0.85
refreshNodeConfigMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected