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 

3xx adhoc sample ?

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



Joined: 29 May 2005
Posts: 214

PostPosted: Thu Apr 10, 2008 3:13 am    Post subject: 3xx adhoc sample ? Reply with quote

Hi, there is already a few thread about 3xx adhoc help, but even with them i'm unable to use the adhoc features under the 3xx firmware to send a buffer from a client psp to a server psp.

Does someone have or can post a simple sample that will send a little buffer or string via adhoc from one psp to another under the 3xx kernel ?

Thanks in advance.
Back to top
View user's profile Send private message
pspZorba



Joined: 22 Sep 2007
Posts: 156
Location: NY

PostPosted: Thu Apr 10, 2008 4:43 am    Post subject: Reply with quote

Hi Cpasjuste,

I am about to finished that I will post my sample as soon as my code is clean.
The trickiest part is the different inits

Hope I will finished tonight.
_________________
--pspZorba--
NO to K1.5 !
Back to top
View user's profile Send private message
Cpasjuste



Joined: 29 May 2005
Posts: 214

PostPosted: Thu Apr 10, 2008 5:33 am    Post subject: Reply with quote

Thanks pspZorba, i'm usually trying to solve my problem's myself, but i am going to a dead end with this. I also do not have a lot of time to code this days, so it's really cool. Nothing urgent so take your time :)
Back to top
View user's profile Send private message
pspZorba



Joined: 22 Sep 2007
Posts: 156
Location: NY

PostPosted: Thu Apr 10, 2008 5:18 pm    Post subject: Reply with quote

Here is the code, you can download it here :
http://rapidshare.com/files/106298612/pspZorba-adhoc-ex.rar.html

you can use it as you want.

It works on fat/slim 3.90 (certainly all 3.xx). I tested it with three PSP at the same time, it should work with more.

It can be simplified, since I wanted to track the workflow I let lots of interactions with the users.

If you want to use this intensively, you will have to secure the access to the singletons, since the matching callback is called in an other thread ...

If you need more information, don't hesitate to ask.
_________________
--pspZorba--
NO to K1.5 !
Back to top
View user's profile Send private message
Cpasjuste



Joined: 29 May 2005
Posts: 214

PostPosted: Fri Apr 11, 2008 8:47 pm    Post subject: Reply with quote

Many thanks zorba, your code is very clear and simple to understand.
I'm sure it will be usefull for many of us.

Thanks again for the share.
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