Hi everyone,
I'm trying to get communication working between Linux and RIOT OS with UDP sockets.
My hardware setup is composed by a UDOONeo board and a Nucleo-F303RE. Both are embedding a MRF24J40MD. The UDOONeo uses kernel 4.1 and wpan-tools 0.8. On the Nucleo-F303RE, I'm using RIOT OS 2018.10.
With "udp send <ipv6_address> <port> <message>" command from example "gnrc_networking", I'm able to retrieve messages sent from RIOT OS to Linux with this Python script : https://pastebin.com/Zg7SZdFF
In the opposite direction (Linux -> RIOT OS), I can't receive any messages. Here's the code of the small application : https://pastebin.com/zVEZD4Lm
I'm never entering the part of the code with send_ack() and handle_udp_command(). This snippet works perfectly from another RIOT OS instance on a Nucleo-F303RE. The Python script used to send packets from Linux : https://pastebin.com/yufGytsv
It seems that my Python script sends to a 802.15.4 broadcast short address and the destination & source addresses are included in the payload of the frame.
Does anyone have any clue to my issue ? Or a better solution. My snippet for RIOT OS is almost the same as the UDP Sock API examples.
Best regards
Joel