Page 1 of 1

UDP connect

Posted: Sun Jan 24, 2021 10:10 pm
by alains
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

Re: UDP connect

Posted: Tue Jan 26, 2021 7:50 am
by philr
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