Keeping a wifi connection active

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

Moderators: cheriff, TyRaNiD

Post Reply
Fanjita
Posts: 217
Joined: Wed Sep 28, 2005 9:31 am

Keeping a wifi connection active

Post by Fanjita »

I've been working to get wifi support into the v2.0 EBOOT loader, so far with reasonable success.

One strange problem that I'm hitting is that the wifi connection seems to timeout and disconnect after about 2 minutes, even though it's being constantly used to transfer data.

What I suspect is happening is that there's a callback that must be serviced (or perhaps polled) on a regular basis, to keep the connection alive. Something along the lines of scePowerTick(), for instance.

I can't find such a function in the samples or header files though - does anyone know what might be happening?

Another alternative is that the thread that connected to the access point has to stay active, which would be unfortunate because I have to kill it to allow the loader to run.
Got a v2.0-v2.80 firmware PSP? Download the eLoader here to run homebrew on it!
The PSP Homebrew Database needs you!
Post Reply