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

José Alamos notifications at github.com
Mon Jul 12 15:56:57 CEST 2021

@jia200x commented on this pull request.

> @@ -345,6 +346,10 @@ static int _set(gnrc_netif_t *netif, const gnrc_netapi_opt_t *opt)
     switch (opt->opt) {
+        case NETOPT_LORAWAN_ADR:
+            assert(opt->data_len == sizeof(netopt_enable_t));
+            netif->lorawan.adr = *((netopt_enable_t *)opt->data);

please remember to add a "get" counterpart.

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/20210712/7d4579c7/attachment.htm>

More information about the notifications mailing list