Using the DSR, CTS and DCD on a PDA

Foxtrott

New Member
Hi, I'm currently doing a project where I want to access my iPAQs DSR, CTS and DCD lines so that I can use them to power a small sensor platform that I've created. My plan is to use the Tx/Rx lines for communication with the board and the other handshake lines for supplyin the power needed.

When looking through the serial library I'm not really sure if I can find commands
for those three lines. But if there is another library that does this, how do I set them to constantly on and with one of them giving a negative voltage?
 

agraham

Expert
Licensed User
Longtime User
CTS, DSR and DCD are inputs to the serial port. You can control the state of DTR and RTS with the DTREnable and RTSEnable properties.

Note that the Serial2 library is not useful if you want to send or receive binary data or characters with an ASCII value of more than 127. For that you need my SerialEx library but it is only available for download to purchasers of Basic4ppc.
 
Top