Skip to content

Commit

Permalink
Nanostack now indicates connection down on RPL local repair start
Browse files Browse the repository at this point in the history
  • Loading branch information
Mika Leppänen committed Nov 23, 2020
1 parent 395791d commit 102e525
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/6LoWPAN/ws/ws_bootstrap.c
Original file line number Diff line number Diff line change
Expand Up @@ -2565,6 +2565,10 @@ static void ws_bootstrap_rpl_callback(rpl_event_t event, void *handle)
*
*/

} else if (event == RPL_EVENT_LOCAL_REPAIR_START) {
tr_debug("RPL local repair start");
ws_nwk_event_post(cur, ARM_NWK_NWK_CONNECTION_DOWN);

} else if (event == RPL_EVENT_DAO_PARENT_ADD) {
ws_address_parent_update(cur);
}
Expand Down

0 comments on commit 102e525

Please sign in to comment.