[riot-notifications] [RIOT-OS/RIOT] net/BLE: add support for RPL-over-BLE (#16364)

Hauke Petersen notifications at github.com
Wed Aug 18 13:12:22 CEST 2021


@haukepetersen commented on this pull request.



> +                                 *   connection */
+
+    /* time the node searches and ranks potential parents
+     * -> itvl := rand([eval_itvl:2*eval_itvl)) */
+    uint32_t eval_itvl_min;     /**< amount of time a node searches for
+                                 *   potential parents, lower bound */
+    uint32_t eval_itvl_max;     /**< amount of time a node searches for
+                                 *   potential parents, upper bound */
+} nimble_rpble_cfg_t;
+
+/**
+ * @brief   RPL DODAG information
+ */
+typedef struct {
+    uint8_t inst_id;            /**< instance ID */
+    uint8_t dodag_id[16];       /**< DODAG ID */

Unfortunately this will not work. When including `net/ipv6/addr.h` in `nimble_rpble.h` it will lead to collisions between RIOTs `byteorder.h` and NimBLE`s `byteorder.h` -> the nimble variant is pulled in by the `nimble_netif` dependency in the same file. So as of now, we need to be careful when missing NimBLE and RIOT deps...

-- 
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/16364#discussion_r691137490
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210818/dea430cc/attachment-0001.htm>


More information about the notifications mailing list