harlequin-tech / WiFlyHQ

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

NTP Issues #29

Closed twobit214 closed 11 years ago

twobit214 commented 11 years ago

I am using this library with arduino and the wifly shield from sparkfun. I am using the SPIUart library to communicate with the wifly device over CS, MOSI, MISO, SCLK.

I am having trouble with ntp. Most of the time, the ntp returns fine. Certain hours of the day return hour digits that are around 250. The seconds and minutes show zero in this condition It will be this way for an hour (usually observed during 20:00) and then be back to normal for remaining hours. I am not certain that all hours are correct (or incorrect).

Using ntpzone 035. Is it possible that the SPIUart library is part of the problem? Anyone else seen things similar?

twobit214 commented 11 years ago

Turned on the debugging...and found that the ntp values are coming from the wifly in bad form.

match_P: true gets: 1775: 32 2 1776: 35 5 1777: 33 3 1778: 3A : 1779: 32 2 1780: 35 5 1781: 3A : 1782: 33 3 1783: 32 2 1784: D

I will have to pursue this with the wifly shield device.