From 39ca1a2a31af58e3dc271af81339070671b4c55b Mon Sep 17 00:00:00 2001 From: Jenia Kogan Date: Sun, 10 Dec 2023 14:52:48 +0200 Subject: [PATCH] mbed-cloud-client-example 4.13.2 --- CHANGELOG.md | 12 +++++++++--- TESTS/PAL/test.py | 2 +- main.cpp | 2 +- mbed-cloud-client.lib | 2 +- mbed_app.json | 2 +- mbed_app_lwm2m_compliant.json | 2 +- mbed_cloud_client_user_config.h | 2 +- source/pdmc_example.cpp | 2 +- west.yml | 2 +- 9 files changed, 17 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d23188..0734190 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog for Izuma Device Management Client example application +## Release 4.13.2 (10.12.2023) + +- Extend the lifetime from 3 minutes to 2 hours. + Default lifetimes that are too frequent can deplete battery-operated devices. + It needs to be adjusted according to the specific usage scenario of the device. + ## Release 4.13.1 (16.02.2023) - Updated `mbedTLS` from 2.28.1 to 2.28.2 for Linux targets and updated GitHub domain for it (from ArmMbed to Mbed-TLS). @@ -155,7 +161,7 @@ * Defer firmware update installation. * Candidate encryption on external storage. * Mbed OS non-mesh and Linux targets are configured to use the new upgraded Update client. - * Note - if you wish to use legacy Update client in your Mbed OS non mesh target, please refer to the configurations in PDMC exmaple 4.7.1. + * Note - if you wish to use legacy Update client in your Mbed OS non mesh target, please refer to the configurations in PDMC example 4.7.1. * Legacy Update client is still used in Mbed OS mesh targets and SDK's targets (NXP, Renesas). * Upgraded update client bootloaders are located in prebuild-bl folder. Legacy bootloaders are located in tools folder * On K64F, NUCLEO_F411RE, DISCO_L475VG_IOT01A targets, the update candidate is stored encrypted on the external storage encrypted. @@ -350,7 +356,7 @@ No changes. ## Release 3.0.0 (27.03.2019) * Updated to Mbed OS 5.12.0. -* [Mbed OS] Use asyncronous DNS by default for all targets. +* [Mbed OS] Use asynchronous DNS by default for all targets. * [Mbed OS] Preview support for Platform Security Architecture (PSA) enabled boards. * PSA configuration for PSA-enabled Cypress PSoC6 and NXP LPC55S69 boards. Configuration is in the `configs-psa/` folder. * Both PSA-enabled boards use ESP8266 Wi-Fi. @@ -414,7 +420,7 @@ No changes. * The example uses Mbed OS bootloader binaries and the new Mbed OS feature `FEATURE_BOOTLOADER`. This feature makes the `combine_bootloader_with_app.py` script obsolete. We have removed the obsolete script and old bootloader binaries from the application repository. * The bootloader is now automatically combined with the application binary at compile time: * `mbed-cloud-client-example.bin` is the binary you need to flash on the development board. - * You can use `mbed-cloud-client-example_update.bin` for the firmware update as long as the prequisites for firmware update are fullfilled. (See the application tutorial). + * You can use `mbed-cloud-client-example_update.bin` for the firmware update as long as the prequisites for firmware update are fulfilled. (See the application tutorial). * Removed the legacy configuration file `configs/eth_v4_legacy.json` that was used for Mbed Cloud Client 1.2.6. * Removed the `.autostart` configurations used by the online compiler. * Enabled serial buffer in all `.json` files. diff --git a/TESTS/PAL/test.py b/TESTS/PAL/test.py index 6c19cce..97f4680 100755 --- a/TESTS/PAL/test.py +++ b/TESTS/PAL/test.py @@ -95,7 +95,7 @@ def find_mbed_pal_tests(self, path): except KeyError: self.logger.error( "Cannot find \"bin_fullpath\" from " - "build_data.json, did build complete succesfully?") + "build_data.json, did build complete successfully?") exit(-1) else: bin_fullpath = os.path.normpath(value) diff --git a/main.cpp b/main.cpp index 518f5df..a310d3d 100755 --- a/main.cpp +++ b/main.cpp @@ -195,7 +195,7 @@ void main_application(void) #if defined MBED_CONF_MBED_CLOUD_CLIENT_NETWORK_MANAGER &&\ (MBED_CONF_MBED_CLOUD_CLIENT_NETWORK_MANAGER == 1) - // Wait untill client is registered. + // Wait until client is registered. while (pdmc_registered() == false) { mcc_platform_do_wait(100); } diff --git a/mbed-cloud-client.lib b/mbed-cloud-client.lib index 72e4e2c..56fad7f 100644 --- a/mbed-cloud-client.lib +++ b/mbed-cloud-client.lib @@ -1 +1 @@ -https://github.com/PelionIoT/mbed-cloud-client/#cdacedb38db21eec59684af3e23556a69e6d1317 +https://github.com/PelionIoT/mbed-cloud-client/#660b30701cc27a412d9e7ec88b885b3caaff3dd2 diff --git a/mbed_app.json b/mbed_app.json index fce9e55..f0d7a5b 100644 --- a/mbed_app.json +++ b/mbed_app.json @@ -129,7 +129,7 @@ "value" : null }, "enable-ds-custom-metrics-example": { - "help" : "Enable Device Sentry custom metrics example applicaton", + "help" : "Enable Device Sentry custom metrics example application", "options" : [null, 1], "value" : null } diff --git a/mbed_app_lwm2m_compliant.json b/mbed_app_lwm2m_compliant.json index d81dffe..49335f5 100644 --- a/mbed_app_lwm2m_compliant.json +++ b/mbed_app_lwm2m_compliant.json @@ -111,7 +111,7 @@ "value" : null }, "enable-ds-custom-metrics-example": { - "help" : "Enable Device Sentry custom metrics example applicaton", + "help" : "Enable Device Sentry custom metrics example application", "options" : [null, 1], "value" : null } diff --git a/mbed_cloud_client_user_config.h b/mbed_cloud_client_user_config.h index 2fbbdc2..35d3945 100644 --- a/mbed_cloud_client_user_config.h +++ b/mbed_cloud_client_user_config.h @@ -24,7 +24,7 @@ #define MBED_CLOUD_CLIENT_ENDPOINT_TYPE "default" #endif -#define MBED_CLOUD_CLIENT_LIFETIME (3*60) +#define MBED_CLOUD_CLIENT_LIFETIME (2*60*60) // Option to migrate the bootstrap server to another URI. // You must specify both, activate feature via diff --git a/source/pdmc_example.cpp b/source/pdmc_example.cpp index 4f19b61..35a961c 100644 --- a/source/pdmc_example.cpp +++ b/source/pdmc_example.cpp @@ -138,7 +138,7 @@ bool pdmc_connect() /* Set callback functions for authorizing updates and monitoring progress. Code is implemented in update_ui_example.cpp Both callbacks are completely optional. If no authorization callback - is set, the update process will procede immediately in each step. + is set, the update process will proceed immediately in each step. */ update_ui_set_cloud_client(&pdmc_client); pdmc_client.set_update_authorize_priority_handler(update_authorize_priority_handler); diff --git a/west.yml b/west.yml index f905143..46d380e 100644 --- a/west.yml +++ b/west.yml @@ -10,7 +10,7 @@ manifest: - name: izuma-dm repo-path: mbed-cloud-client remote: PelionIoT - revision: cdacedb38db21eec59684af3e23556a69e6d1317 + revision: 660b30701cc27a412d9e7ec88b885b3caaff3dd2 path: modules/lib/izuma-dm - name: zephyr remote: zephyrproject-rtos