Problem with GNRC functions

Hello,

TL;DR: Can someone review my function at [1] and told me if I screwed something ? (was based on the TFTP example)

Hi people!

Seems I was able to catch the problem: IT was indeed the gnrc_netapi_dispatch_send() function.

I added “xtimer_usleep(9000000)” before the function and now the program works fine.

The UDP messages are still requesting the 802.15.4 ACK. However, the issue of the retransmission disappear completely

The 9 secs of waiting, was an arbitrary value, was my first try to give enough time to the client to for sending and receiving at least two messages from the server. But, then I have a question, why was this happening? is a limitation of RIOT?

Sincerely, Raul Fuentes