UDP connect

Support forum for MegunoLink
Post Reply
alains
Posts: 17
Joined: Mon Oct 24, 2016 5:44 pm

Sun Jan 24, 2021 10:10 pm

Hi Phil:
I'm trying to start a project using UDP. I found a schetch by Paul at:
https://www.megunolink.com/documentatio ... nnections/
and i'trying to run it on the Arduino create with a MKR 1010.
When compiling I get the error: 'cbuf no such file or directory'
What should I do?
Also does MGL support the library WiFiNINA?
Thanks
philr
Posts: 446
Joined: Mon May 26, 2014 10:58 am

Tue Jan 26, 2021 7:50 am

Hi, I'm not familiar with that board but UDP and TCP are standards so it should work fine. As for WifiNINA it looks like it supports UDP and id expect you need to use the write function to send to megunolink
https://www.arduino.cc/en/Reference/WiFiNINAUDPWrite

I'd start by manually sending and receiving data and making sure it arrives and can be sent to your device from MegunoLink. Its definitely possible our command dispatcher is not compatible with that micro. Will have to add it to the list to investigate.

Cheers
Phil
Post Reply