Skip to content

Commit

Permalink
Merge pull request #54 from ARMmbed/release-4.1.0
Browse files Browse the repository at this point in the history
mbed-cloud-client-example 4.1.0
  • Loading branch information
teetak01 authored Nov 28, 2019
2 parents d3c2235 + e59b739 commit ca54481
Show file tree
Hide file tree
Showing 38 changed files with 136 additions and 2,542 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog for Pelion Device Management Client example application

## Release 4.1.0 (28.11.2019)

* [Mbed OS] Replaced `X-Nucleo IDW01M1` with the `ESP8266` Wi-Fi module in `mbed_app.json`.
* Added reset pin for the ESP Wi-Fi module on the `Nucleo F411RE` configuration.
* Added flow control and reset pins for the ESP Wi-Fi module on the `LPC55S69` configuration.
* Updated bootloaders to v4.1.0. `LPC55S69_NS` bootloader is retained in v4.0.1.
* [Mbed OS] Optimized `Wi-SUN` configuration for 100-node networks.
* Increased application default lifetime to 24 hours (`mbed_cloud_client_user_config.h`).
* Updated to Mbed OS 5.14.2.

## Release 4.0.0 (25.09.2019)

* Updated to Mbed OS 5.14.0.
Expand Down
8 changes: 6 additions & 2 deletions TESTS/E2E/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,16 @@ If you have prepared a manifest (see below the instructions for `device_update`
icetea --suite full_tests.json --suitedir TESTS/E2E/ --tcdir ./TESTS/E2E/ --tc_cfg TESTS/E2E/pelion.tc_cfg
```

### Running a single test
### Running part of the tests

To run a single test, use the following command:

```
icetea --tc basic_get --tcdir ./TESTS/E2E/ --tc_cfg TESTS/E2E/pelion.tc_cfg
icetea --tc get --tcdir ./TESTS/E2E/ --tc_cfg TESTS/E2E/pelion.tc_cfg
```
Testing connect-only testcases without bringing the device offline:
```
icetea --tc register,get,put,post,observation --tcdir ./TESTS/E2E/ --tc_cfg TESTS/E2E/pelion.tc_cfg
```

## Current tests
Expand Down
4 changes: 2 additions & 2 deletions configs-psa/eth_v4.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"K64F": {
"target.network-default-interface-type" : "ETHERNET",
"target.bootloader_img" : "tools/mbed-bootloader-k64f-block_device-kvstore-v4.0.0.bin",
"target.bootloader_img" : "tools/mbed-bootloader-k64f-block_device-kvstore-v4.1.0.bin",
"target.header_offset" : "0xa000",
"target.app_offset" : "0xa400",
"target.components_add" : ["SD"],
Expand All @@ -39,7 +39,7 @@
},
"K66F": {
"target.network-default-interface-type" : "ETHERNET",
"target.bootloader_img" : "tools/mbed-bootloader-k66f-internal_flash-no_rot-v4.0.0.bin",
"target.bootloader_img" : "tools/mbed-bootloader-k66f-internal_flash-no_rot-v4.1.0.bin",
"target.header_offset" : "0x8000",
"target.app_offset" : "0x8400",
"rtos.main-thread-stack-size" : 8192,
Expand Down
9 changes: 7 additions & 2 deletions configs-psa/wifi.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@
"sd.SPI_MOSI" : "D11",
"sd.SPI_MISO" : "D12",
"sd.SPI_CLK" : "D13",
"esp8266.rx" : "D0",
"esp8266.tx" : "D1",
"esp8266.rst" : "D2",
"esp8266.rts" : "P1_27",
"esp8266.cts" : "P1_26",
"esp8266.provide-default" : true,
"storage_filesystem.internal_base_address" : "0x94000",
"storage_filesystem.rbp_internal_size" : "(15*1024)",
Expand All @@ -55,7 +60,7 @@
"target.macros_add" : ["DISABLE_ERROR_DESCRIPTION", "MBEDTLS_ENTROPY_NV_SEED"],
"mbed-cloud-client.disable-certificate-enrollment": 1,
"target.network-default-interface-type" : "WIFI",
"target.bootloader_img" : "tools/mbed-bootloader-nucleo_f411re-block_device-kvstore-v4.0.0.bin",
"target.bootloader_img" : "tools/mbed-bootloader-nucleo_f411re-block_device-kvstore-v4.1.0.bin",
"target.header_offset" : "0x10000",
"target.app_offset" : "0x10400",
"target.components_add" : ["SD", "WIFI_IDW01M1"],
Expand All @@ -78,7 +83,7 @@
"sd.SPI_CS" : "PB_9",
"esp8266.rx" : "PB_7",
"esp8266.tx" : "PA_15",
"esp8266.rst" : null,
"esp8266.rst" : "PA_7",
"esp8266.rts" : "PA_12",
"esp8266.cts" : "PA_11",
"esp8266.provide-default" : true
Expand Down
8 changes: 4 additions & 4 deletions configs/eth_v4.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"K64F": {
"target.network-default-interface-type" : "ETHERNET",
"target.bootloader_img" : "tools/mbed-bootloader-k64f-block_device-kvstore-v4.0.0.bin",
"target.bootloader_img" : "tools/mbed-bootloader-k64f-block_device-kvstore-v4.1.0.bin",
"target.header_offset" : "0xa000",
"target.app_offset" : "0xa400",
"target.components_add" : ["SD"],
Expand All @@ -41,7 +41,7 @@
},
"K66F": {
"target.network-default-interface-type" : "ETHERNET",
"target.bootloader_img" : "tools/mbed-bootloader-k66f-internal_flash-no_rot-v4.0.0.bin",
"target.bootloader_img" : "tools/mbed-bootloader-k66f-internal_flash-no_rot-v4.1.0.bin",
"target.header_offset" : "0x8000",
"target.app_offset" : "0x8400",
"rtos.main-thread-stack-size" : 8192,
Expand All @@ -58,7 +58,7 @@
},
"NUCLEO_F429ZI": {
"target.network-default-interface-type" : "ETHERNET",
"target.bootloader_img" : "tools/mbed-bootloader-nucleo_f429zi-internal_flash-no_rot-v4.0.0.bin",
"target.bootloader_img" : "tools/mbed-bootloader-nucleo_f429zi-internal_flash-no_rot-v4.1.0.bin",
"target.header_offset" : "0x8000",
"target.app_offset" : "0x8400",
"update-client.bootloader-details" : "0x080078CC",
Expand All @@ -73,7 +73,7 @@
},
"UBLOX_EVK_ODIN_W2": {
"target.network-default-interface-type" : "ETHERNET",
"target.bootloader_img" : "tools/mbed-bootloader-ublox_evk_odin_w2-block_device-kvstore-v4.0.0.bin",
"target.bootloader_img" : "tools/mbed-bootloader-ublox_evk_odin_w2-block_device-kvstore-v4.1.0.bin",
"target.header_offset" : "0x10000",
"target.app_offset" : "0x10400",
"target.components_add" : ["SD"],
Expand Down
8 changes: 4 additions & 4 deletions configs/eth_v6.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"K64F": {
"target.network-default-interface-type" : "ETHERNET",
"target.bootloader_img" : "tools/mbed-bootloader-k64f-block_device-kvstore-v4.0.0.bin",
"target.bootloader_img" : "tools/mbed-bootloader-k64f-block_device-kvstore-v4.1.0.bin",
"target.header_offset" : "0xa000",
"target.app_offset" : "0xa400",
"target.components_add" : ["SD"],
Expand All @@ -43,7 +43,7 @@
},
"K66F": {
"target.network-default-interface-type" : "ETHERNET",
"target.bootloader_img" : "tools/mbed-bootloader-k66f-internal_flash-no_rot-v4.0.0.bin",
"target.bootloader_img" : "tools/mbed-bootloader-k66f-internal_flash-no_rot-v4.1.0.bin",
"target.header_offset" : "0x8000",
"target.app_offset" : "0x8400",
"rtos.main-thread-stack-size" : 8192,
Expand All @@ -60,7 +60,7 @@
},
"NUCLEO_F429ZI": {
"target.network-default-interface-type" : "ETHERNET",
"target.bootloader_img" : "tools/mbed-bootloader-nucleo_f429zi-internal_flash-no_rot-v4.0.0.bin",
"target.bootloader_img" : "tools/mbed-bootloader-nucleo_f429zi-internal_flash-no_rot-v4.1.0.bin",
"target.header_offset" : "0x8000",
"target.app_offset" : "0x8400",
"update-client.bootloader-details" : "0x080078CC",
Expand All @@ -75,7 +75,7 @@
},
"UBLOX_EVK_ODIN_W2": {
"target.network-default-interface-type" : "ETHERNET",
"target.bootloader_img" : "tools/mbed-bootloader-ublox_evk_odin_w2-block_device-kvstore-v4.0.0.bin",
"target.bootloader_img" : "tools/mbed-bootloader-ublox_evk_odin_w2-block_device-kvstore-v4.1.0.bin",
"target.header_offset" : "0x10000",
"target.app_offset" : "0x10400",
"target.components_add" : ["SD"],
Expand Down
2 changes: 1 addition & 1 deletion configs/mesh_6lowpan.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"K64F": {
"target.network-default-interface-type" : "MESH",
"target.bootloader_img" : "tools/mbed-bootloader-k64f-block_device-kvstore-v4.0.0.bin",
"target.bootloader_img" : "tools/mbed-bootloader-k64f-block_device-kvstore-v4.1.0.bin",
"target.header_offset" : "0xa000",
"target.app_offset" : "0xa400",
"target.components_add" : ["SD"],
Expand Down
2 changes: 1 addition & 1 deletion configs/mesh_thread.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"K64F": {
"target.network-default-interface-type" : "MESH",
"target.bootloader_img" : "tools/mbed-bootloader-k64f-block_device-kvstore-v4.0.0.bin",
"target.bootloader_img" : "tools/mbed-bootloader-k64f-block_device-kvstore-v4.1.0.bin",
"target.header_offset" : "0xa000",
"target.app_offset" : "0xa400",
"target.components_add" : ["SD"],
Expand Down
11 changes: 8 additions & 3 deletions configs/mesh_wisun.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,17 @@
"rtos.main-thread-stack-size" : 5120,
"mbed-client.reconnection-count" : 6,
"mbed-client.sn-coap-blockwise-max-time-data-stored": 300,
"client_app.pal_dtls_peer_min_timeout" : "10000",
"client_app.startup_max_random_delay" : 200,
"client_app.pal_dtls_peer_min_timeout" : "60000",
"mbed-client.dtls_peer_max_timeout" : "600000",
"nanostack-hal.event_loop_thread_stack_size": 8192,
"update-client.storage-locations" : 1,
"mbed-trace.enable" : null,
"mbed-mesh-api.wisun-bc-interval" : "1000",
"mbed-mesh-api.wisun-bc-dwell-interval" : "200",
"mbed-mesh-api.wisun-uc-dwell-interval" : "150",
"mbed-mesh-api.wisun-regulatory-domain" : "3",
"mbed-mesh-api.wisun-operating-class" : "2",
"mbed-mesh-api.wisun-operating-mode" : "3",
"mbed-mesh-api.wisun-network-name" : "\"Wi-SUN Network\"",
"mbed-mesh-api.heap-size" : 32768,
"mbed-mesh-api.6lowpan-nd-panid-filter" : "0xFFFF",
Expand All @@ -33,14 +35,17 @@
"mbed-mesh-api.own-certificate" : "WISUN_CLIENT_CERTIFICATE",
"mbed-mesh-api.own-certificate-key" : "WISUN_CLIENT_KEY",
"nsapi.default-mesh-type" : "WISUN",
"nsapi.dns-response-wait-time" : 100000,
"nsapi.dns-total-attempts" : 3,
"nsapi.dns-retries" : 3,
"nanostack.configuration" : "ws_router",
"s2lp.provide-default" : true,
"target.device_has_add" : ["802_15_4_PHY"]
},
"NUCLEO_F429ZI": {
"client_app.mbedtls-user-config-file" : "\"configs/wisun_mbedTLSConfig_mbedOS.h\"",
"target.network-default-interface-type" : "MESH",
"target.bootloader_img" : "tools/mbed-bootloader-nucleo_f429zi-internal_flash-no_rot-v4.0.0.bin",
"target.bootloader_img" : "tools/mbed-bootloader-nucleo_f429zi-internal_flash-no_rot-v4.1.0.bin",
"target.header_offset" : "0x8000",
"target.app_offset" : "0x8400",
"update-client.bootloader-details" : "0x080078CC",
Expand Down
18 changes: 9 additions & 9 deletions configs/wifi.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"K64F": {
"target.network-default-interface-type" : "WIFI",
"target.bootloader_img" : "tools/mbed-bootloader-k64f-block_device-kvstore-v4.0.0.bin",
"target.bootloader_img" : "tools/mbed-bootloader-k64f-block_device-kvstore-v4.1.0.bin",
"target.header_offset" : "0xa000",
"target.app_offset" : "0xa400",
"target.components_add" : ["SD"],
Expand All @@ -41,15 +41,15 @@
"esp8266.rst" : "D8",
"esp8266.rts" : "PTC1",
"esp8266.cts" : "PTC2",
"esp8266.provide-default" : true
"esp8266.provide-default" : true
},
"NUCLEO_F411RE": {
"client_app.mbedtls-user-config-file" : "\"mbedTLSConfig_mbedOS_SW_TRNG_PSA.h\"",
"client_app.pal-user-defined-configuration" : "\"pal_config_non_trng_MbedOS.h\"",
"target.extra_labels_add" : ["PSA"],
"target.macros_add" : ["DISABLE_ERROR_DESCRIPTION", "MBEDTLS_ENTROPY_NV_SEED"],
"target.network-default-interface-type" : "WIFI",
"target.bootloader_img" : "tools/mbed-bootloader-nucleo_f411re-block_device-kvstore-v4.0.0.bin",
"target.bootloader_img" : "tools/mbed-bootloader-nucleo_f411re-block_device-kvstore-v4.1.0.bin",
"target.header_offset" : "0x10000",
"target.app_offset" : "0x10400",
"target.components_add" : ["SD"],
Expand All @@ -59,7 +59,7 @@
"update-client.storage-size" : "((MBED_ROM_START + MBED_ROM_SIZE - APPLICATION_ADDR) * MBED_CONF_UPDATE_CLIENT_STORAGE_LOCATIONS)",
"mbed-cloud-client.update-storage" : "ARM_UCP_FLASHIAP_BLOCKDEVICE",
"storage_filesystem.internal_base_address" : "(MBED_ROM_START + MBED_BOOTLOADER_SIZE)",
"storage_filesystem.rbp_internal_size" : "(32*1024)",
"storage_filesystem.rbp_internal_size" : "(32*1024)",
"storage_filesystem.external_base_address" : "(0x0)",
"storage_filesystem.external_size" : "(1024*1024*64)",
"storage.storage_type" : "FILESYSTEM",
Expand All @@ -72,14 +72,14 @@
"sd.SPI_CS" : "PB_9",
"esp8266.rx" : "PB_7",
"esp8266.tx" : "PA_15",
"esp8266.rst" : null,
"esp8266.rst" : "PA_7",
"esp8266.rts" : "PA_12",
"esp8266.cts" : "PA_11",
"esp8266.provide-default" : true
"esp8266.provide-default" : true
},
"UBLOX_EVK_ODIN_W2": {
"target.network-default-interface-type" : "WIFI",
"target.bootloader_img" : "tools/mbed-bootloader-ublox_evk_odin_w2-block_device-kvstore-v4.0.0.bin",
"target.bootloader_img" : "tools/mbed-bootloader-ublox_evk_odin_w2-block_device-kvstore-v4.1.0.bin",
"target.header_offset" : "0x10000",
"target.app_offset" : "0x10400",
"target.components_add" : ["SD"],
Expand All @@ -100,11 +100,11 @@
},
"DISCO_L475VG_IOT01A": {
"target.network-default-interface-type" : "WIFI",
"target.bootloader_img" : "tools/mbed-bootloader-disco_l475vg_iot01a-internal_qspif-kvstore.bin",
"target.bootloader_img" : "tools/mbed-bootloader-disco_l475vg_iot01a-internal_qspif-kvstore-v4.1.0.bin",
"target.header_offset" : "0x11000",
"target.app_offset" : "0x11400",
"target.components_add" : ["QSPIF", "WIFI_ISM43362"],
"bootloader-size" : "(36*1024)",
"bootloader-size" : "(36*1024)",
"ism43362.read-thread-stack-size" : 1024,
"led-pinname" : "LED1",
"mbed-client.sn-coap-max-blockwise-payload-size" : 256,
Expand Down
4 changes: 2 additions & 2 deletions configs/wifi_esp8266_minimal.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"K64F": {
"target.network-default-interface-type" : "WIFI",
"target.bootloader_img" : "tools/mbed-bootloader-k64f-internal_flash-no_rot-v4.0.1.bin",
"target.bootloader_img" : "tools/mbed-bootloader-k64f-internal_flash-no_rot-v4.1.0.bin",
"target.header_offset" : "0x8000",
"target.app_offset" : "0x8400",
"target.restrict_size" : "0x74000",
Expand All @@ -48,7 +48,7 @@
"update-client.storage-page" : 8,
"mbed-cloud-client.update-storage" : "ARM_UCP_FLASHIAP",
"storage_tdb_internal.internal_base_address": "(512*1024)",
"storage_tdb_internal.internal_size" : "(48*1024)",
"storage_tdb_internal.internal_size" : "(32*1024)",
"storage.storage_type" : "TDB_INTERNAL"
}
},
Expand Down
Loading

0 comments on commit ca54481

Please sign in to comment.