Device Management Client 3.1.0 General Availability
- Updated to Mbed OS 5.12.1.
- [Linux] Updated Mbed TLS to 2.17.0.
- General optimization on default stack-sizes and TLS configurations for all configurations.
- Dropped the lwIP buffers from 32 KiB to 12 KiB.
- Flash savings from 7 KiB to 20 KiB.
- RAM savings from 7 KiB to 34 KiB.
- Introduced new
configs/wifi_esp8266_minimal.json
which demonstrates the bare minimum needed for full client functionality.- The configuration uses shared event-queue from main thread, instead of using a separate thread for events. This saves 10.5 KiB RAM.
- New application flag
MCC_MINIMAL
disables several features only designed to enhance user experience, and removes other non-critical features. - Disabled Button and LED usage by default.
- Disabled error descriptions.
- Disabled usage of some helper functions like
fcc_verify()
. - Resources generated by the application are disabled on this profile.
- Changed the KVStore and firmware candidate storage to internal flash configuration. This saves 4 KiB RAM and 34 KiB ROM as you don't need to pull in SDDriver or related components.
- Altogether, these optimizations save 43 KiB flash and 31 KiB RAM in respect to the
configs/wifi_esp8266_v4.json
profile. (49 KiB flash and 39 KiB RAM vs. 3.0.0 release version). - Currently, the minimal profile supports only TCP.
- Minimal configuration is optimimal for boards with about 1024 KiB of flash. If you use it with boards with only 512 KiB flash, you need to enable the external storage for a firmware update candidate and KVstore. The following changes would be needed:
- Change the bootloader to the
block_device
variant. - Change the target offsets to match the
block_device
bootloader. - Change the update storage to point to the external storage.
- Change the KVstore configuration to match the external storage configuration.
- See the porting guide for reference.
- Change the bootloader to the
- K66F default configuration now provides the full Client feature. This target enables all the RAM/ROM intensive features by default.
- Enabled certificate enrollment client features.
- Increased the main stack size to reflect higher RAM requirements for features.
- [MbedOS] Stop using
CellularBase()
as it is deprecated in Mbed OS, useCellularInterface()
instead.
Release notes can be found from:
https://cloud.mbed.com/docs/current/release-notes/device-management-client.html