Skip to content

Commit ca54481

Browse files
authored
Merge pull request #54 from ARMmbed/release-4.1.0
mbed-cloud-client-example 4.1.0
2 parents d3c2235 + e59b739 commit ca54481

File tree

38 files changed

+136
-2542
lines changed

38 files changed

+136
-2542
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog for Pelion Device Management Client example application
22

3+
## Release 4.1.0 (28.11.2019)
4+
5+
* [Mbed OS] Replaced `X-Nucleo IDW01M1` with the `ESP8266` Wi-Fi module in `mbed_app.json`.
6+
* Added reset pin for the ESP Wi-Fi module on the `Nucleo F411RE` configuration.
7+
* Added flow control and reset pins for the ESP Wi-Fi module on the `LPC55S69` configuration.
8+
* Updated bootloaders to v4.1.0. `LPC55S69_NS` bootloader is retained in v4.0.1.
9+
* [Mbed OS] Optimized `Wi-SUN` configuration for 100-node networks.
10+
* Increased application default lifetime to 24 hours (`mbed_cloud_client_user_config.h`).
11+
* Updated to Mbed OS 5.14.2.
12+
313
## Release 4.0.0 (25.09.2019)
414

515
* Updated to Mbed OS 5.14.0.

TESTS/E2E/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,16 @@ If you have prepared a manifest (see below the instructions for `device_update`
3737
icetea --suite full_tests.json --suitedir TESTS/E2E/ --tcdir ./TESTS/E2E/ --tc_cfg TESTS/E2E/pelion.tc_cfg
3838
```
3939

40-
### Running a single test
40+
### Running part of the tests
4141

4242
To run a single test, use the following command:
4343

4444
```
45-
icetea --tc basic_get --tcdir ./TESTS/E2E/ --tc_cfg TESTS/E2E/pelion.tc_cfg
45+
icetea --tc get --tcdir ./TESTS/E2E/ --tc_cfg TESTS/E2E/pelion.tc_cfg
46+
```
47+
Testing connect-only testcases without bringing the device offline:
48+
```
49+
icetea --tc register,get,put,post,observation --tcdir ./TESTS/E2E/ --tc_cfg TESTS/E2E/pelion.tc_cfg
4650
```
4751

4852
## Current tests

configs-psa/eth_v4.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
"K64F": {
2121
"target.network-default-interface-type" : "ETHERNET",
22-
"target.bootloader_img" : "tools/mbed-bootloader-k64f-block_device-kvstore-v4.0.0.bin",
22+
"target.bootloader_img" : "tools/mbed-bootloader-k64f-block_device-kvstore-v4.1.0.bin",
2323
"target.header_offset" : "0xa000",
2424
"target.app_offset" : "0xa400",
2525
"target.components_add" : ["SD"],
@@ -39,7 +39,7 @@
3939
},
4040
"K66F": {
4141
"target.network-default-interface-type" : "ETHERNET",
42-
"target.bootloader_img" : "tools/mbed-bootloader-k66f-internal_flash-no_rot-v4.0.0.bin",
42+
"target.bootloader_img" : "tools/mbed-bootloader-k66f-internal_flash-no_rot-v4.1.0.bin",
4343
"target.header_offset" : "0x8000",
4444
"target.app_offset" : "0x8400",
4545
"rtos.main-thread-stack-size" : 8192,

configs-psa/wifi.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@
4141
"sd.SPI_MOSI" : "D11",
4242
"sd.SPI_MISO" : "D12",
4343
"sd.SPI_CLK" : "D13",
44+
"esp8266.rx" : "D0",
45+
"esp8266.tx" : "D1",
46+
"esp8266.rst" : "D2",
47+
"esp8266.rts" : "P1_27",
48+
"esp8266.cts" : "P1_26",
4449
"esp8266.provide-default" : true,
4550
"storage_filesystem.internal_base_address" : "0x94000",
4651
"storage_filesystem.rbp_internal_size" : "(15*1024)",
@@ -55,7 +60,7 @@
5560
"target.macros_add" : ["DISABLE_ERROR_DESCRIPTION", "MBEDTLS_ENTROPY_NV_SEED"],
5661
"mbed-cloud-client.disable-certificate-enrollment": 1,
5762
"target.network-default-interface-type" : "WIFI",
58-
"target.bootloader_img" : "tools/mbed-bootloader-nucleo_f411re-block_device-kvstore-v4.0.0.bin",
63+
"target.bootloader_img" : "tools/mbed-bootloader-nucleo_f411re-block_device-kvstore-v4.1.0.bin",
5964
"target.header_offset" : "0x10000",
6065
"target.app_offset" : "0x10400",
6166
"target.components_add" : ["SD", "WIFI_IDW01M1"],
@@ -78,7 +83,7 @@
7883
"sd.SPI_CS" : "PB_9",
7984
"esp8266.rx" : "PB_7",
8085
"esp8266.tx" : "PA_15",
81-
"esp8266.rst" : null,
86+
"esp8266.rst" : "PA_7",
8287
"esp8266.rts" : "PA_12",
8388
"esp8266.cts" : "PA_11",
8489
"esp8266.provide-default" : true

configs/eth_v4.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"K64F": {
2424
"target.network-default-interface-type" : "ETHERNET",
25-
"target.bootloader_img" : "tools/mbed-bootloader-k64f-block_device-kvstore-v4.0.0.bin",
25+
"target.bootloader_img" : "tools/mbed-bootloader-k64f-block_device-kvstore-v4.1.0.bin",
2626
"target.header_offset" : "0xa000",
2727
"target.app_offset" : "0xa400",
2828
"target.components_add" : ["SD"],
@@ -41,7 +41,7 @@
4141
},
4242
"K66F": {
4343
"target.network-default-interface-type" : "ETHERNET",
44-
"target.bootloader_img" : "tools/mbed-bootloader-k66f-internal_flash-no_rot-v4.0.0.bin",
44+
"target.bootloader_img" : "tools/mbed-bootloader-k66f-internal_flash-no_rot-v4.1.0.bin",
4545
"target.header_offset" : "0x8000",
4646
"target.app_offset" : "0x8400",
4747
"rtos.main-thread-stack-size" : 8192,
@@ -58,7 +58,7 @@
5858
},
5959
"NUCLEO_F429ZI": {
6060
"target.network-default-interface-type" : "ETHERNET",
61-
"target.bootloader_img" : "tools/mbed-bootloader-nucleo_f429zi-internal_flash-no_rot-v4.0.0.bin",
61+
"target.bootloader_img" : "tools/mbed-bootloader-nucleo_f429zi-internal_flash-no_rot-v4.1.0.bin",
6262
"target.header_offset" : "0x8000",
6363
"target.app_offset" : "0x8400",
6464
"update-client.bootloader-details" : "0x080078CC",
@@ -73,7 +73,7 @@
7373
},
7474
"UBLOX_EVK_ODIN_W2": {
7575
"target.network-default-interface-type" : "ETHERNET",
76-
"target.bootloader_img" : "tools/mbed-bootloader-ublox_evk_odin_w2-block_device-kvstore-v4.0.0.bin",
76+
"target.bootloader_img" : "tools/mbed-bootloader-ublox_evk_odin_w2-block_device-kvstore-v4.1.0.bin",
7777
"target.header_offset" : "0x10000",
7878
"target.app_offset" : "0x10400",
7979
"target.components_add" : ["SD"],

configs/eth_v6.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"K64F": {
2626
"target.network-default-interface-type" : "ETHERNET",
27-
"target.bootloader_img" : "tools/mbed-bootloader-k64f-block_device-kvstore-v4.0.0.bin",
27+
"target.bootloader_img" : "tools/mbed-bootloader-k64f-block_device-kvstore-v4.1.0.bin",
2828
"target.header_offset" : "0xa000",
2929
"target.app_offset" : "0xa400",
3030
"target.components_add" : ["SD"],
@@ -43,7 +43,7 @@
4343
},
4444
"K66F": {
4545
"target.network-default-interface-type" : "ETHERNET",
46-
"target.bootloader_img" : "tools/mbed-bootloader-k66f-internal_flash-no_rot-v4.0.0.bin",
46+
"target.bootloader_img" : "tools/mbed-bootloader-k66f-internal_flash-no_rot-v4.1.0.bin",
4747
"target.header_offset" : "0x8000",
4848
"target.app_offset" : "0x8400",
4949
"rtos.main-thread-stack-size" : 8192,
@@ -60,7 +60,7 @@
6060
},
6161
"NUCLEO_F429ZI": {
6262
"target.network-default-interface-type" : "ETHERNET",
63-
"target.bootloader_img" : "tools/mbed-bootloader-nucleo_f429zi-internal_flash-no_rot-v4.0.0.bin",
63+
"target.bootloader_img" : "tools/mbed-bootloader-nucleo_f429zi-internal_flash-no_rot-v4.1.0.bin",
6464
"target.header_offset" : "0x8000",
6565
"target.app_offset" : "0x8400",
6666
"update-client.bootloader-details" : "0x080078CC",
@@ -75,7 +75,7 @@
7575
},
7676
"UBLOX_EVK_ODIN_W2": {
7777
"target.network-default-interface-type" : "ETHERNET",
78-
"target.bootloader_img" : "tools/mbed-bootloader-ublox_evk_odin_w2-block_device-kvstore-v4.0.0.bin",
78+
"target.bootloader_img" : "tools/mbed-bootloader-ublox_evk_odin_w2-block_device-kvstore-v4.1.0.bin",
7979
"target.header_offset" : "0x10000",
8080
"target.app_offset" : "0x10400",
8181
"target.components_add" : ["SD"],

configs/mesh_6lowpan.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"K64F": {
2929
"target.network-default-interface-type" : "MESH",
30-
"target.bootloader_img" : "tools/mbed-bootloader-k64f-block_device-kvstore-v4.0.0.bin",
30+
"target.bootloader_img" : "tools/mbed-bootloader-k64f-block_device-kvstore-v4.1.0.bin",
3131
"target.header_offset" : "0xa000",
3232
"target.app_offset" : "0xa400",
3333
"target.components_add" : ["SD"],

configs/mesh_thread.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
"K64F": {
3030
"target.network-default-interface-type" : "MESH",
31-
"target.bootloader_img" : "tools/mbed-bootloader-k64f-block_device-kvstore-v4.0.0.bin",
31+
"target.bootloader_img" : "tools/mbed-bootloader-k64f-block_device-kvstore-v4.1.0.bin",
3232
"target.header_offset" : "0xa000",
3333
"target.app_offset" : "0xa400",
3434
"target.components_add" : ["SD"],

configs/mesh_wisun.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,17 @@
1515
"rtos.main-thread-stack-size" : 5120,
1616
"mbed-client.reconnection-count" : 6,
1717
"mbed-client.sn-coap-blockwise-max-time-data-stored": 300,
18-
"client_app.pal_dtls_peer_min_timeout" : "10000",
19-
"client_app.startup_max_random_delay" : 200,
18+
"client_app.pal_dtls_peer_min_timeout" : "60000",
19+
"mbed-client.dtls_peer_max_timeout" : "600000",
2020
"nanostack-hal.event_loop_thread_stack_size": 8192,
2121
"update-client.storage-locations" : 1,
2222
"mbed-trace.enable" : null,
2323
"mbed-mesh-api.wisun-bc-interval" : "1000",
2424
"mbed-mesh-api.wisun-bc-dwell-interval" : "200",
2525
"mbed-mesh-api.wisun-uc-dwell-interval" : "150",
2626
"mbed-mesh-api.wisun-regulatory-domain" : "3",
27+
"mbed-mesh-api.wisun-operating-class" : "2",
28+
"mbed-mesh-api.wisun-operating-mode" : "3",
2729
"mbed-mesh-api.wisun-network-name" : "\"Wi-SUN Network\"",
2830
"mbed-mesh-api.heap-size" : 32768,
2931
"mbed-mesh-api.6lowpan-nd-panid-filter" : "0xFFFF",
@@ -33,14 +35,17 @@
3335
"mbed-mesh-api.own-certificate" : "WISUN_CLIENT_CERTIFICATE",
3436
"mbed-mesh-api.own-certificate-key" : "WISUN_CLIENT_KEY",
3537
"nsapi.default-mesh-type" : "WISUN",
38+
"nsapi.dns-response-wait-time" : 100000,
39+
"nsapi.dns-total-attempts" : 3,
40+
"nsapi.dns-retries" : 3,
3641
"nanostack.configuration" : "ws_router",
3742
"s2lp.provide-default" : true,
3843
"target.device_has_add" : ["802_15_4_PHY"]
3944
},
4045
"NUCLEO_F429ZI": {
4146
"client_app.mbedtls-user-config-file" : "\"configs/wisun_mbedTLSConfig_mbedOS.h\"",
4247
"target.network-default-interface-type" : "MESH",
43-
"target.bootloader_img" : "tools/mbed-bootloader-nucleo_f429zi-internal_flash-no_rot-v4.0.0.bin",
48+
"target.bootloader_img" : "tools/mbed-bootloader-nucleo_f429zi-internal_flash-no_rot-v4.1.0.bin",
4449
"target.header_offset" : "0x8000",
4550
"target.app_offset" : "0x8400",
4651
"update-client.bootloader-details" : "0x080078CC",

configs/wifi.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"K64F": {
2222
"target.network-default-interface-type" : "WIFI",
23-
"target.bootloader_img" : "tools/mbed-bootloader-k64f-block_device-kvstore-v4.0.0.bin",
23+
"target.bootloader_img" : "tools/mbed-bootloader-k64f-block_device-kvstore-v4.1.0.bin",
2424
"target.header_offset" : "0xa000",
2525
"target.app_offset" : "0xa400",
2626
"target.components_add" : ["SD"],
@@ -41,15 +41,15 @@
4141
"esp8266.rst" : "D8",
4242
"esp8266.rts" : "PTC1",
4343
"esp8266.cts" : "PTC2",
44-
"esp8266.provide-default" : true
44+
"esp8266.provide-default" : true
4545
},
4646
"NUCLEO_F411RE": {
4747
"client_app.mbedtls-user-config-file" : "\"mbedTLSConfig_mbedOS_SW_TRNG_PSA.h\"",
4848
"client_app.pal-user-defined-configuration" : "\"pal_config_non_trng_MbedOS.h\"",
4949
"target.extra_labels_add" : ["PSA"],
5050
"target.macros_add" : ["DISABLE_ERROR_DESCRIPTION", "MBEDTLS_ENTROPY_NV_SEED"],
5151
"target.network-default-interface-type" : "WIFI",
52-
"target.bootloader_img" : "tools/mbed-bootloader-nucleo_f411re-block_device-kvstore-v4.0.0.bin",
52+
"target.bootloader_img" : "tools/mbed-bootloader-nucleo_f411re-block_device-kvstore-v4.1.0.bin",
5353
"target.header_offset" : "0x10000",
5454
"target.app_offset" : "0x10400",
5555
"target.components_add" : ["SD"],
@@ -59,7 +59,7 @@
5959
"update-client.storage-size" : "((MBED_ROM_START + MBED_ROM_SIZE - APPLICATION_ADDR) * MBED_CONF_UPDATE_CLIENT_STORAGE_LOCATIONS)",
6060
"mbed-cloud-client.update-storage" : "ARM_UCP_FLASHIAP_BLOCKDEVICE",
6161
"storage_filesystem.internal_base_address" : "(MBED_ROM_START + MBED_BOOTLOADER_SIZE)",
62-
"storage_filesystem.rbp_internal_size" : "(32*1024)",
62+
"storage_filesystem.rbp_internal_size" : "(32*1024)",
6363
"storage_filesystem.external_base_address" : "(0x0)",
6464
"storage_filesystem.external_size" : "(1024*1024*64)",
6565
"storage.storage_type" : "FILESYSTEM",
@@ -72,14 +72,14 @@
7272
"sd.SPI_CS" : "PB_9",
7373
"esp8266.rx" : "PB_7",
7474
"esp8266.tx" : "PA_15",
75-
"esp8266.rst" : null,
75+
"esp8266.rst" : "PA_7",
7676
"esp8266.rts" : "PA_12",
7777
"esp8266.cts" : "PA_11",
78-
"esp8266.provide-default" : true
78+
"esp8266.provide-default" : true
7979
},
8080
"UBLOX_EVK_ODIN_W2": {
8181
"target.network-default-interface-type" : "WIFI",
82-
"target.bootloader_img" : "tools/mbed-bootloader-ublox_evk_odin_w2-block_device-kvstore-v4.0.0.bin",
82+
"target.bootloader_img" : "tools/mbed-bootloader-ublox_evk_odin_w2-block_device-kvstore-v4.1.0.bin",
8383
"target.header_offset" : "0x10000",
8484
"target.app_offset" : "0x10400",
8585
"target.components_add" : ["SD"],
@@ -100,11 +100,11 @@
100100
},
101101
"DISCO_L475VG_IOT01A": {
102102
"target.network-default-interface-type" : "WIFI",
103-
"target.bootloader_img" : "tools/mbed-bootloader-disco_l475vg_iot01a-internal_qspif-kvstore.bin",
103+
"target.bootloader_img" : "tools/mbed-bootloader-disco_l475vg_iot01a-internal_qspif-kvstore-v4.1.0.bin",
104104
"target.header_offset" : "0x11000",
105105
"target.app_offset" : "0x11400",
106106
"target.components_add" : ["QSPIF", "WIFI_ISM43362"],
107-
"bootloader-size" : "(36*1024)",
107+
"bootloader-size" : "(36*1024)",
108108
"ism43362.read-thread-stack-size" : 1024,
109109
"led-pinname" : "LED1",
110110
"mbed-client.sn-coap-max-blockwise-payload-size" : 256,

0 commit comments

Comments
 (0)