psppet, how far did you go in your research on ad hoc connection ?
Is it possible now to make a ftp client on one psp (ftp server on the other) and communicate directly ?
DHCP is not a priority.
How can i help ?
psppet: I want to help with adhoc connections.
"Infrastructure Mode" can work without Access Poin
> psppet, how far did you go in your research on ad hoc connection ?
General rule: if a question specific to me, please send email. However this topic may be interesting to many people.
=====
> Is it possible now to make a ftp client on one psp (ftp server on the other) and communicate directly ?
Yes,
"Infrastructure Mode" can work without an Access Point!
In this context "ad hoc" means two things. I'm going to invent a new term called "game-sharing-adhoc" to distinguish it from the regular WiFi peer-to-peer adhoc connection.
The PSP network functions support two variants: Infrastructure/Access Point "sceNetApctl", and game-sharing-adhoc "sceNetAdhoc"/"sceNetAdhocctl". The Network configuration options are separate under "Network Settings".
My current released samples use the first one (sceNetApctl). In general that's what most FTP-like programs will use (using standard sockets interface).
FWIW: I do have the basic init for game-sharing-adhoc working - but I stopped working on it when I found out it was the wrong one I needed. May get back to it later.
=====================
Now the confusing (and enlightening) part:
The PSP "Infrastructure Mode" can be configured to work in a WiFi adhoc network ! (aka peer-to-peer) - ie. if you don't own a WiFi "Access Point"
Create an "Infrastructure Mode" configuration on your PSP under "Network Settings". Fill everything in manually (the SSID, WEP, Manual IP address and range, give it a fake Router/DNS). Scanning for networks won't work. When you test it it should pass if there is another peer-to-peer WiFi device in the room with compatible settings. It takes a little longer to test and should report "Internet Connection: Failed" at the bottom. Everything else is working.
Now use it with any of the WiFi samples out there, and it should work.
Of course any program that needs to go to the Internet will fail (but there are internet sharing options for that which I won't go into here)
BTW: the next version of my wifi sample will have a connection picker to make this easier. For now having this as the one and *only* connection is the way to go (BTW: it will filter out the DHCP connections - since I haven't fixed that problem yet)
----
Finally, having two battery powered devices talking peer-to-peer WiFi can be tricky. Sometimes it helps to have a PC also acting as an additional peer (even if not used). In the specific case of PSP talking to an AIBO it can be trickier (AIBO must find the WiFi radio signal at startup, otherwise it gives up to save battery)
Overall having an access point in the room makes the radio arbitrartion much better (it doesn't have to be attached to the Internet)
General rule: if a question specific to me, please send email. However this topic may be interesting to many people.
=====
> Is it possible now to make a ftp client on one psp (ftp server on the other) and communicate directly ?
Yes,
"Infrastructure Mode" can work without an Access Point!
In this context "ad hoc" means two things. I'm going to invent a new term called "game-sharing-adhoc" to distinguish it from the regular WiFi peer-to-peer adhoc connection.
The PSP network functions support two variants: Infrastructure/Access Point "sceNetApctl", and game-sharing-adhoc "sceNetAdhoc"/"sceNetAdhocctl". The Network configuration options are separate under "Network Settings".
My current released samples use the first one (sceNetApctl). In general that's what most FTP-like programs will use (using standard sockets interface).
FWIW: I do have the basic init for game-sharing-adhoc working - but I stopped working on it when I found out it was the wrong one I needed. May get back to it later.
=====================
Now the confusing (and enlightening) part:
The PSP "Infrastructure Mode" can be configured to work in a WiFi adhoc network ! (aka peer-to-peer) - ie. if you don't own a WiFi "Access Point"
Create an "Infrastructure Mode" configuration on your PSP under "Network Settings". Fill everything in manually (the SSID, WEP, Manual IP address and range, give it a fake Router/DNS). Scanning for networks won't work. When you test it it should pass if there is another peer-to-peer WiFi device in the room with compatible settings. It takes a little longer to test and should report "Internet Connection: Failed" at the bottom. Everything else is working.
Now use it with any of the WiFi samples out there, and it should work.
Of course any program that needs to go to the Internet will fail (but there are internet sharing options for that which I won't go into here)
BTW: the next version of my wifi sample will have a connection picker to make this easier. For now having this as the one and *only* connection is the way to go (BTW: it will filter out the DHCP connections - since I haven't fixed that problem yet)
----
Finally, having two battery powered devices talking peer-to-peer WiFi can be tricky. Sometimes it helps to have a PC also acting as an additional peer (even if not used). In the specific case of PSP talking to an AIBO it can be trickier (AIBO must find the WiFi radio signal at startup, otherwise it gives up to save battery)
Overall having an access point in the room makes the radio arbitrartion much better (it doesn't have to be attached to the Internet)
Thanks for the reply.
OK so "adhoc mode" was a trap.
I will try with my computer acting as a peer (with routing enabled).
:-) i can't wait for your sample.
Bye
I will try with my computer acting as a peer (with routing enabled).
:-) i can't wait for your sample.
Bye
Re: "Infrastructure Mode" can work without Access
What SSID are you talking about ? For exemple my laptop is configured to work in ad hoc mode, now when i Test the connection, it says "No access point detected".PspPet wrote: The PSP "Infrastructure Mode" can be configured to work in a WiFi adhoc network ! (aka peer-to-peer) - ie. if you don't own a WiFi "Access Point"
Create an "Infrastructure Mode" configuration on your PSP under "Network Settings". Fill everything in manually (the SSID, WEP, Manual IP address and range, give it a fake Router/DNS). Scanning for networks won't work. When you test it it should pass if there is another peer-to-peer WiFi device in the room with compatible settings. It takes a little longer to test and should report "Internet Connection: Failed" at the bottom. Everything else is working.
Thank you.
That's great and source is included! I'll take a look at it, to add this feature to Lua Player. Perhaps a PSPSDK sample would be nice, too, if someone has more time than me :-)weak wrote:Chris Swindle has recently released a version of his sms emulator that includes adhoc mode. take a look here.