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

Akshai M (Augustus Diode) notifications at github.com
Fri Jul 16 18:38:12 CEST 2021

@akshaim commented on this pull request.

> @@ -107,6 +108,7 @@ void gnrc_lorawan_reset(gnrc_lorawan_t *mac)
     dev->driver->set(dev, NETOPT_RX_TIMEOUT, &rx_timeout, sizeof(rx_timeout));
+    mac->last_dr = CONFIG_LORAMAC_DEFAULT_DR;

`mac->last_dr ` gets the data from `mcps_request->data.dr;` , in case there is no ADR. If there is ADR, the value cannot be set by upper layer still for the first uplink there needs to be a default value.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210716/0f6dfd01/attachment.htm>

More information about the notifications mailing list