forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

WLAN sample Localtime

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Art



Joined: 09 Nov 2005
Posts: 647

PostPosted: Mon Dec 17, 2007 7:52 pm    Post subject: WLAN sample Localtime Reply with quote

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
View user's profile Send private message
StrmnNrmn



Joined: 14 Feb 2007
Posts: 46
Location: London, UK

PostPosted: Tue Dec 18, 2007 1:28 am    Post subject: Reply with quote

Is this thread related?
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Art



Joined: 09 Nov 2005
Posts: 647

PostPosted: Tue Dec 18, 2007 2:21 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
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