Skip to content

Commit 24c5c58

Browse files
author
Hasnain Virk
committed
Mark an error in post processing if ack not recvd
If an ack is not received after maximum retries, we need to mark an error which was missing from the post processing sequence.
1 parent 465fb44 commit 24c5c58

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

features/lorawan/lorastack/mac/LoRaMac.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,8 @@ void LoRaMac::post_process_mcps_req()
170170
if (_params.is_ul_frame_counter_fixed == false) {
171171
_params.ul_frame_counter++;
172172
}
173+
} else {
174+
_mcps_confirmation.status = LORAMAC_EVENT_INFO_STATUS_ERROR;
173175
}
174176
} else {
175177
//UNCONFIRMED or PROPRIETARY

0 commit comments

Comments
 (0)