Skip to content

Commit

Permalink
Check if RX channel needs to be updated after broadcast received (ARM…
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarkko Paso authored Jan 14, 2021
1 parent fde325e commit a0bf6ae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/MAC/IEEE802_15_4/mac_pd_sap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1032,6 +1032,12 @@ int8_t mac_pd_sap_data_cb(void *identifier, arm_phy_sap_msg_t *message)
mac_fcf_sequence_t fcf_read;
const uint8_t *ptr = mac_header_parse_fcf_dsn(&fcf_read, pd_data_ind->data_ptr);

// No need to send Ack - Check if RX channel needs to be updated
if (fcf_read.ackRequested == false) {
if (rf_ptr->fhss_api) {
rf_ptr->fhss_api->data_tx_done(rf_ptr->fhss_api, false, false, 0);
}
}

//Modify link quality
if (mac_filter_modify_link_quality(rf_ptr->mac_interface_id, &fcf_read, pd_data_ind) == 1) {
Expand Down

0 comments on commit a0bf6ae

Please sign in to comment.