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:
Wed May 10 12:00:20 2017 +0100
Parent:
6:3c1f873ebe0b
Child:
8:3ef62d41217b
Commit message:
Rename border_router_start() to border_router_tasklet_start() (#31)

This is to prevent API collision with internal Nanostack API
when compiling against sources of Nanostack.
.
Commit copied from https://github.com/ARMmbed/nanostack-border-router

Changed in this revision

source/border_router_main.cpp Show annotated file Show diff for this revision Revisions of this file
source/borderrouter_tasklet.c Show annotated file Show diff for this revision Revisions of this file
source/borderrouter_tasklet.h 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/source/border_router_main.cpp	Mon May 08 11:15:20 2017 +0100
+++ b/source/border_router_main.cpp	Wed May 10 12:00:20 2017 +0100
@@ -128,7 +128,7 @@
     if (MBED_CONF_APP_LED != NC) {
         led_ticker.attach_us(toggle_led1, 500000);
     }
-    border_router_start();
+    border_router_tasklet_start();
 }
 
 /**
--- a/source/borderrouter_tasklet.c	Mon May 08 11:15:20 2017 +0100
+++ b/source/borderrouter_tasklet.c	Wed May 10 12:00:20 2017 +0100
@@ -115,7 +115,7 @@
 static int8_t rf_interface_init(void);
 static void load_config(void);
 
-void border_router_start(void)
+void border_router_tasklet_start(void)
 {
     load_config();
     net_init_core();
--- a/source/borderrouter_tasklet.h	Mon May 08 11:15:20 2017 +0100
+++ b/source/borderrouter_tasklet.h	Wed May 10 12:00:20 2017 +0100
@@ -20,7 +20,7 @@
  * Initializes the border router module: loads configuration and
  * initiates bootstrap for the RF 6LoWPAN and backhaul interfaces.
  */
-void border_router_start(void);
+void border_router_tasklet_start(void);
 
 #ifdef __cplusplus
 }
--- a/source/borderrouter_thread_tasklet.c	Mon May 08 11:15:20 2017 +0100
+++ b/source/borderrouter_thread_tasklet.c	Wed May 10 12:00:20 2017 +0100
@@ -366,7 +366,7 @@
     }
 }
 
-void border_router_start(void)
+void border_router_tasklet_start(void)
 {
     net_init_core();
     thread_rf_init();