Ser.Escchar Property
Function: |
For selected serial port (selection is made through ser.num) sets/retrieves ASCII code of the escape character used for type1 or type2 serial escape sequences. |
Type: |
Byte |
Value Range: |
0-255, default=1 (SOH character) |
See Also: |
Details
Which escape sequence is enabled is defined by the ser.esctype property. This property is irrelevant when ser.esctype= 0- PL_SER_ET_DISABLED or when the serial port is in the Wiegand or clock/data mode (ser.mode= 1- PL_SER_MODE_WIEGAND or ser.mode= 2- PL_SER_MODE_CLOCKDATA) — serial escape sequences are only recognized in the UART data.