Skip to content

Commit

Permalink
Changed debug traces to info traces
Browse files Browse the repository at this point in the history
  • Loading branch information
Mika Leppänen committed Feb 25, 2019
1 parent 1c45286 commit 0bee3db
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions source/6LoWPAN/ws/ws_pae_supp.c
Expand Up @@ -101,8 +101,8 @@ typedef struct {
static trickle_params_t auth_trickle_params = {
.Imin = TRICKLE_IMIN_120_SECS, /* 120 second; ticks are 100ms */
.Imax = TRICKLE_IMIN_120_SECS << 1, /* 240 second */
.k = 0, /* infinity - no consistency checking */
.TimerExpirations = 3
.k = 0, /* infinity - no consistency checking */
.TimerExpirations = 3
};

static void ws_pae_supp_free(pae_supp_t *pae_supp);
Expand Down
4 changes: 2 additions & 2 deletions source/Security/protocols/fwh_sec_prot/auth_fwh_sec_prot.c
Expand Up @@ -327,7 +327,7 @@ static void auth_fwh_sec_prot_state_machine(sec_prot_t *prot)

// Wait KMP-CREATE.request
case FWH_STATE_CREATE_REQ:
tr_debug("4WH: start, eui-64: %s", trace_array(sec_prot_remote_eui_64_addr_get(prot), 8));
tr_info("4WH: start, eui-64: %s", trace_array(sec_prot_remote_eui_64_addr_get(prot), 8));

uint8_t *pmk = sec_prot_keys_pmk_get(prot->sec_keys);
if (!pmk) { // If PMK is not set fails
Expand Down Expand Up @@ -402,7 +402,7 @@ static void auth_fwh_sec_prot_state_machine(sec_prot_t *prot)
break;

case FWH_STATE_FINISH:
tr_debug("4WH: finish, eui-64: %s", trace_array(sec_prot_remote_eui_64_addr_get(prot), 8));
tr_info("4WH: finish, eui-64: %s", trace_array(sec_prot_remote_eui_64_addr_get(prot), 8));

// KMP-FINISHED.indication,
prot->finished_ind(prot, sec_prot_result_get(&data->common), 0);
Expand Down
4 changes: 2 additions & 2 deletions source/Security/protocols/gkh_sec_prot/auth_gkh_sec_prot.c
Expand Up @@ -278,7 +278,7 @@ static void auth_gkh_sec_prot_state_machine(sec_prot_t *prot)

// Wait KMP-CREATE.request
case GKH_STATE_CREATE_REQ:
tr_debug("GKH start, eui-64: %s", trace_array(sec_prot_remote_eui_64_addr_get(prot), 8));
tr_info("GKH start, eui-64: %s", trace_array(sec_prot_remote_eui_64_addr_get(prot), 8));

prot->timer_start(prot);

Expand Down Expand Up @@ -312,7 +312,7 @@ static void auth_gkh_sec_prot_state_machine(sec_prot_t *prot)
break;

case GKH_STATE_FINISH:
tr_debug("GKH finish, eui-64: %s", trace_array(sec_prot_remote_eui_64_addr_get(prot), 8));
tr_info("GKH finish, eui-64: %s", trace_array(sec_prot_remote_eui_64_addr_get(prot), 8));

// KMP-FINISHED.indication,
prot->finished_ind(prot, sec_prot_result_get(&data->common), 0);
Expand Down

0 comments on commit 0bee3db

Please sign in to comment.