Hi Mateusz,

nice! I was just about to start looking into it. For the next time I recommend to work in branches. (i) It is the "RIOT-way" and (ii) it makes reviewing your changes a lot easier.

Cheers
Peter

Am 10.06.2016 um 11:17 schrieb Mateusz Kubaszek:
Problem solved,

It was caused by netreg registering. The msg queue initialization is
performed inside the thread, so if it has lower priority or the
scheduler is not called after thread creation the gnrc_netreg_register()
fails.

The solution was to register this thread after message queue
initialization. So after i placed the gnrc_netreg_register() inside the
thread function all works fine.

Many thanks :)
_______________________________________________
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel

--
Peter Kietzmann

Hamburg University of Applied Sciences
Dept. Informatik, Internet Technologies Group
Berliner Tor 7, 20099 Hamburg, Germany
Fon: +49-40-42875-8426
Web: http://www.haw-hamburg.de/inet
_______________________________________________
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel

Reply via email to