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:
Wed May 10 12:00:20 2017 +0100
Revision:
7:571f9a90b972
Parent:
0:85f4174a8e29
Child:
82:3d9e3b7b3dcf
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

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 0:85f4174a8e29 1 /*
mbed_official 0:85f4174a8e29 2 * Copyright (c) 2016 ARM Limited. All rights reserved.
mbed_official 0:85f4174a8e29 3 */
mbed_official 0:85f4174a8e29 4
mbed_official 0:85f4174a8e29 5
mbed_official 0:85f4174a8e29 6 #ifndef BORDERROUTER_TASKLET_H
mbed_official 0:85f4174a8e29 7 #define BORDERROUTER_TASKLET_H
mbed_official 0:85f4174a8e29 8
mbed_official 0:85f4174a8e29 9 #ifdef __cplusplus
mbed_official 0:85f4174a8e29 10 extern "C"
mbed_official 0:85f4174a8e29 11 {
mbed_official 0:85f4174a8e29 12 #endif
mbed_official 0:85f4174a8e29 13
mbed_official 0:85f4174a8e29 14 /**
mbed_official 0:85f4174a8e29 15 * Initializes the backhaul driver. MUST be implemented by the application.
mbed_official 0:85f4174a8e29 16 */
mbed_official 0:85f4174a8e29 17 void backhaul_driver_init(void (*backhaul_driver_status_cb)(uint8_t, int8_t));
mbed_official 0:85f4174a8e29 18
mbed_official 0:85f4174a8e29 19 /**
mbed_official 0:85f4174a8e29 20 * Initializes the border router module: loads configuration and
mbed_official 0:85f4174a8e29 21 * initiates bootstrap for the RF 6LoWPAN and backhaul interfaces.
mbed_official 0:85f4174a8e29 22 */
mbed_official 7:571f9a90b972 23 void border_router_tasklet_start(void);
mbed_official 0:85f4174a8e29 24
mbed_official 0:85f4174a8e29 25 #ifdef __cplusplus
mbed_official 0:85f4174a8e29 26 }
mbed_official 0:85f4174a8e29 27 #endif
mbed_official 0:85f4174a8e29 28
mbed_official 0:85f4174a8e29 29 #endif /* BORDERROUTER_TASKLET_H */