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

José Alamos notifications at github.com
Tue May 14 16:28:40 CEST 2019


jia200x commented on this pull request.



> +#include "net/lora.h"
+#include "net/gnrc/lorawan/lorawan.h"
+#include "errno.h"
+#include "net/gnrc/pktbuf.h"
+
+#include "net/lorawan/hdr.h"
+#include "net/gnrc/lorawan/region.h"
+
+#define ENABLE_DEBUG    (0)
+#include "debug.h"
+
+#define _DRIFT_FACTOR (1000000 * 100 / (100 + CONFIG_GNRC_LORAWAN_TIMER_DRIFT))
+
+static inline void _set_rx2_dr(gnrc_lorawan_t *mac, uint8_t rx2_dr)
+{
+    mac->dl_settings &= 0xF0;

Fixed

-- 
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_r283827904
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190514/279291aa/attachment.html>


More information about the notifications mailing list