Important: The information in this document is obsolete and should not be used for new development.
I_SetSerialBreak
This command controls a break signal on the serial connection. It is a 4-byte unsigned integer. Its value iskOTSerialSetBreakOffto unconditionally turn the break signal off,kOTSerialSetBreakOnto unconditionally turn the break signal on, and any other value to turn the break signal on for a specified number of milliseconds. The following line of code turns the break on:
OTIoctl(theSerialEndpoint, I_SetSerialBreak, kOTSerialSetBreakOn);Asserting a break signal is equivalent to using a serial driver control call with a
- Note
- Note that the on value is 0 and the off value is 1.
![]()
csCodevalue of 12, and deasserting the break signal is equivalent to using acsCodevalue of 11.