Skip to content

Commit a0bf6ae

Browse files
author
Jarkko Paso
authored
Check if RX channel needs to be updated after broadcast received (ARMmbed#2539)
1 parent fde325e commit a0bf6ae

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

source/MAC/IEEE802_15_4/mac_pd_sap.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,6 +1032,12 @@ int8_t mac_pd_sap_data_cb(void *identifier, arm_phy_sap_msg_t *message)
10321032
mac_fcf_sequence_t fcf_read;
10331033
const uint8_t *ptr = mac_header_parse_fcf_dsn(&fcf_read, pd_data_ind->data_ptr);
10341034

1035+
// No need to send Ack - Check if RX channel needs to be updated
1036+
if (fcf_read.ackRequested == false) {
1037+
if (rf_ptr->fhss_api) {
1038+
rf_ptr->fhss_api->data_tx_done(rf_ptr->fhss_api, false, false, 0);
1039+
}
1040+
}
10351041

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

0 commit comments

Comments
 (0)