-
Notifications
You must be signed in to change notification settings - Fork 97
/
mesh_wisun.json
141 lines (140 loc) · 8.03 KB
/
mesh_wisun.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"macros": [
"MAX_ERROR_COUNT=0",
"MBED_CLOUD_CLIENT_ENDPOINT_TYPE=\"routernode\"",
"MBED_CLOUD_CLIENT_TRANSPORT_MODE_UDP",
"MBED_CLOUD_CLIENT_SUPPORT_MULTICAST_UPDATE",
"FOTA_CUSTOM_PLATFORM=1"
],
"target_overrides": {
"*": {
"target.features_add" : ["STORAGE"],
"target.c_lib" : "std",
"platform.stdio-baud-rate" : 115200,
"platform.stdio-convert-newlines" : true,
"platform.stdio-buffered-serial" : true,
"platform.stdio-flush-at-exit" : true,
"rtos.main-thread-stack-size" : 5120,
"client_app.user-config" : "\"mbed_cloud_client_user_config.h\"",
"mbed-client.reconnection-count" : 6,
"mbed-client.sn-coap-blockwise-max-time-data-stored": 900,
"client_app.pal_dtls_peer_min_timeout" : "60000",
"mbed-client.dtls_peer_max_timeout" : "600000",
"mbed-client-pal.pal-max-frag-len" : 2,
"mbed-client.disable-resource-type" : 1,
"nanostack-hal.event_loop_thread_stack_size": 8192,
"nanostack-hal.use-kvstore" : true,
"mbed-trace.enable" : null,
"storage.storage_type" : null,
"storage_filesystem.filesystem" : null,
"storage_filesystem.blockdevice" : null,
"storage_tdb_internal.internal_base_address": null,
"storage_tdb_internal.internal_size" : null,
"storage_filesystem.internal_base_address" : null,
"storage_filesystem.rbp_internal_size" : null,
"storage_filesystem.external_base_address" : null,
"storage_filesystem.external_size" : null,
"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.wisun-device-type" : "MESH_DEVICE_TYPE_WISUN_ROUTER",
"mbed-mesh-api.wisun-network-size" : "NETWORK_SIZE_SMALL",
"mbed-mesh-api.6lowpan-nd-panid-filter" : "0xFFFF",
"mbed-mesh-api.6lowpan-nd-security-mode" : "NONE",
"mbed-mesh-api.certificate-header" : "\"configs/wisun_certificates.h\"",
"mbed-mesh-api.root-certificate" : "WISUN_ROOT_CERTIFICATE",
"mbed-mesh-api.own-certificate" : "WISUN_CLIENT_CERTIFICATE",
"mbed-mesh-api.own-certificate-key" : "WISUN_CLIENT_KEY",
"mbed-mesh-api.heap-size" : 65535,
"mbed-mesh-api.mac-neigh-table-size" : 64,
"mbed-mesh-api.heap-stat-info-definition" : "mem_stat_t app_ns_dyn_mem_stats;",
"mbed-mesh-api.heap-stat-info" : "&app_ns_dyn_mem_stats",
"nsapi.default-mesh-type" : "WISUN",
"nsapi.dns-response-wait-time" : 100000,
"nsapi.dns-total-attempts" : 6,
"nsapi.dns-retries" : 3,
"nanostack.configuration" : "ws_router",
"target.device_has_add" : ["802_15_4_PHY"],
"events.shared-highprio-stacksize" : 3072,
"events.shared-highprio-eventsize" : 512,
"mbed-cloud-client.network-manager" : 1,
"mbed-cloud-client.observable-timer" : 15,
"fota.enable" : true,
"fota.multicast-support" : "FOTA_MULTICAST_NODE_MODE",
"fota.resume-support" : "FOTA_RESUME_UNSUPPORTED",
"fota.num-components" : 2,
"fota.app-default-cb-no-print" : false,
"fota.encryption-support" : false,
"fota.default-app-ifs" : false
},
"NUCLEO_F429ZI": {
"client_app.mbedtls-user-config-file" : "\"configs/wisun_mbedTLSConfig_mbedOS.h\"",
"target.network-default-interface-type" : "MESH",
"target.extra_labels_add" : ["BL_INTERNAL_FLASH"],
"target.header_offset" : "0x8000",
"target.app_offset" : "0x8200",
"target.restrict_size" : "0xD7C00",
"s2lp.provide-default" : true
},
"NUCLEO_F429ZI_AGGRESSIVE": {
"target.macros_add" : ["PAL_DEFAULT_STAGGER_ESTIMATE=1", "MBED_CLOUD_CLIENT_MULTICAST_SMALL_NETWORK"]
},
"MIMXRT1050_EVK": {
"client_app.mbedtls-user-config-file" : "\"configs/wisun_mbedTLSConfig_mbedOS.h\"",
"target.network-default-interface-type" : "MESH",
"target.macros_remove" : ["HYPERFLASH_BOOT"],
"target.tickless-from-us-ticker" : true,
"target.macros_add" : ["MBED_APP_COMPILE", "DISABLE_AT24MAC", "ARM_UC_DELTAPAAL_WRITE_BUF_SIZE=256"],
"target.mbed_rom_start" : "0x60000000",
"target.mbed_rom_size" : "0x800000",
"target.sectors" : [[1610612736,4096]],
"target.extra_labels_add" : ["BL_INTERNAL_FLASH"],
"target.header_offset" : "0x10000",
"target.app_offset" : "0x10200",
"target.restrict_size" : "0x1EFC00",
"bootloader-size" : "(64*1024)",
"led-pinname" : "NC",
"button-pinname" : "NC",
"atmel-rf.provide-default" : true
},
"MIMXRT1050_EVK_AGGRESSIVE": {
"target.macros_add" : ["PAL_DEFAULT_STAGGER_ESTIMATE=1", "MBED_CLOUD_CLIENT_MULTICAST_SMALL_NETWORK"]
}
},
"config": {
"developer-mode": {
"help" : "Enable Developer mode to skip Factory enrollment",
"options" : [null, 1],
"value" : 1
},
"mbed-trace-max-level": {
"help" : "Max trace level. Must be one of the following: [TRACE_LEVEL_DEBUG, TRACE_LEVEL_INFO, TRACE_LEVEL_WARN, TRACE_LEVEL_ERROR]",
"macro_name": "MBED_TRACE_MAX_LEVEL",
"value" : "TRACE_LEVEL_INFO"
},
"button-pinname": {
"help" : "PinName for button.",
"value" : "BUTTON1"
},
"led-pinname" : {
"help" : "PinName for led, which is attached to led blink resource.",
"value" : "LED1"
},
"bootloader-size": {
"help" : "Helper macro to enable calculation of rom regions. target.header_offset and target.app_offset still needs to be calculated manually, though.",
"value" : "(32*1024)",
"macro_name": "MBED_BOOTLOADER_SIZE"
},
"cpu-stats-enabled": {
"macro_name": "MBED_CPU_STATS_ENABLED",
"help" : "Set to 1 to enable cpu stats. When enabled the function mbed_stats_cpu_get returns non-zero data. See mbed_stats.h for more information",
"value" : 1
},
"heap-stats-enabled": {
"macro_name": "MBED_HEAP_STATS_ENABLED",
"help" : "Set to 1 to enable heap stats. When enabled the function mbed_stats_heap_get returns non-zero data. See mbed_stats.h for more information",
"value" : 1
}
}
}