Skip to content

Commit 76b2e3d

Browse files
authored
Merge pull request ARMmbed#1 from ARMmbed/release-R1.3.0
mbed-cloud-client-example R1.3.0-GA
2 parents 4c0fdf0 + 05bf0da commit 76b2e3d

File tree

90 files changed

+10304
-9
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+10304
-9
lines changed

.autostart/config.json

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
[
2+
{
3+
"target": "FRDM-K64F",
4+
"configs": [
5+
{
6+
"title": "Ethernet - IPv4",
7+
"appjson": "eth_v4.json",
8+
"default": true
9+
},
10+
{
11+
"title": "Ethernet - IPv6",
12+
"appjson": "eth_v6.json"
13+
},
14+
{
15+
"title": "Wifi - ESP8266",
16+
"appjson": "wifi_esp8266_v4.json"
17+
},
18+
{
19+
"title": "Mesh - Thread",
20+
"appjson": "mesh_thread.json"
21+
},
22+
{
23+
"title": "Mesh - 6lowpan",
24+
"appjson": "mesh_6lowpan.json"
25+
}
26+
]
27+
},
28+
{
29+
"target": "ST-Nucleo-F429ZI",
30+
"configs": [
31+
{
32+
"title": "Ethernet - IPv4",
33+
"appjson": "eth_v4.json",
34+
"default": true
35+
},
36+
{
37+
"title": "Ethernet - IPv6",
38+
"appjson": "eth_v6.json"
39+
},
40+
{
41+
"title": "Wifi - ESP8266",
42+
"appjson": "wifi_esp8266_v4.json"
43+
}
44+
]
45+
},
46+
{
47+
"target": "ublox-EVK-ODIN-W2",
48+
"configs": [
49+
{
50+
"title": "Wifi",
51+
"appjson": "wifi_odin_v4.json",
52+
"default": true
53+
},
54+
{
55+
"title": "Ethernet - IPv4",
56+
"appjson": "eth_v4.json"
57+
},
58+
{
59+
"title": "Ethernet - IPv6",
60+
"appjson": "eth_v6.json"
61+
}
62+
]
63+
}
64+
]

.autostart/eth_v4.json

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
{
2+
"macros": [
3+
"MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\"",
4+
"PAL_USER_DEFINED_CONFIGURATION=\"sotp_fs_config_MbedOS.h\"",
5+
"MBED_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"",
6+
"MBED_CLOUD_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"",
7+
"PAL_DTLS_PEER_MIN_TIMEOUT=5000",
8+
"MBED_CONF_APP_MAIN_STACK_SIZE=4608",
9+
"ARM_UC_USE_PAL_BLOCKDEVICE=1",
10+
"MBED_CLOUD_CLIENT_UPDATE_STORAGE=ARM_UCP_FLASHIAP_BLOCKDEVICE"
11+
],
12+
"target_overrides": {
13+
"*": {
14+
"platform.stdio-baud-rate": 115200,
15+
"platform.stdio-convert-newlines": true,
16+
"mbed-client.event-loop-size": 1024,
17+
"mbed-trace.enable": null,
18+
"storage-selector.filesystem" : "FAT",
19+
"storage-selector.mount-point": "\"sd\"",
20+
"storage-selector.storage" : "SD_CARD",
21+
"update-client.storage-address" : "(1024*1024*64)",
22+
"update-client.storage-size" : "(1024*1024*2)",
23+
"update-client.storage-locations": "1"
24+
},
25+
"K64F": {
26+
"sotp-section-1-address": "(1016*1024)",
27+
"sotp-section-1-size" : "( 4*1024)",
28+
"sotp-section-2-address": "(1020*1024)",
29+
"sotp-section-2-size" : "( 4*1024)"
30+
},
31+
"NUCLEO_F429ZI": {
32+
"sotp-section-1-address": "(0x08000000+1792*1024)",
33+
"sotp-section-1-size" : "(128*1024)",
34+
"sotp-section-2-address": "(0x08000000+1920*1024)",
35+
"sotp-section-2-size" : "(128*1024)"
36+
},
37+
"UBLOX_EVK_ODIN_W2": {
38+
"target.device_has_remove": ["EMAC"],
39+
"sotp-section-1-address": "(0x08000000+1792*1024)",
40+
"sotp-section-1-size" : "(128*1024)",
41+
"sotp-section-2-address": "(0x08000000+1920*1024)",
42+
"sotp-section-2-size" : "(128*1024)"
43+
}
44+
},
45+
"config": {
46+
"network-interface":{
47+
"help": "Options are ETHERNET, WIFI_ESP8266, WIFI_ODIN",
48+
"value": "ETHERNET"
49+
},
50+
"developer-mode": {
51+
"help": "Enable Developer mode to skip Factory enrollment",
52+
"value": 1
53+
},
54+
"button-pinname": {
55+
"help": "PinName for button.",
56+
"value": "BUTTON1"
57+
},
58+
"led-pinname": {
59+
"help": "PinName for led, which is attached to led blink resource.",
60+
"value": "LED_RED"
61+
},
62+
"sotp-section-1-address": {
63+
"help": "Flash sector address for SOTP sector 1",
64+
"macro_name": "PAL_INTERNAL_FLASH_SECTION_1_ADDRESS",
65+
"value": null
66+
},
67+
"sotp-section-1-size": {
68+
"help": "Flash sector size for SOTP sector 1",
69+
"macro_name": "PAL_INTERNAL_FLASH_SECTION_1_SIZE",
70+
"value": null
71+
},
72+
"sotp-section-2-address": {
73+
"help": "Flash sector address for SOTP sector 2",
74+
"macro_name": "PAL_INTERNAL_FLASH_SECTION_2_ADDRESS",
75+
"value": null
76+
},
77+
"sotp-section-2-size": {
78+
"help": "Flash sector size for SOTP sector 2",
79+
"macro_name": "PAL_INTERNAL_FLASH_SECTION_2_SIZE",
80+
"value": null
81+
}
82+
}
83+
}

