
Nanostack Border Router is a generic mbed border router implementation that provides the 6LoWPAN ND or Thread border router initialization logic.
Diff: source/borderrouter_helpers.c
- Revision:
- 82:3d9e3b7b3dcf
- Parent:
- 69:a8a0ac9f3f8a
--- a/source/borderrouter_helpers.c Thu Nov 22 11:15:40 2018 +0000 +++ b/source/borderrouter_helpers.c Fri Nov 23 14:45:35 2018 +0000 @@ -43,22 +43,16 @@ return str; } -void print_appl_info(void) -{ - tr_info("Starting NanoStack Border Router..."); - tr_info("Build date: %s %s", __DATE__, __TIME__); -} - void print_memory_stats(void) { const mem_stat_t *heap_info = ns_dyn_mem_get_mem_stat(); if (heap_info) { tr_info( "Heap size: %lu, Reserved: %lu, Reserved max: %lu, Alloc fail: %lu" - ,(unsigned long)heap_info->heap_sector_size - ,(unsigned long)heap_info->heap_sector_allocated_bytes - ,(unsigned long)heap_info->heap_sector_allocated_bytes_max - ,(unsigned long)heap_info->heap_alloc_fail_cnt); + , (unsigned long)heap_info->heap_sector_size + , (unsigned long)heap_info->heap_sector_allocated_bytes + , (unsigned long)heap_info->heap_sector_allocated_bytes_max + , (unsigned long)heap_info->heap_alloc_fail_cnt); } }