[riot-notifications] [RIOT-OS/RIOT] pkg/nimble: add IP-over-BLE support via netif/GNRC (#11578)

Hauke Petersen notifications at github.com
Tue Jun 4 14:24:11 CEST 2019


haukepetersen commented on this pull request.



> +#include "nimble_riot.h"
+#include "host/ble_gap.h"
+#include "host/util/util.h"
+
+#define ENABLE_DEBUG            (0)
+#include "debug.h"
+
+#ifdef MODULE_GNRC_SIXLOWPAN
+#define NETTYPE                 GNRC_NETTYPE_SIXLOWPAN
+#else
+#define NETTYPE                 GNRC_NETTYPE_UNDEF
+#endif
+
+/* maximum packet size for IPv6 packets */
+#ifndef NIMBLE_NETIF_IPV6_MTU
+#define NIMBLE_NETIF_IPV6_MTU    (1280U)    /* as specified in RFC7668 */

Having some more fine grained control here is quite useful, as the netif wrapper is used e.g. for CCNlite, also. But I moved this define into the header using `IPV6_MIN_MTU` as default value now.

-- 
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/11578#discussion_r290268392
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190604/7806de37/attachment.html>


More information about the notifications mailing list