Open Joshydewitte opened 2 years ago
Hi, Please try this code. This library is compatible. https://github.com/bportaluri/WiFiEsp/blob/master/examples/UdpNTPClient/UdpNTPClient.ino Thanks. Best regards, ZAMZURI Cytron Technologies Sdn Bhd 1, Lorong Industri Impian 1, Taman Industri Impian, 14000 Bukit Mertajam Penang. Tel: +604-548 0668 Fax: +604-548 0669 URL: www.cytron.io Facebook: www.facebook.com/cytrontech
On
Mon, 9 May at 3:07 AM
, CytronTechnologies/CytronWiFiShield ***@***.***> wrote:
I had ntp time working on a ethernet shield because there is alot of support and information about that shield. However when I try to do the same for the wifi shield I notice that other shields import a library to use the UDP port and I haven't seen that for the cytron wifi shield. Now I don't have the full knowledge of internet connections, libraries and programming but if you could help me out in any way I'd appreciate it, so my questions are: Is there a way this shield supports incomming udp connections? Or is there another way to achieve the same result. Thanks in advance.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hi, Please try this code. This library is compatible. https://github.com/bportaluri/WiFiEsp/blob/master/examples/UdpNTPClient/UdpNTPClient.ino Thanks. Best regards, ZAMZURI Cytron Technologies Sdn Bhd 1, Lorong Industri Impian 1, Taman Industri Impian, 14000 Bukit Mertajam Penang. Tel: +604-548 0668 Fax: +604-548 0669 URL: www.cytron.io Facebook: www.facebook.com/cytrontech On Mon, 9 May at 3:07 AM , CytronTechnologies/CytronWiFiShield @.> wrote: I had ntp time working on a ethernet shield because there is alot of support and information about that shield. However when I try to do the same for the wifi shield I notice that other shields import a library to use the UDP port and I haven't seen that for the cytron wifi shield. Now I don't have the full knowledge of internet connections, libraries and programming but if you could help me out in any way I'd appreciate it, so my questions are: Is there a way this shield supports incomming udp connections? Or is there another way to achieve the same result. Thanks in advance. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.>
Thanks for your fast response.
Unfortunatly the arduino with Cytron's Wifi Shield crashes as soon as the program reaches Udp.begin(localPort);. The program I test with is a slightly editted version of the udpNTPclient example from https://github.com/bportaluri/WiFiEsp/blob/master/examples/UdpNTPClient/UdpNTPClient.ino
I tinkered a little with the code so I know it connected to my wifi. After that it does the Udp.begin but immediatly restarts connecting.
Is this the still the library I need to try?
I had ntp time working on a ethernet shield because there is alot of support and information about that shield. However when I try to do the same for the wifi shield I notice that other shields import a library to use the UDP port and I haven't seen that for the cytron wifi shield.
Now I don't have the full knowledge of internet connections, libraries and programming but if you could help me out in any way I'd appreciate it, so my questions are: Is there a way this shield supports incomming udp connections? Or is there another way to achieve the same result.
Thanks in advance.