Open kiabonov opened 5 years ago
I see this is more complicated than I thought. I'm trying to send binary data from Matlab to Arduino via ESP-link. To change protocol in Matlab it comes down to changing function name from tcpip to udp, and to be honest in case of ESP-Link I have no clue how to use this example just to read the binary data. But thanks anyway.
maybe this example is too complicated but you need
int err = udp.begin(udpServer, udpPort, SOCKET_UDP, udpCb);
and udpCb for. data receive
Thank You, I will try.
maybe you can also check ELClientSocket.cpp for clue, you can find there some examples
Are the ESP-Link from Jeelabs or any of it's forks able to comunicate using UDP protocol ? If so, how to configure the ESP-Link to use UDP instead of TCP ?