Hi Todd
I am going through the same pains at the moment 
Hi Todd
I’m going thru the same process at the mo. The docs are very light here
(unless I haven’t found it yet) and like you I know exactly what I want to
do and it should be very simple but its frustrating finding anything on it.
What I have discovered is that to twiddle the bits you have to set (or
clear) the bit you want to change and then also set a bit to say you want to
change it: i.e.
ser_write_data|=_CTL_RTS; // set RTS bit
ser_write_data|=_CTL_RTS_CHG; // set this bit to make it change state
otherwise naff all will happen
res=devctl(fd, DCMD_CHR_SERCTL, &ser_write_data, sizeof(ser_write_data), 0);
to read the data I think you do a :
res=devctl(fd, DCMD_CHR_LINESTATUS, &ser_read_data, sizeof(ser_read_data),
0);
where ser_write_data and ser_read_data are 16bits (as far as I can
remember).
I’ve found though that reading the Ring Indicator bit in seems a bit
unreliable sometimes it doesn’t detect it as being set even though I can see
9v on it with a meter! Investigating this at the moment.
I’ve you find any documentation please let me know 
Hope this helps…
Cheers
Jim
Todd Hitt wrote in message <8suet9$493$2@inn.qnx.com>…
Hello All,
Anybody have an idea where I would find documentation on the macros in
dcmd_chr.h?
I’m doing some development on RTP and also Neutrino at work. I need to
toggle RTS to control RS-485 in a multidrop fashion. I found a doc in the
Knowledge base that describes how to do this in QNX 4. Unfortunately, it’s
not exactly the same in Neutrino/RTP.
I pretty much know what I want to do, but finding the documentation as a
bit
frustrating.
Thanks in advance.
–Todd
todd_hitt@yahoo.com
\