Nanostack Border Router is a generic mbed border router implementation that provides the 6LoWPAN ND or Thread border router initialization logic.
Diff: source/borderrouter_tasklet.c
- Revision:
- 13:993808eb2e9c
- Parent:
- 7:571f9a90b972
- Child:
- 37:465118eec099
--- a/source/borderrouter_tasklet.c Mon May 29 13:00:17 2017 +0100 +++ b/source/borderrouter_tasklet.c Wed May 31 09:15:44 2017 +0100 @@ -441,6 +441,7 @@ #if MBED_CONF_APP_DEBUG_TRACE == 1 arm_print_routing_table(); arm_print_neigh_cache(); + print_memory_stats(); #endif #endif eventOS_event_timer_request(9, ARM_LIB_SYSTEM_TIMER_EVENT, br_tasklet_id, 20000); @@ -464,7 +465,7 @@ /* Channel list: listen to a channel (default: all channels) */ uint32_t channel = cfg_int(global_config, "RF_CHANNEL", 0); - tr_info("RF channel: %d", channel); + tr_info("RF channel: %d", (int)channel); initialize_channel_list(channel); // configure as border router and set the operation mode