Hi Guys,
Is Localtime always zero in the WLAN sample for every access point?
I was thinking it would be a good way to set the clock, or keep it up
to date if the time on the access point is reliable.
There never seems to be a value in it though.
My access point does have the correct time set.
Cheers, Art.
WLAN sample Localtime
WLAN sample Localtime
If not actually, then potentially.
Is this thread related?
No, I'm not really wanting to know the time from the real time clock,
but from an access point if the time is transmitted.
If not,
then why is this trying to print about it on the screen in the WLAN sample?
but from an access point if the time is transmitted.
If not,
then why is this trying to print about it on the screen in the WLAN sample?
Code: Select all
printf("Beacon Period: %d\n", pData->beaconperiod);
printf("DTIM period: %d\n", pData->dtimperiod);
printf("Timestamp: %d\n", pData->timestamp);
printf("Local Time: %d\n", pData->localtime);
printf("Channel: %d\n", pData->channel);
printf("ATIM: %d\n", pData->atim);
printf("Capability Information: ");
If not actually, then potentially.