From 6679db46ffc11cf2aa2c3e7b402dfec202fd445b Mon Sep 17 00:00:00 2001 From: Jarkko Paso Date: Fri, 19 Oct 2018 11:32:27 +0300 Subject: [PATCH] WS bootstrap: traces to hop calculation --- source/6LoWPAN/ws/ws_bootstrap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/6LoWPAN/ws/ws_bootstrap.c b/source/6LoWPAN/ws/ws_bootstrap.c index c19ce516778..5785a8cbd4a 100644 --- a/source/6LoWPAN/ws/ws_bootstrap.c +++ b/source/6LoWPAN/ws/ws_bootstrap.c @@ -1469,6 +1469,7 @@ static void ws_set_fhss_hop(protocol_interface_info_entry_t *cur) // Calculate own hop count. This method gets inaccurate when hop count increases. uint8_t own_hop = (own_rank - rank_inc) / rank_inc; ns_fhss_ws_set_hop_count(cur->ws_info->fhss_api, own_hop); + tr_debug("own hop: %u, own rank: %u, rank inc: %u", own_hop, own_rank, rank_inc); } static void ws_address_registration_update(protocol_interface_info_entry_t *interface)