[riot-devel] UDP datagram sending

Mateusz Kubaszek mathir.km.riot at gmail.com
Fri Jun 10 11:17:57 CEST 2016


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 :)


More information about the devel mailing list