.autostart/eth_v6.json

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
{
2+
"macros": [
3+
"MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\"",
4+
"PAL_USER_DEFINED_CONFIGURATION=\"sotp_fs_config_MbedOS.h\"",
5+
"MBED_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"",
6+
"MBED_CLOUD_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"",
7+
"PAL_DTLS_PEER_MIN_TIMEOUT=5000",
8+
"MBED_CONF_APP_MAIN_STACK_SIZE=4608",
9+
"ARM_UC_USE_PAL_BLOCKDEVICE=1",
10+
"MBED_CLOUD_CLIENT_UPDATE_STORAGE=ARM_UCP_FLASHIAP_BLOCKDEVICE"
11+
],
12+
"target_overrides": {
13+
"*": {
14+
"platform.stdio-baud-rate": 115200,
15+
"platform.stdio-convert-newlines": true,
16+
"lwip.ipv4-enabled": false,
17+
"lwip.ipv6-enabled": true,
18+
"mbed-client.event-loop-size": 1024,
19+
"mbed-trace.enable": null,
20+
"storage-selector.filesystem" : "FAT",
21+
"storage-selector.mount-point": "\"sd\"",
22+
"storage-selector.storage" : "SD_CARD",
23+
"update-client.storage-address" : "(1024*1024*64)",
24+
"update-client.storage-size" : "(1024*1024*2)",
25+
"update-client.storage-locations": "1"
26+
},
27+
"K64F": {
28+
"sotp-section-1-address": "(1016*1024)",
29+
"sotp-section-1-size" : "( 4*1024)",
30+
"sotp-section-2-address": "(1020*1024)",
31+
"sotp-section-2-size" : "( 4*1024)"
32+
},
33+
"NUCLEO_F429ZI": {
34+
"sotp-section-1-address": "(0x08000000+1792*1024)",
35+
"sotp-section-1-size" : "(128*1024)",
36+
"sotp-section-2-address": "(0x08000000+1920*1024)",
37+
"sotp-section-2-size" : "(128*1024)"
38+
},
39+
"UBLOX_EVK_ODIN_W2": {
40+
"target.device_has_remove": ["EMAC"],
41+
"sotp-section-1-address": "(0x08000000+1792*1024)",
42+
"sotp-section-1-size" : "(128*1024)",
43+
"sotp-section-2-address": "(0x08000000+1920*1024)",
44+
"sotp-section-2-size" : "(128*1024)"
45+
}
46+
},
47+
"config": {
48+
"network-interface":{
49+
"help": "Options are ETHERNET, WIFI_ESP8266, WIFI_ODIN",
50+
"value": "ETHERNET"
51+
},
52+
"developer-mode": {
53+
"help": "Enable Developer mode to skip Factory enrollment",
54+
"value": 1
55+
},
56+
"button-pinname": {
57+
"help": "PinName for button.",
58+
"value": "BUTTON1"
59+
},
60+
"led-pinname": {
61+
"help": "PinName for led, which is attached to led blink resource.",
62+
"value": "LED_RED"
63+
},
64+
"sotp-section-1-address": {
65+
"help": "Flash sector address for SOTP sector 1",
66+
"macro_name": "PAL_INTERNAL_FLASH_SECTION_1_ADDRESS",
67+
"value": null
68+
},
69+
"sotp-section-1-size": {
70+
"help": "Flash sector size for SOTP sector 1",
71+
"macro_name": "PAL_INTERNAL_FLASH_SECTION_1_SIZE",
72+
"value": null
73+
},
74+
"sotp-section-2-address": {
75+
"help": "Flash sector address for SOTP sector 2",
76+
"macro_name": "PAL_INTERNAL_FLASH_SECTION_2_ADDRESS",
77+
"value": null
78+
},
79+
"sotp-section-2-size": {
80+
"help": "Flash sector size for SOTP sector 2",
81+
"macro_name": "PAL_INTERNAL_FLASH_SECTION_2_SIZE",
82+
"value": null
83+
}
84+
}
85+
}

