Skip to content

Commit a58c71b

Browse files
author
Jarkko Paso
authored
Trace level updates (#2247)
1 parent 6867dd7 commit a58c71b

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

source/6LoWPAN/ws/ws_bootstrap.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ static int ws_bootstrap_tasklet_init(protocol_interface_info_entry_t *cur)
201201
{
202202
if (cur->bootStrapId < 0) {
203203
cur->bootStrapId = eventOS_event_handler_create(&ws_bootstrap_event_handler, WS_INIT_EVENT);
204-
tr_debug("WS tasklet init");
204+
tr_info("WS tasklet init");
205205
}
206206

207207
if (cur->bootStrapId < 0) {
@@ -807,7 +807,7 @@ static int8_t ws_bootstrap_down(protocol_interface_info_entry_t *cur)
807807
return -1;
808808
}
809809

810-
tr_debug("Wi-SUN ifdown");
810+
tr_info("Wi-SUN ifdown");
811811

812812
// Reset WS information
813813
// ws_common_reset(cur)
@@ -2639,7 +2639,7 @@ static void ws_bootstrap_event_handler(arm_event_s *event)
26392639
cur->ws_info->trickle_pcs_running = false;
26402640

26412641
if (cur->bootsrap_mode == ARM_NWK_BOOTSRAP_MODE_6LoWPAN_BORDER_ROUTER) {
2642-
tr_debug("Border router start network");
2642+
tr_info("Border router start network");
26432643

26442644
if (!ws_bbr_ready_to_start(cur)) {
26452645
// Wi-SUN not started yet we wait for Border router permission

source/MAC/IEEE802_15_4/mac_mcps_sap.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1321,15 +1321,15 @@ static void mac_common_data_confirmation_handle(protocol_interface_rf_mac_setup_
13211321
timer_mac_stop(rf_mac_setup);
13221322
if (m_event == MAC_CCA_FAIL) {
13231323
sw_mac_stats_update(rf_mac_setup, STAT_MAC_TX_CCA_FAIL, 0);
1324-
tr_debug("MAC CCA fail");
1324+
tr_info("MAC CCA fail");
13251325
/* CCA fail */
13261326
//rf_mac_setup->cca_failure++;
13271327
buf->status = MLME_BUSY_CHAN;
13281328
} else {
13291329
sw_mac_stats_update(rf_mac_setup, STAT_MAC_TX_COUNT, buf->mac_payload_length);
13301330
if (m_event == MAC_TX_FAIL) {
13311331
sw_mac_stats_update(rf_mac_setup, STAT_MAC_TX_FAIL, 0);
1332-
tr_debug("MAC tx fail");
1332+
tr_info("MAC tx fail");
13331333
buf->status = MLME_TX_NO_ACK;
13341334
} else if (m_event == MAC_TX_DONE) {
13351335
if (mac_is_ack_request_set(buf) == false) {

source/NWK_INTERFACE/protocol_core.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,10 +1116,10 @@ void nwk_bootsrap_state_update(arm_nwk_interface_status_type_e posted_event, pro
11161116
default:
11171117
mac_data_poll_protocol_poll_mode_disable(cur);
11181118
if (!cur->rpl_domain) {
1119-
tr_debug("NON RPL Ready");
1119+
tr_info("NON RPL Ready");
11201120
//nwk_protocol_poll_mode_disable(cur->nwk_id, 0);
11211121
} else {
1122-
tr_debug("RPL Ready");
1122+
tr_info("RPL Ready");
11231123
}
11241124
}
11251125
} else {

source/RPL/rpl_upward.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1477,7 +1477,7 @@ void rpl_instance_run_parent_selection(rpl_instance_t *instance)
14771477
if (original_preferred != preferred_parent) {
14781478
protocol_stats_update(STATS_RPL_PARENT_CHANGE, 1);
14791479
if (preferred_parent) {
1480-
tr_debug("New preferred parent %s", trace_array(preferred_parent->ll_address, 16));
1480+
tr_info("New preferred parent %s", trace_array(preferred_parent->ll_address, 16));
14811481
}
14821482
}
14831483

0 commit comments

Comments
 (0)