3xx adhoc sample ?

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

Moderators: cheriff, TyRaNiD

Post Reply
Cpasjuste
Posts: 214
Joined: Sun May 29, 2005 8:28 am

3xx adhoc sample ?

Post by Cpasjuste »

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.
pspZorba
Posts: 156
Joined: Sat Sep 22, 2007 11:45 am
Location: NY

Post by pspZorba »

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 !
Cpasjuste
Posts: 214
Joined: Sun May 29, 2005 8:28 am

Post by Cpasjuste »

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 :)
pspZorba
Posts: 156
Joined: Sat Sep 22, 2007 11:45 am
Location: NY

Post by pspZorba »

Here is the code, you can download it here :
http://rapidshare.com/files/106298612/p ... x.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 !
Cpasjuste
Posts: 214
Joined: Sun May 29, 2005 8:28 am

Post by Cpasjuste »

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