[riot-notifications] [RIOT-OS/RIOT] gnrc_lorawan : Add ADR support (#15995)

Akshai M (Augustus Diode) notifications at github.com
Thu Jul 15 15:41:11 CEST 2021


@akshaim commented on this pull request.



> @@ -149,6 +150,12 @@ void gnrc_lorawan_mcps_process_downlink(gnrc_lorawan_t *mac, uint8_t *psdu,
         return;
     }
 
+    /* Check if downlink was received after an uplink that had `ADRACKReq` bit set */
+    if (mac->mcps.adr_ack_cnt >= CONFIG_LORAMAC_DEFAULT_ADR_ACK_LIMIT) {
+        DEBUG("gnrc_lorawan_mcps: ADR_ACK_CNT reset after downlink\n");
+        mac->mcps.adr_ack_cnt = 0;

This is already addressed

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15995#discussion_r670472735
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210715/0868bb31/attachment-0001.htm>


More information about the notifications mailing list