Topic: Reading from RS323 port, C++/Linux |
|
---|---|
Author | Thread |
Paranoid (IV) Mad Librarian From: Glieberlermany |
posted 04-04-2007 16:31
Hi all, |
Maniac (V) Mad Scientist with Finglongers From: Germany |
posted 04-04-2007 17:22
I"m not gonna be on Q for another couple of hours, |
Paranoid (IV) Inmate From: Madison, Indiana |
posted 04-04-2007 21:34
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 |
posted 04-07-2007 14:36
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. |