Skip to content

Commit a19a528

Browse files
author
Cruz Monrreal
authored
Merge pull request #6745 from SeppoTakalo/mesh_docs
Clarify mesh configuration values.
2 parents 675528b + b60454f commit a19a528

File tree

3 files changed

+20
-17
lines changed

3 files changed

+20
-17
lines changed

features/FEATURE_COMMON_PAL/nanostack-hal-mbed-cmsis-rtos/mbed_lib.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"value": false
77
},
88
"event_loop_thread_stack_size": {
9-
"help": "Define event-loop thread stack size.",
9+
"help": "Define event-loop thread stack size. [bytes]",
1010
"value": 6144
1111
},
1212
"critical-section-usable-from-interrupt": {

features/nanostack/FEATURE_NANOSTACK/mbed-mesh-api/mbed_lib.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,27 @@
22
"name": "mbed-mesh-api",
33
"config": {
44
"heap-size": {
5-
"help": "Nanostack's heap size (bytes: 0-65534)",
5+
"help": "Nanostack's heap size [bytes: 0-65534]",
66
"value": 32500
77
},
88
"use-malloc-for-heap": {
9-
"help": "Use `malloc()` for reserving the internal heap.",
9+
"help": "Use `malloc()` for reserving the Nanostack's internal heap.",
1010
"value": false
1111
},
1212
"6lowpan-nd-channel-mask": {
13-
"help": "Channel mask, bit mask of channels to use.",
13+
"help": "Channel mask, bit-mask of channels to use. [0-0x07fff800]",
1414
"value": "0x7fff800"
1515
},
1616
"6lowpan-nd-channel-page": {
1717
"help": "0 for 2.4 GHz and 2 for sub-GHz radios.",
1818
"value": 0
1919
},
2020
"6lowpan-nd-channel": {
21-
"help": "RF channel to use when `channel_mask` is not defined (0-26).",
21+
"help": "RF channel to use when `channel_mask` is not defined. [0-26].",
2222
"value": 0
2323
},
2424
"6lowpan-nd-panid-filter": {
25-
"help": "Beacon PAN ID filter, 0xffff means no filtering.",
25+
"help": "Beacon PAN ID filter, 0xffff means no filtering. [0-0xffff]",
2626
"value": "0xffff"
2727
},
2828
"6lowpan-nd-security-mode": {
@@ -34,7 +34,7 @@
3434
"value": 1
3535
},
3636
"6lowpan-nd-psk-key": {
37-
"help": "Pre-shared network key.",
37+
"help": "Pre-shared network key. Byte array of 16 bytes. In form of: {0x00, 0x11, ... 0xff}",
3838
"value": "{0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7, 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf}"
3939
},
4040
"6lowpan-nd-sec-level": {
@@ -54,51 +54,51 @@
5454
"value": true
5555
},
5656
"thread-config-channel-mask": {
57-
"help": "Channel mask, 0x7ffff800 scans all channels.",
57+
"help": "Channel bit mask, 0x7ffff800 scans all channels. [0-0x07fff800]",
5858
"value": "0x7fff800"
5959
},
6060
"thread-config-channel-page": {
6161
"help": "Channel page, 0 for 2.4 GHz radio.",
6262
"value": 0
6363
},
6464
"thread-config-channel": {
65-
"help": "RF channel to use. (11-26)",
65+
"help": "RF channel to use. [11-26]",
6666
"value": 22
6767
},
6868
"thread-config-panid": {
69-
"help": "Network identifier (0-0xFFFF)",
69+
"help": "Network identifier [0-0xFFFF]",
7070
"value": "0x0700"
7171
},
7272
"thread-config-network-name": {
73-
"help": "Network name (max 16 characters)",
73+
"help": "Network name [string, max 16 characters]",
7474
"value": "\"Thread Network\""
7575
},
7676
"thread-config-commissioning-dataset-timestamp": {
7777
"help": "[48 bit timestamp seconds]-[15 bit timestamp ticks]-[U bit] (0-0xFFFFFFFFFFFFFFFF)",
7878
"value": "0x10000"
7979
},
8080
"thread-config-extended-panid": {
81-
"help": "Extended PAN ID.",
81+
"help": "Extended PAN ID. [8 byte array]",
8282
"value": "{0xf1, 0xb5, 0xa1, 0xb2,0xc4, 0xd5, 0xa1, 0xbd }"
8383
},
8484
"thread-master-key": {
85-
"help": "Network master key.",
85+
"help": "Network master key. [16 byte array]",
8686
"value": "{0x10, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff}"
8787
},
8888
"thread-config-ml-prefix": {
89-
"help": "Mesh Local prefix.",
89+
"help": "Mesh Local prefix. [8 byte array]",
9090
"value": "{0xfd, 0x0, 0x0d, 0xb8, 0x0, 0x0, 0x0, 0x0}"
9191
},
9292
"thread-config-pskc": {
93-
"help": "Pre-Shared Key for the Commissioner.",
93+
"help": "Pre-Shared Key for the Commissioner. [16 byte array]",
9494
"value": "{0xc8, 0xa6, 0x2e, 0xae, 0xf3, 0x68, 0xf3, 0x46, 0xa9, 0x9e, 0x57, 0x85, 0x98, 0x9d, 0x1c, 0xd0}"
9595
},
9696
"thread-device-type": {
9797
"help": "Supported device operating modes: MESH_DEVICE_TYPE_THREAD_ROUTER, MESH_DEVICE_TYPE_THREAD_SLEEPY_END_DEVICE, MESH_DEVICE_TYPE_THREAD_MINIMAL_END_DEVICE",
9898
"value": "MESH_DEVICE_TYPE_THREAD_ROUTER"
9999
},
100100
"thread-security-policy": {
101-
"help": "Commissioning security policy bits (0-0xFF)",
101+
"help": "Commissioning security policy bits [0-0xFF]",
102102
"value": 255
103103
}
104104
}
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
22
"name": "nanostack",
33
"config": {
4-
"configuration": "nanostack_full"
4+
"configuration": {
5+
"help": "Build time configuration. Refer to Handbook for valid values. Default: full stack",
6+
"value": "nanostack_full"
7+
}
58
},
69
"macros": ["NS_USE_EXTERNAL_MBED_TLS"]
710
}

0 commit comments

Comments
 (0)