[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:06:12 CEST 2019


jia200x commented on this pull request.



> +            if (mac->mcps.nb_trials-- == 0) {
+                _end_of_tx(mac, MCPS_CONFIRMED, -ETIMEDOUT);
+            }
+        }
+        else {
+            _end_of_tx(mac, state, GNRC_LORAWAN_REQ_STATUS_SUCCESS);
+        }
+
+        mac->msg.type = MSG_TYPE_MCPS_ACK_TIMEOUT;
+        if (mac->mcps.outgoing_pkt) {
+            xtimer_set_msg(&mac->rx, 1000000 + random_uint32_range(0, 2000000), &mac->msg, thread_getpid());
+        }
+    }
+}
+
+void gnrc_lorawan_mcps_request(gnrc_lorawan_t *mac, mcps_request_t *mcps_request, mcps_confirm_t *mcps_confirm)

are you OK with this statement?

-- 
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_r286540601
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190522/536370cd/attachment.html>


More information about the notifications mailing list