 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
Art
Joined: 09 Nov 2005 Posts: 647
|
Posted: Mon Dec 17, 2007 7:52 pm Post subject: WLAN sample Localtime |
|
|
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. |
|
| Back to top |
|
 |
StrmnNrmn
Joined: 14 Feb 2007 Posts: 46 Location: London, UK
|
Posted: Tue Dec 18, 2007 1:28 am Post subject: |
|
|
| Is this thread related? |
|
| Back to top |
|
 |
Art
Joined: 09 Nov 2005 Posts: 647
|
Posted: Tue Dec 18, 2007 2:21 am Post subject: |
|
|
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: |
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. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|