PSP serial port functions?!? ( lua)

Discuss using and improving Lua and the Lua Player specific to the PSP.

Moderators: Shine, Insert_witty_name

Post Reply
Art
Posts: 642
Joined: Wed Nov 09, 2005 8:01 am

PSP serial port functions?!? ( lua)

Post by Art »

Hi Guys,
I got this from the list of LUAplayer functions on the LUAplayer site:
Serial input/output functions:

nil System.sioInit(baudrate)

Opens the SIO device and sets the baud rate. This needs some seconds to power up the UART.

System.sioWrite(string)

Writes the string to the SIO

string System.sioRead()

Reads all available data from the SIO. Returns an empty string, if no data was received.
My question is, where is the serial port? and how do I connect to it? :D

If it is really possible to connect to a UART in this way then the PSP
could easily become a fully featured GPS with moving maps.
Cheers, Art.
User avatar
JoshDB
Posts: 87
Joined: Wed Oct 05, 2005 3:54 am

Post by JoshDB »

Hint: Headphones
Art
Posts: 642
Joined: Wed Nov 09, 2005 8:01 am

Post by Art »

Oh yeah! duh.

You have to wreck them to get the plug?
Art
Posts: 642
Joined: Wed Nov 09, 2005 8:01 am

Post by Art »

screw it, I only use standard earphones with it anyway.
Thanx :)
youresam
Posts: 87
Joined: Sun Nov 06, 2005 1:43 am

Post by youresam »

I had been wondering this for a long time...
I had plugged in the white headphone thing, but since it didnt work, I gave up.

I thought it had something to do with 'destroying' them ever since that conference that Shine had with pics of something plugged in to his computer that used that function.

So, my question is, whats the point of this function? What can it do? and can I do anything without destoying my headphone-remote?
sweetlilmre
Posts: 27
Joined: Sat Oct 01, 2005 7:24 pm

Post by sweetlilmre »

http://nil.rpc1.org/psp/remote.html

Google is your friend...
-(e)
Art
Posts: 642
Joined: Wed Nov 09, 2005 8:01 am

Post by Art »

A serial port offers the potential for everything from low level debugging
to the control / connection of other devices.
I read somewhere a suggestion that a dial up modem could be used for
direct internet access which is true, however a pic, or some other low cost
hardware would be required to provide the rest of the serial port control
lines.
Cheers, Art.
Post Reply