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

Akshai M (Augustus Diode) notifications at github.com
Mon Jul 12 16:50:34 CEST 2021


@akshaim commented on this pull request.



> @@ -412,7 +444,15 @@ void gnrc_lorawan_mcps_request(gnrc_lorawan_t *mac,
     gnrc_lorawan_build_uplink(mac, pkt, waiting_for_ack,
                               mcps_request->data.port);
 
+    if (mac->mlme.pending_mlme_opts & GNRC_LORAWAN_MLME_OPTS_LINK_ADR_ANS) {
+        mac->mlme.pending_mlme_opts &= ~GNRC_LORAWAN_MLME_OPTS_LINK_ADR_ANS;
+        mac->mcps.adr_ack_cnt = 1;

Done.

-- 
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_r668000785
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210712/0cfd612d/attachment.htm>


More information about the notifications mailing list