US a
VERSAJET
Programming Reference | [Name] | Get RS232 configurations |
|
| ||
| [Format] | ASCII |
| US a |
|
|
|
|
|
| |||
|
| Hex |
| 1F 61 |
|
|
|
| Decimal |
| 31 97 |
|
|
| [Return value] |
|
|
|
|
|
|
| Function | Length(Byte) |
| Value | |
|
| Start byte | 1 | 0x5F | ||
|
| Contents | 1 | 0~255 | ||
|
| End byte | 1 | 0x00 | ||
| [Description] | Get RS232 configurations. |
|
| ||
|
| Contents: |
|
|
| |
|
| Bit |
| Function |
| Value (Hex) |
|
| 0 | Flow control |
| 0x00: RTS/CTS | |
|
|
| 0x01: XON/Xoff | |||
|
|
|
|
|
| |
|
| 1 | Stop Bit |
| 0x00: 1bit | |
|
|
| 0x01: 2bit | |||
|
|
|
|
|
| |
|
|
|
|
|
| 0x00: None |
|
| 2~3 | Parity |
| 0x01: Even | |
|
|
|
|
|
| 0x02: Odd |
|
| 4 | Data Length |
| 0x00: 7 bit | |
|
|
| 0x01: 8 bit | |||
|
|
|
|
|
| |
|
|
|
|
|
| 0x00: 9600 |
|
| 5~6 | Baud rate |
| 0x01: 19200 | |
|
|
| 0x02: 38400 | |||
|
|
|
|
|
| |
|
|
|
|
|
| 0x03: 115200 |
|
| 7 | Reserved |
| Reserved | |
|
|
|
|
|
|
|
|
|
|
|
| 216 |