WLAN sample Localtime

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Art
Posts: 642
Joined: Wed Nov 09, 2005 8:01 am

WLAN sample Localtime

Post by Art »

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.
If not actually, then potentially.
StrmnNrmn
Posts: 46
Joined: Wed Feb 14, 2007 11:32 pm
Location: London, UK
Contact:

Post by StrmnNrmn »

Is this thread related?
Art
Posts: 642
Joined: Wed Nov 09, 2005 8:01 am

Post by Art »

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?

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.
Post Reply