haxd
Joined: 12 Apr 2007 Posts: 5
|
Posted: Fri Apr 20, 2007 10:39 pm Post subject: Wlan useConnectionConfig hang |
|
|
I'm trying to code a small wifi app in LuaPlayer,
However, I'm finding that my code is hanging in 0.20.
| Code: |
if cross:checkState() then
sel = selected + 1
Desktop:fontPrint(font,40,50+(e+2)*20,"Someone set us up the bomb",Color.new(255,255,255))
update()
Wlan.useConnectionConfig(sel)
Desktop:fontPrint(font,40,50+(e+3)*20,"We get signal",Color.new(255,255,255))
update()
sck = Socket.connect("192.168.0.2", 80)
active = true
end
|
The cross:checkState() is my own function, the first message appears, then the psp hangs, and the wifi light stays on. If I turn off the wifi switch, the psp unfreezes and the script continues (and of course, fails to connect).
I thought it was just taking a while to connect, however, I tried connecting to another (unsecured) connection and it happened still.
Any ideas? |
|