.autostart/mesh_6lowpan.json

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
{
2+
"macros": [
3+
"MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\"",
4+
"PAL_USER_DEFINED_CONFIGURATION=\"sotp_fs_config_MbedOS.h\"",
5+
"MBED_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"",
6+
"MBED_CLOUD_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"",
7+
"PAL_DTLS_PEER_MIN_TIMEOUT=10000",
8+
"MBED_CONF_APP_MAIN_STACK_SIZE=4608",
9+
"ARM_UC_USE_PAL_BLOCKDEVICE=1",
10+
"MBED_CLOUD_CLIENT_UPDATE_STORAGE=ARM_UCP_FLASHIAP_BLOCKDEVICE"
11+
],
12+
"target_overrides": {
13+
"*": {
14+
"target.features_add": ["NANOSTACK"],
15+
"nanostack.configuration": "lowpan_router",
16+
"mbed-mesh-api.6lowpan-nd-channel": 12,
17+
"mbed-mesh-api.6lowpan-nd-panid-filter": "0xFFFF",
18+
"mbed-mesh-api.6lowpan-nd-security-mode": "NONE",
19+
"platform.stdio-baud-rate": 115200,
20+
"platform.stdio-convert-newlines": true,
21+
"mbed-client.event-loop-size": 32768,
22+
"mbed-client.reconnection-count": 6,
23+
"mbed-client.dns-use-thread": 1,
24+
"mbed-client.sn-coap-blockwise-max-time-data-stored": 120,
25+
"mbed-trace.enable": null,
26+
"storage-selector.filesystem" : "FAT",
27+
"storage-selector.mount-point": "\"sd\"",
28+
"storage-selector.storage" : "SD_CARD",
29+
"update-client.storage-address" : "(1024*1024*64)",
30+
"update-client.storage-size" : "(1024*1024*2)",
31+
"update-client.storage-locations": "1"
32+
},
33+
"K64F": {
34+
"sotp-section-1-address": "(1016*1024)",
35+
"sotp-section-1-size" : "( 4*1024)",
36+
"sotp-section-2-address": "(1020*1024)",
37+
"sotp-section-2-size" : "( 4*1024)"
38+
},
39+
"NUCLEO_F429ZI": {
40+
"sotp-section-1-address": "(0x08000000+1792*1024)",
41+
"sotp-section-1-size" : "(128*1024)",
42+
"sotp-section-2-address": "(0x08000000+1920*1024)",
43+
"sotp-section-2-size" : "(128*1024)",
44+
"target.macros_add": ["ATMEL_SPI_MOSI=PB_5"]
45+
},
46+
"UBLOX_EVK_ODIN_W2": {
47+
"sotp-section-1-address": "(0x08000000+1792*1024)",
48+
"sotp-section-1-size" : "(128*1024)",
49+
"sotp-section-2-address": "(0x08000000+1920*1024)",
50+
"sotp-section-2-size" : "(128*1024)"
51+
}
52+
},
53+
"config": {
54+
"network-interface":{
55+
"value": "MESH_LOWPAN_ND"
56+
},
57+
"mesh_radio_type": {
58+
"help": "options are ATMEL, MCR20, SPIRIT1",
59+
"value": "ATMEL"
60+
},
61+
"developer-mode": {
62+
"help": "Enable Developer mode to skip Factory enrollment",
63+
"value": 1
64+
},
65+
"button-pinname": {
66+
"help": "PinName for button.",
67+
"value": "BUTTON1"
68+
},
69+
"led-pinname": {
70+
"help": "PinName for led, which is attached to led blink resource.",
71+
"value": "LED_RED"
72+
},
73+
"sotp-section-1-address": {
74+
"help": "Flash sector address for SOTP sector 1",
75+
"macro_name": "PAL_INTERNAL_FLASH_SECTION_1_ADDRESS",
76+
"value": null
77+
},
78+
"sotp-section-1-size": {
79+
"help": "Flash sector size for SOTP sector 1",
80+
"macro_name": "PAL_INTERNAL_FLASH_SECTION_1_SIZE",
81+
"value": null
82+
},
83+
"sotp-section-2-address": {
84+
"help": "Flash sector address for SOTP sector 2",
85+
"macro_name": "PAL_INTERNAL_FLASH_SECTION_2_ADDRESS",
86+
"value": null
87+
},
88+
"sotp-section-2-size": {
89+
"help": "Flash sector size for SOTP sector 2",
90+
"macro_name": "PAL_INTERNAL_FLASH_SECTION_2_SIZE",
91+
"value": null
92+
}
93+
}
94+
}

0 commit comments

Comments
 (0)