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

Francisco notifications at github.com
Thu May 21 09:10:44 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 */

> But this is just the eui get function, not the one that sets the ID so the information should be irrelevant here, right?

Yes but in OpenWSN `id_manager` during `init` it calls `eui64_get` and sets `idmanager_vars.my64bID` then from that it sets `idmanager_vars.my16bID`. But I overlooked that this is also called once in `cjoin` code.  And since this was also called in `cjoin` code which made join procedure fail. 

I'll return this section to how it was before.

-- 
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_r428483955
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200521/290927b3/attachment.htm>


More information about the notifications mailing list