Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Networking With Open Transport / Part 2 - Open Transport Reference
Chapter 31 - Serial Endpoint Reference / Serial-Specific Commands
/


I_SetSerialDTR

This command sets the DTR signal on the serial port. Use the constant kOTSerialSetDTROff to turn the DTR signal off, and kOTSerialSetDTROn 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 a csCode value of 17 and negating the DTR signal is equivalent to using a csCode value of 18.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998