[riot-notifications] [RIOT-OS/RIOT] pkg/openwsn: re-integrate the network stack as a package (#13824)

Francisco notifications at github.com
Wed May 20 10:29:06 CEST 2020


@fjmolinas commented on this pull request.



> + * @author      Peter Kietzmann <peter.kietzmann at haw-hamburg.de>
+ *
+ * @}
+ */
+
+#include "string.h"
+#include "eui64.h"
+
+#include "luid.h"
+#include "net/netdev.h"
+#include "net/netopt.h"
+#include "net/ieee802154.h"
+
+void eui64_get(uint8_t *addressToWrite)
+{
+    /* this will be overridden in the bootstrapping function */

I described this in https://github.com/RIOT-OS/RIOT/pull/13824#issuecomment-630679728, but maybe I could add a more detailed comment in code.

So OpenWSN recovers the eui64 and then generates a 16bit ID from that, but that ID was not unique at all for `iotla-m3`, allways `1114`, so although I provide this function I actually override the short ID and eui64 definitions in `openwsn_bootstrap()` to get the same identifiers that we use in RIOT (and in the process fix (or attenuate) the collision issue).

-- 
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/13824#discussion_r427831495
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200520/10458e68/attachment.htm>


More information about the notifications mailing list