harlequin-tech / WiFlyHQ

WiFly RN-XV Arduino Library
Other
110 stars 68 forks source link

Send the "time" request #5

Closed faritka closed 12 years ago

faritka commented 12 years ago

Could you add the "time" request to the method setTimeAddress() after setting a new NTP server IP or create an additional method updateTime()?

When I change the NTP server and set enable to > 1, it doesn't connect to the NTP server immediately.

time Sets the Real time clock by synchronizing with the time server specified with the time server parameters (see section 5.9) This command sends a UDP time server request packet.

faritka commented 12 years ago

It seems that the RTC clock inside of WiFly is very inaccurate. I don't have any need in its NTP functions anymore.

I'll have to implement my own NTP call over UDP.