Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbedConnectorInterfaceV3 by
Diff: source/DeviceManager.cpp
- Revision:
- 39:1eb0ca52af16
- Parent:
- 30:db367366b1f5
- Child:
- 42:d30ad7dec269
diff -r bb6d2be4d54c -r 1eb0ca52af16 source/DeviceManager.cpp
--- a/source/DeviceManager.cpp Tue Jun 14 20:18:30 2016 +0000
+++ b/source/DeviceManager.cpp Tue Jun 14 20:23:12 2016 +0000
@@ -264,7 +264,7 @@
this->saveManifest(res->value(),res->value_length());
// DEBUG
- this->m_logger->log("DeviceManager::process(PUT): Setting FOTA Manifest: [%s]",this->m_fw_manifest);
+ this->m_logger->log("DeviceManager::process(PUT): Setting FOTA Manifest: [%s] type: %d",this->m_fw_manifest,type);
// Manifest Updated
dmr->setFOTAManifest(this->m_fw_manifest);
@@ -276,7 +276,7 @@
M2MResource *res = this->getFirmwareResource(PackageURI);
// DEBUG
- this->m_logger->log("DeviceManager::process(PUT): Setting FOTA Image. Length=%d",res->value_length());
+ this->m_logger->log("DeviceManager::process(PUT): Setting FOTA Image. Length=%d type: %d",res->value_length(),type);
// FOTA Image updated
dmr->setFOTAImage(res->value(),res->value_length());
