Topic: Reading from RS323 port, C++/Linux (Page 1 of 1) |
|
---|---|
Paranoid (IV) Mad Librarian From: Glieberlermany |
![]() Hi all, |
Maniac (V) Mad Scientist with Finglongers From: Germany |
![]() I"m not gonna be on Q for another couple of hours, |
Paranoid (IV) Inmate From: Madison, Indiana |
![]() Depending on what you want ot do with it, you should be able to open and read it like any other device. Eg. code: serial = open("/dev/sda0", O_RDONLY); count = read(serial, buffer, BUFEFER_SIZE);
|
Paranoid (IV) Mad Librarian From: Glieberlermany |
![]() Just as an update to let you know how it turned out - I had to just hand in the unfinished thing, as even with TP on the other side of the icq window there was no way for me to make much sense of the signals my program told me it was receiving. |