Sending Datapackage without Shell scripting

Hi together, I’m currently learning Riot OS, but unfortunately, I couldn’t find any information for what I’m looking for. I want to send data via CC2538 but without typing anything into the shell. When I run examples/gnrc_networking, I have to start UDP Server (listener), and on the other, I have to send the data per shell command.

How can I simple initialize the device and broadcast a data package? Thank you in advance.

Best Mirco

Hi Mirco,

and welcome to RIOT! As far as I know there is no example in the repository but a clear documentation about how to use our networking interface 'sock'. Please check this site first:

http://riot-os.org/api/group__net__sock__udp.html

Cheers Peter