Serial port

Linux specific forum
hellzone
New User
New User
Posts: 2
Joined: Sat Mar 06, 2004 7:17 pm

Serial port

Post by hellzone »

hi all,

This question has been asked many times and doesn't ever seem to get an answer but this time it's either an answer or i stop using Purebasic for my project as i need serial communications in linux.

Can anyone help me with a solution for this?

-james
Fred
Administrator
Administrator
Posts: 16619
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

PB doesn't support the serial port in his commandset, you you will have to deal with the linux api, which shouldn't be very hard. fopen_(), fread_()and ioctrl_() should do the trick. Lot of sample should be availble on Google.
Post Reply