What are the QNX 6 equivalent functions for the QNX 4:
dev_info
dev_mode
dev_read
Basically, I need to put a serial port into raw mode at a given
baud rate, and then read characters from it. I’d like to take
advantage of the “intercharacter arrival time” and other features
of the dev_read() function…
Thanks in advance!
Cheers,
-RK
–
Robert Krten, PARSE Software Devices +1 613 599 8316.
Realtime Systems Architecture, Consulting and Training at www.parse.com
Email my initials at parse dot com.
What are the QNX 6 equivalent functions for the QNX 4:
dev_info
dev_mode
dev_read
Basically, I need to put a serial port into raw mode at a given
baud rate, and then read characters from it. I’d like to take
advantage of the “intercharacter arrival time” and other features
of the dev_read() function…
You’d have to use ioctl(fd, TIOC*) to set stuff. For dev_read(),
check for readcond().
-xtang
Thanks in advance!
Cheers,
-RK
–
Robert Krten, PARSE Software Devices +1 613 599 8316.
Realtime Systems Architecture, Consulting and Training at > www.parse.com
Email my initials at parse dot com.
nospam93@parse.com > wrote:
I can’t seem to find this in my docs anywhere…
What are the QNX 6 equivalent functions for the QNX 4:
dev_info
dev_mode
dev_read
Basically, I need to put a serial port into raw mode at a given
baud rate, and then read characters from it. I’d like to take
advantage of the “intercharacter arrival time” and other features
of the dev_read() function…
You’d have to use ioctl(fd, TIOC*) to set stuff. For dev_read(),
check for readcond().
Thanks Xiaodan, that’s exactly what I was looking for!
Cheers,
-RK
Robert Krten, PARSE Software Devices +1 613 599 8316.
Realtime Systems Architecture, Consulting and Training at www.parse.com
Email my initials at parse dot com.