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

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Thu May 10 05:17:09 2018 +0100
Parent:
56:7c9ab6ef4655
Child:
58:57770852818b
Commit message:
Updating mbed-os to mbed-os-5.8.3 (#99)


.
Commit copied from https://github.com/ARMmbed/nanostack-border-router

Changed in this revision

configs/Thread_Atmel_RF.json Show annotated file Show diff for this revision Revisions of this file
configs/Thread_SLIP_Atmel_RF.json Show annotated file Show diff for this revision Revisions of this file
mbed-os.lib Show annotated file Show diff for this revision Revisions of this file
source/borderrouter_thread_tasklet.c Show annotated file Show diff for this revision Revisions of this file
--- a/configs/Thread_Atmel_RF.json	Wed Mar 28 14:30:20 2018 +0100
+++ b/configs/Thread_Atmel_RF.json	Thu May 10 05:17:09 2018 +0100
@@ -42,6 +42,7 @@
         "pskc": "{0xc8, 0xa6, 0x2e, 0xae, 0xf3, 0x68, 0xf3, 0x46, 0xa9, 0x9e, 0x57, 0x85, 0x98, 0x9d, 0x1c, 0xd0}",
         "thread-master-key": "{0x10, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff}",
         "thread-use-static-link-config": true,
+        "thread-security-policy": 255,
         "LED": "NC",
         "SERIAL_TX": "NC",
         "SERIAL_RX": "NC",
--- a/configs/Thread_SLIP_Atmel_RF.json	Wed Mar 28 14:30:20 2018 +0100
+++ b/configs/Thread_SLIP_Atmel_RF.json	Thu May 10 05:17:09 2018 +0100
@@ -44,6 +44,7 @@
         "pskc": "{0xc8, 0xa6, 0x2e, 0xae, 0xf3, 0x68, 0xf3, 0x46, 0xa9, 0x9e, 0x57, 0x85, 0x98, 0x9d, 0x1c, 0xd0}",
         "thread-master-key": "{0x10, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff}",
         "thread-use-static-link-config": true,
+        "thread-security-policy": 255,
         "LED": "NC",
         "SERIAL_TX": "NC",
         "SERIAL_RX": "NC",
--- a/mbed-os.lib	Wed Mar 28 14:30:20 2018 +0100
+++ b/mbed-os.lib	Thu May 10 05:17:09 2018 +0100
@@ -1,1 +1,1 @@
-https://github.com/ARMmbed/mbed-os/#addec7ba10054be03849eff58a1d17f157391e7d
+https://github.com/ARMmbed/mbed-os/#c05d72c3c005fbb7e92c3994c32bda45218ae7fe
--- a/source/borderrouter_thread_tasklet.c	Wed Mar 28 14:30:20 2018 +0100
+++ b/source/borderrouter_thread_tasklet.c	Thu May 10 05:17:09 2018 +0100
@@ -200,7 +200,7 @@
 
     memcpy(link_configuration->PSKc, pskc, sizeof(pskc));
     memcpy(link_configuration->master_key, master_key, sizeof(master_key));
-    link_configuration->securityPolicy = SECURITY_POLICY_ALL_SECURITY;
+    link_configuration->securityPolicy = MBED_CONF_APP_THREAD_SECURITY_POLICY;
 
     link_configuration->rfChannel = MBED_CONF_APP_RF_CHANNEL;
     tr_info("RF channel %d", link_configuration->rfChannel);