[riot-notifications] [RIOT-OS/RIOT] gnrc_lorawan: add initial support for GNRC based LoRaWAN stack (v2) (#11022)

José Alamos notifications at github.com
Wed May 22 17:05:10 CEST 2019


jia200x commented on this pull request.



> +    int i = 0;
+    uint32_t channel = 0;
+
+    while (n) {
+        if (mac->channel[i]) {
+            n--;
+            channel = mac->channel[i];
+            i++;
+        }
+    }
+    return channel;
+}
+
+void gnrc_lorawan_channels_init(gnrc_lorawan_t *mac)
+{
+    mac->channel[0] = GNRC_LORAWAN_LC_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/11022#discussion_r286540050
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190522/ba1bcd33/attachment.html>


More information about the notifications mailing list