I need to write a serial comms program with hardware flow control (CTS/RTS), and was hoping for a couple of pointers:
First, will the PB comms engine handle this provided I set CTSFlow and RTSFlow for the port, or do I have to set the lines manually from within my app?
Second, RTSFlow has 4 possible settings: Disable, Enable, Handshake and Toggle. Which one should I use? I assume I know what Disable and Enable means (always off and always on, respectively?), but I'm not quite sure what the difference between Handshake and Toggle is. Sounds like Handshake is the one for me, but I'd like to know rather than assume...
Also, if any one has some PB/DLL 6 source code using CTS/RTS flow control I'd really appreciate it!
Thanks!
Ketil
First, will the PB comms engine handle this provided I set CTSFlow and RTSFlow for the port, or do I have to set the lines manually from within my app?
Second, RTSFlow has 4 possible settings: Disable, Enable, Handshake and Toggle. Which one should I use? I assume I know what Disable and Enable means (always off and always on, respectively?), but I'm not quite sure what the difference between Handshake and Toggle is. Sounds like Handshake is the one for me, but I'd like to know rather than assume...
Also, if any one has some PB/DLL 6 source code using CTS/RTS flow control I'd really appreciate it!
Thanks!
Ketil
Comment