Well thought I would branch a new thread for this to try and whip up some support. APF in the subject refers to the USB Asynchronous Provider Framework (hell I just wanted a pretentious title :P) which is a system to allow you to develop PSP applications which can communicate in a low bandwidth, potentially unreliable fashion with a PC program over the USB link to PSPLINK without requiring any specialist coding. On the PSP you call a few simple functions to setup a link and on the PC write a TCP socket client to talk to usbhostfs_pc and all communications will be directed to and from the PSP.
It is unreliable only in the sense that it isn't well designed for bulk transport, if the PSP's buffer fills up data will be lost, however this is the protocol which the USB Shell and GDB use to communicate with the PC so it works pretty well for those sort of applications. If you want to send large data sets then it should be possible through the hostfs by communicating with a named pipe (at least on *nix).
I have provided two example applications (well technically four if you consider usb shell and gdb) to show off the use of the framework. One is a simple echo server which echos back data to your network client, the other is more interesting it is a remote joystick application which allows you to control the PSP's joypad from a linux PC using a normal PC joypad.
Now just a case of people thinking of something good to do with it :)
PSPLINK and the APF
-
- Posts: 8
- Joined: Wed Mar 29, 2006 1:22 pm
The idea of using an PC joypad to control the PSP, sounds like a great idea when you develop a game/application, you can leave it in the cradle and not have to take it up every time you test your game/application.
I am using Windows not Linux, I would have to modify it but a linux version is a good start, I could modify it.
I am using Windows not Linux, I would have to modify it but a linux version is a good start, I could modify it.
Well the reason it is currently linux only is down to the fact that stuff like reading in joystick data tends to be very OS specific and I dont feel like writing a windows client to do it. However to reimplement it should be pretty simple, all you need to do is have an app capture joystick events (say from DirectInput) wrap them in a simple packet and write them to a TCP socket, you could technically run linux in vmware run the client on that and talk to the windows pc hosting the usbhostfs :)
I am waiting for the day when someone sets up a webcam and remotely plays a game on the PSP from the other side of the world :)
I am waiting for the day when someone sets up a webcam and remotely plays a game on the PSP from the other side of the world :)
I thought I told you on irc that I'm just waiting for you to setup a webcam with your psp ;)TyRaNiD wrote: I am waiting for the day when someone sets up a webcam and remotely plays a game on the PSP from the other side of the world :)
Shoot Pixels Not People!
Makeshift Development
Makeshift Development