forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PSP serial port functions?!? ( lua)

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
Art



Joined: 09 Nov 2005
Posts: 647

PostPosted: Thu Nov 10, 2005 8:10 am    Post subject: PSP serial port functions?!? ( lua) Reply with quote

Hi Guys,
I got this from the list of LUAplayer functions on the LUAplayer site:
Quote:

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.
Back to top
View user's profile Send private message
JoshDB



Joined: 05 Oct 2005
Posts: 87

PostPosted: Thu Nov 10, 2005 8:37 am    Post subject: Reply with quote

Hint: Headphones
Back to top
View user's profile Send private message Send e-mail AIM Address
Art



Joined: 09 Nov 2005
Posts: 647

PostPosted: Thu Nov 10, 2005 8:52 am    Post subject: Reply with quote

Oh yeah! duh.

You have to wreck them to get the plug?
Back to top
View user's profile Send private message
Art



Joined: 09 Nov 2005
Posts: 647

PostPosted: Thu Nov 10, 2005 8:54 am    Post subject: Reply with quote

screw it, I only use standard earphones with it anyway.
Thanx :)
Back to top
View user's profile Send private message
youresam



Joined: 06 Nov 2005
Posts: 87

PostPosted: Thu Nov 10, 2005 10:40 am    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message AIM Address
sweetlilmre



Joined: 01 Oct 2005
Posts: 27

PostPosted: Thu Nov 10, 2005 5:18 pm    Post subject: Reply with quote

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

Google is your friend...
-(e)
Back to top
View user's profile Send private message
Art



Joined: 09 Nov 2005
Posts: 647

PostPosted: Fri Nov 11, 2005 7:37 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group