WIFI V15 set time not working

Post Reply
asaf1234567
Posts: 9
Joined: Thu Nov 03, 2016 10:27 am

WIFI V15 set time not working

Post by asaf1234567 » Thu Feb 23, 2017 4:29 pm

I have a wifi board with the new V15 SW.

I am using api V027

I am using the sample code - this is my input:

H#
Start program
***************************************
Once the module is set with one or more
AP settings, it attempts to join the AP
automatically once it is powered on
Refer to example 'WIFI_PRO_01' to configure
the WiFi module with proper settings
***************************************
1. WiFi switched ON
2. WiFi is connected OK Time(ms):16653
3.1. Time Server1 set OK
3.2. Time Server2 set OK
3.3. Network Time-of-Day Activation Flag set OK
3.4. GMT set OK to 2
4. WiFi switched OFF

-----------------------------------------------------------
Once the module has the correct Time Server Settings
it is always possible to request for the Time and
synchronize it to the Waspmote's RTC
-----------------------------------------------------------

Current RTC settings:Sun, 00/03/04, 04:24:57
1. WiFi switched ON
2. WiFi is connected OK Time(ms):6697
3. Error calling 'setTimeFromWIFI' function
==> ERROR CODE: 0
4. WiFi switched OFF


Wait 10 seconds...



as you can see there is a connection but the time is not correct - why ??

libelium-dev
Posts: 27967
Joined: Mon Sep 28, 2009 1:06 pm

Re: WIFI V15 set time not working

Post by libelium-dev » Fri Feb 24, 2017 11:00 am

Hi,

Did you change the npt server? Could you please post the output with debug mode 1 enable?

Also please try to connect the WiFi module to another WiFi network.

Regards

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest