Skip to content

Commit

Permalink
Update brodcast synch when here data from primary parent.
Browse files Browse the repository at this point in the history
Change-Id: I1f596b3d678edf50ab0ea6594c65cfc69f95dfbc
  • Loading branch information
Juha Heiskanen committed Sep 26, 2018
1 parent 9e22831 commit 5e7a493
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/6LoWPAN/ws/ws_llc_data_service.c
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,11 @@ static void ws_llc_mac_indication_cb(const mac_api_t* api, const mcps_data_ind_t
ws_neighbor_class_neighbor_unicast_time_info_update(neighbor_info.ws_neighbor, &ws_utt, data->timestamp);
if (us_ie_inline) {
ws_neighbor_class_neighbor_unicast_schedule_set(neighbor_info.ws_neighbor, &us_ie);

if (neighbor_info.neighbor->link_role == PRIORITY_PARENT_NEIGHBOUR) {
// We have broadcast schedule set up set the broadcast parent schedule
ns_fhss_ws_set_parent(interface->ws_info->fhss_api, neighbor_info.neighbor->mac64, &neighbor_info.ws_neighbor->fhss_data.bc_timing_info);
}
}
//Update BT if it is part of message
ws_bt_ie_t ws_bt;
Expand Down

0 comments on commit 5e7a493

Please sign in to comment.