Important: The information in this document is obsolete and should not be used for new development.
I_SetSerialDTR
This command sets the DTR signal on the serial port. Use the constantkOTSerialSetDTROffto turn the DTR signal off, andkOTSerialSetDTROnto turn the DTR signal on. The following line of code turns DTR on:
OTIoctl(theSerialEndpoint, I_SetSerialDTR, kOTSerialSetDTROn);Asserting the DTR signal is equivalent to using a serial driver control call with acsCodevalue of 17 and negating the DTR signal is equivalent to using acsCodevalue of 18.