diff --git a/CHANGELOG.md b/CHANGELOG.md index 33e9ff1..1d05251 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## Changelog for Pelion Device Management Client Lite +### Release 1.1.1-lite (05.06.2020) + +Client Lite 1.1.0 sends an additional component update object (/14) as part of its registration message even though the client does not support it yet. The update service has changed recently to handle the client differently, so there is no backward compatibility. Client Lite 1.1.0 cannot successfully update firmware. As part of this patch release, component update is behind a feature flag that is disabled in Client Lite release. + ### Release 1.1.0-lite (20.05.2020) * Add support for using `baremetal` mbedTLS version in mbedOS builds, instead of default mbedTLS, which comes with mbedOS.To use it, there is a script available under diff --git a/fota/fota_source.c b/fota/fota_source.c index c0feb5b..271f7e5 100644 --- a/fota/fota_source.c +++ b/fota/fota_source.c @@ -323,6 +323,7 @@ int fota_source_init( int fota_source_add_component(unsigned int comp_id, const char *name, const char *sem_ver) { +#if !FOTA_SOURCE_COMPONENT_BACKWARD_COMPATIBILITY_MODE registry_path_t path; // Create Component Identity resource /14//0 @@ -342,7 +343,7 @@ int fota_source_add_component(unsigned int comp_id, const char *name, const char REGISTRY_STATUS_OK != registry_set_resource_value_to_reg_msg(registry, &path, true)) { return FOTA_STATUS_INTERNAL_ERROR; } - +#endif return FOTA_STATUS_SUCCESS; } diff --git a/mbed-client/source/lwm2m_endpoint.c b/mbed-client/source/lwm2m_endpoint.c index 821d851..b0af989 100644 --- a/mbed-client/source/lwm2m_endpoint.c +++ b/mbed-client/source/lwm2m_endpoint.c @@ -41,7 +41,7 @@ #define TRACE_GROUP "lwEP" -static const char MCC_VERSION[] = "mccv=1.1.0-lite"; +static const char MCC_VERSION[] = "mccv=1.1.1-lite"; static const char ep_name_parameter[] = "ep="; /* Endpoint name. A unique name for the registering node in a domain. */ static const uint8_t resource_path[] = {'r', 'd'}; /* For resource directory */