Nanostack Border Router is a generic mbed border router implementation that provides the 6LoWPAN ND or Thread border router initialization logic.
Diff: source/border_router_main.cpp
- Revision:
- 82:3d9e3b7b3dcf
- Parent:
- 65:92e581c01e8c
- Child:
- 93:6c98c32f59e1
diff -r afdeda18ff0c -r 3d9e3b7b3dcf source/border_router_main.cpp --- a/source/border_router_main.cpp Thu Nov 22 11:15:40 2018 +0000 +++ b/source/border_router_main.cpp Fri Nov 23 14:45:35 2018 +0000 @@ -84,7 +84,7 @@ #endif /** - * \brief Initializes the SLIP MAC backhaul driver. + * \brief Initializes the MAC backhaul driver. * This function is called by the border router module. */ void backhaul_driver_init(void (*backhaul_driver_status_cb)(uint8_t, int8_t)) @@ -161,6 +161,16 @@ #undef EMAC } + +void appl_info_trace(void) +{ + tr_info("Starting NanoStack Border Router..."); + tr_info("Build date: %s %s", __DATE__, __TIME__); +#ifdef MBED_MAJOR_VERSION + tr_info("Mbed OS version: %d.%d.%d\n", MBED_MAJOR_VERSION, MBED_MINOR_VERSION, MBED_PATCH_VERSION); +#endif +} + /** * \brief The entry point for this application. * Sets up the application and starts the border router module.