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:
Fri Aug 31 14:00:24 2018 +0100
Parent:
74:377b5407236c
Child:
76:35bfdfdb6024
Commit message:
Remove external connectivity drivers

These drivers will be provided by Mbed OS 5.10 or can be manually added.

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

Changed in this revision

Jenkinsfile Show annotated file Show diff for this revision Revisions of this file
README.md Show annotated file Show diff for this revision Revisions of this file
drivers/atmel-rf-driver.lib Show diff for this revision Revisions of this file
drivers/mcr20a-rf-driver.lib Show diff for this revision Revisions of this file
--- a/Jenkinsfile	Mon Aug 27 10:45:25 2018 +0100
+++ b/Jenkinsfile	Fri Aug 31 14:00:24 2018 +0100
@@ -66,6 +66,8 @@
         dir("nanostack-border-router") {
           checkout scm
           execute("mbed deploy --protocol ssh")
+          execute ("mbed add mcr20a-rf-driver")
+          execute ("mbed add atmel-rf-driver")
           // Update mbed-os revision if requested
           if (params.mbed_os_revision != '') {
             dir ("mbed-os") {
--- a/README.md	Mon Aug 27 10:45:25 2018 +0100
+++ b/README.md	Fri Aug 31 14:00:24 2018 +0100
@@ -26,6 +26,7 @@
 
 1. Clone this repository.
 1. Run `mbed deploy`.
+1. Add connectivity driver, if not provided by Mbed OS
 1. Select target platform.
 1. Select toolchain.
 1. Configure.
@@ -45,6 +46,20 @@
 $ mbed compile
 ```
 
+### Adding connectivity driver
+
+This application requires 802.15.4 RF driver to be provided for the networking stack. Driver can be either external, or provided by the Mbed OS.
+
+External driver can be added by calling
+
+```
+mbed add <driver>
+```
+
+For example MCR20A RF driver is added by calling `mbed add mcr20a-rf-driver`
+
+Atmel AT86RF driver is added by calling `mbed add atmel-rf-driver`
+
 ## Selecting the target platform
 
 The target platform is the hardware on which the border router runs. There are number of target platforms already available for you in the mbed OS.
--- a/drivers/atmel-rf-driver.lib	Mon Aug 27 10:45:25 2018 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-https://github.com/ARMmbed/atmel-rf-driver/#ca9782e68f5f47680b7ec82c3dcb60a98dd8e361
--- a/drivers/mcr20a-rf-driver.lib	Mon Aug 27 10:45:25 2018 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-https://github.com/ARMmbed/mcr20a-rf-driver/#93661a696735279590378e6abef1d689799b713e