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 constantkOTSerialSetDTROff
to turn the DTR signal off, andkOTSerialSetDTROn
to 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 acsCode
value of 17 and negating the DTR signal is equivalent to using acsCode
value of 18.