Nanostack Border Router is a generic mbed border router implementation that provides the 6LoWPAN ND or Thread border router initialization logic.

Committer:
mbed_official
Date:
Mon May 29 13:00:17 2017 +0100
Revision:
12:04fcf9df91e2
Parent:
2:1411fd11ccdd
Child:
20:918e62713e63
Thread BR commissioning support (#35)

* Thread BR commissioning support

Allow application to bypass Thread static configuration to allow
Border Router commissioning. Flag THREAD_USE_STATIC_LINK_CONFIG
controls usage of static link configuration settings.
.
Commit copied from https://github.com/ARMmbed/nanostack-border-router

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 0:85f4174a8e29 1 {
mbed_official 0:85f4174a8e29 2 "config": {
mbed_official 0:85f4174a8e29 3 "heap-size": {
mbed_official 0:85f4174a8e29 4 "help": "The amount of static RAM to reserve for nsdynmemlib heap",
mbed_official 0:85f4174a8e29 5 "value": 50000
mbed_official 0:85f4174a8e29 6 },
mbed_official 0:85f4174a8e29 7 "radio-type":{
mbed_official 0:85f4174a8e29 8 "help": "options are ATMEL, MCR20",
mbed_official 0:85f4174a8e29 9 "value": "ATMEL"
mbed_official 0:85f4174a8e29 10 },
mbed_official 0:85f4174a8e29 11 "backhaul-driver": {
mbed_official 0:85f4174a8e29 12 "help": "options are ETH, SLIP",
mbed_official 0:85f4174a8e29 13 "value": "ETH"
mbed_official 0:85f4174a8e29 14 },
mbed_official 0:85f4174a8e29 15 "mesh-mode": {
mbed_official 0:85f4174a8e29 16 "help": "Mesh networking mode. Options are LOWPAN_ND and THREAD",
mbed_official 0:85f4174a8e29 17 "value": "THREAD"
mbed_official 0:85f4174a8e29 18 },
mbed_official 0:85f4174a8e29 19 "backhaul-mac-src": {
mbed_official 0:85f4174a8e29 20 "help": "Where to get EUI48 address. Options are BOARD, CONFIG",
mbed_official 0:85f4174a8e29 21 "value": "BOARD"
mbed_official 0:85f4174a8e29 22 },
mbed_official 0:85f4174a8e29 23 "backhaul-mac": "{0x02, 0x00, 0x00, 0x00, 0x00, 0x01}",
mbed_official 0:85f4174a8e29 24 "rf-channel": 22,
mbed_official 0:85f4174a8e29 25 "rf-channel-page": 0,
mbed_official 0:85f4174a8e29 26 "rf-channel-mask": "0x07fff800",
mbed_official 0:85f4174a8e29 27 "debug-trace": 1,
mbed_official 0:85f4174a8e29 28 "backhaul-dynamic-bootstrap": true,
mbed_official 0:85f4174a8e29 29 "backhaul-prefix": "\"fd00:300::\"",
mbed_official 0:85f4174a8e29 30 "backhaul-next-hop": "\"fe80::1\"",
mbed_official 0:85f4174a8e29 31 "backhaul-default-route": "\"::/0\"",
mbed_official 0:85f4174a8e29 32 "commissioning-dataset-timestamp": "0x00010000",
mbed_official 0:85f4174a8e29 33 "pan-id": "0x0700",
mbed_official 0:85f4174a8e29 34 "extended-pan-id": "{0xf1, 0xb5, 0xa1, 0xb2,0xc4, 0xd5, 0xa1, 0xbd }",
mbed_official 0:85f4174a8e29 35 "mesh-local-prefix": "{0xfd, 0x0, 0x0d, 0xb8, 0x0,0x0, 0x0, 0x0}",
mbed_official 0:85f4174a8e29 36 "network-name": "\"Thread Network\"",
mbed_official 0:85f4174a8e29 37 "pskd": "\"abcdefghijklmno\"",
mbed_official 0:85f4174a8e29 38 "pskc": "{0xc8, 0xa6, 0x2e, 0xae, 0xf3, 0x68, 0xf3, 0x46, 0xa9, 0x9e, 0x57, 0x85, 0x98, 0x9d, 0x1c, 0xd0}",
mbed_official 0:85f4174a8e29 39 "thread-master-key": "{0x10, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff}",
mbed_official 12:04fcf9df91e2 40 "thread-use-static-link-config": true,
mbed_official 0:85f4174a8e29 41 "LED": "NC",
mbed_official 0:85f4174a8e29 42 "SERIAL_TX": "NC",
mbed_official 0:85f4174a8e29 43 "SERIAL_RX": "NC",
mbed_official 0:85f4174a8e29 44 "SERIAL_CTS": "NC",
mbed_official 0:85f4174a8e29 45 "SERIAL_RTS": "NC"
mbed_official 0:85f4174a8e29 46 },
mbed_official 0:85f4174a8e29 47 "macros": ["MBEDTLS_USER_CONFIG_FILE=\"source/mbedtls_thread_config.h\""],
mbed_official 0:85f4174a8e29 48 "target_overrides": {
mbed_official 0:85f4174a8e29 49 "*": {
mbed_official 0:85f4174a8e29 50 "target.features_add": ["NANOSTACK", "COMMON_PAL", "THREAD_BORDER_ROUTER"],
mbed_official 0:85f4174a8e29 51 "target.features_remove": ["LWIP"],
mbed_official 0:85f4174a8e29 52 "mbed-trace.enable": 1,
mbed_official 0:85f4174a8e29 53 "nanostack.configuration": "thread_border_router",
mbed_official 0:85f4174a8e29 54 "platform.stdio-convert-newlines": true,
mbed_official 0:85f4174a8e29 55 "platform.stdio-baud-rate": 115200
mbed_official 0:85f4174a8e29 56 },
mbed_official 0:85f4174a8e29 57 "K64F": {
mbed_official 0:85f4174a8e29 58 "LED": "LED_GREEN",
mbed_official 0:85f4174a8e29 59 "SERIAL_TX": "PTE0",
mbed_official 0:85f4174a8e29 60 "SERIAL_RX": "PTE1",
mbed_official 0:85f4174a8e29 61 "SERIAL_CTS": "PTE2",
mbed_official 0:85f4174a8e29 62 "SERIAL_RTS": "PTE3"
mbed_official 2:1411fd11ccdd 63 },
mbed_official 2:1411fd11ccdd 64 "K66F": {
mbed_official 2:1411fd11ccdd 65 "LED": "LED_GREEN"
mbed_official 0:85f4174a8e29 66 }
mbed_official 0:85f4174a8e29 67 }
mbed_official 0:85f4174a8e29 68 }