mirror of https://github.com/ARMmbed/mbed-os.git
Clarify mesh configuration values.
Most of the help fields were correct. Just add field specifying acceptable ranges.pull/6745/head
parent
b5b35fb8f0
commit
b60454fac5
|
@ -6,7 +6,7 @@
|
|||
"value": false
|
||||
},
|
||||
"event_loop_thread_stack_size": {
|
||||
"help": "Define event-loop thread stack size.",
|
||||
"help": "Define event-loop thread stack size. [bytes]",
|
||||
"value": 6144
|
||||
},
|
||||
"critical-section-usable-from-interrupt": {
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
"name": "mbed-mesh-api",
|
||||
"config": {
|
||||
"heap-size": {
|
||||
"help": "Nanostack's heap size (bytes: 0-65534)",
|
||||
"help": "Nanostack's heap size [bytes: 0-65534]",
|
||||
"value": 32500
|
||||
},
|
||||
"use-malloc-for-heap": {
|
||||
"help": "Use `malloc()` for reserving the internal heap.",
|
||||
"help": "Use `malloc()` for reserving the Nanostack's internal heap.",
|
||||
"value": false
|
||||
},
|
||||
"6lowpan-nd-channel-mask": {
|
||||
"help": "Channel mask, bit mask of channels to use.",
|
||||
"help": "Channel mask, bit-mask of channels to use. [0-0x07fff800]",
|
||||
"value": "0x7fff800"
|
||||
},
|
||||
"6lowpan-nd-channel-page": {
|
||||
|
@ -18,11 +18,11 @@
|
|||
"value": 0
|
||||
},
|
||||
"6lowpan-nd-channel": {
|
||||
"help": "RF channel to use when `channel_mask` is not defined (0-26).",
|
||||
"help": "RF channel to use when `channel_mask` is not defined. [0-26].",
|
||||
"value": 0
|
||||
},
|
||||
"6lowpan-nd-panid-filter": {
|
||||
"help": "Beacon PAN ID filter, 0xffff means no filtering.",
|
||||
"help": "Beacon PAN ID filter, 0xffff means no filtering. [0-0xffff]",
|
||||
"value": "0xffff"
|
||||
},
|
||||
"6lowpan-nd-security-mode": {
|
||||
|
@ -34,7 +34,7 @@
|
|||
"value": 1
|
||||
},
|
||||
"6lowpan-nd-psk-key": {
|
||||
"help": "Pre-shared network key.",
|
||||
"help": "Pre-shared network key. Byte array of 16 bytes. In form of: {0x00, 0x11, ... 0xff}",
|
||||
"value": "{0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7, 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf}"
|
||||
},
|
||||
"6lowpan-nd-sec-level": {
|
||||
|
@ -54,7 +54,7 @@
|
|||
"value": true
|
||||
},
|
||||
"thread-config-channel-mask": {
|
||||
"help": "Channel mask, 0x7ffff800 scans all channels.",
|
||||
"help": "Channel bit mask, 0x7ffff800 scans all channels. [0-0x07fff800]",
|
||||
"value": "0x7fff800"
|
||||
},
|
||||
"thread-config-channel-page": {
|
||||
|
@ -62,15 +62,15 @@
|
|||
"value": 0
|
||||
},
|
||||
"thread-config-channel": {
|
||||
"help": "RF channel to use. (11-26)",
|
||||
"help": "RF channel to use. [11-26]",
|
||||
"value": 22
|
||||
},
|
||||
"thread-config-panid": {
|
||||
"help": "Network identifier (0-0xFFFF)",
|
||||
"help": "Network identifier [0-0xFFFF]",
|
||||
"value": "0x0700"
|
||||
},
|
||||
"thread-config-network-name": {
|
||||
"help": "Network name (max 16 characters)",
|
||||
"help": "Network name [string, max 16 characters]",
|
||||
"value": "\"Thread Network\""
|
||||
},
|
||||
"thread-config-commissioning-dataset-timestamp": {
|
||||
|
@ -78,19 +78,19 @@
|
|||
"value": "0x10000"
|
||||
},
|
||||
"thread-config-extended-panid": {
|
||||
"help": "Extended PAN ID.",
|
||||
"help": "Extended PAN ID. [8 byte array]",
|
||||
"value": "{0xf1, 0xb5, 0xa1, 0xb2,0xc4, 0xd5, 0xa1, 0xbd }"
|
||||
},
|
||||
"thread-master-key": {
|
||||
"help": "Network master key.",
|
||||
"help": "Network master key. [16 byte array]",
|
||||
"value": "{0x10, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff}"
|
||||
},
|
||||
"thread-config-ml-prefix": {
|
||||
"help": "Mesh Local prefix.",
|
||||
"help": "Mesh Local prefix. [8 byte array]",
|
||||
"value": "{0xfd, 0x0, 0x0d, 0xb8, 0x0, 0x0, 0x0, 0x0}"
|
||||
},
|
||||
"thread-config-pskc": {
|
||||
"help": "Pre-Shared Key for the Commissioner.",
|
||||
"help": "Pre-Shared Key for the Commissioner. [16 byte array]",
|
||||
"value": "{0xc8, 0xa6, 0x2e, 0xae, 0xf3, 0x68, 0xf3, 0x46, 0xa9, 0x9e, 0x57, 0x85, 0x98, 0x9d, 0x1c, 0xd0}"
|
||||
},
|
||||
"thread-device-type": {
|
||||
|
@ -98,7 +98,7 @@
|
|||
"value": "MESH_DEVICE_TYPE_THREAD_ROUTER"
|
||||
},
|
||||
"thread-security-policy": {
|
||||
"help": "Commissioning security policy bits (0-0xFF)",
|
||||
"help": "Commissioning security policy bits [0-0xFF]",
|
||||
"value": 255
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
{
|
||||
"name": "nanostack",
|
||||
"config": {
|
||||
"configuration": "nanostack_full"
|
||||
"configuration": {
|
||||
"help": "Build time configuration. Refer to Handbook for valid values. Default: full stack",
|
||||
"value": "nanostack_full"
|
||||
}
|
||||
},
|
||||
"macros": ["NS_USE_EXTERNAL_MBED_TLS"]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue