58 api / vcom commands appendix – Hatteland Display HT B22 (Fanless) User Manual
Page 58
58
API / VCOM Commands
Appendix
IND100077-132
Available Messages to Send:
Please review the last page of this section for a code example.
“SWI” - Retrieve Internal Software Version Query:
This query is sent to the unit in order to get the version. Any future revisions, such as CMD additions or changes to
the software will increment the software version. The unit will reply to this command with an ACK attention code. The
DATA field will be a ASCII text string indicating the software version, e.g: “SW101010-0180”.
Command Software Version query:
0x07
0xFF
0x53
0x57
0x49
0x00
0x06
Acknowledge / Response (“SW101010-0180”):
0x06 0xFF 0x53
0x57
0x49 0x0D 0xFA 0x53
0x57
0x31
0x30
0x31
0x30
0x31
0x30 0x2D 0x30
0x31
0x38
0x30 0x3C
“QDU” - QM57 Chipset Half-Duplex Mode:
This query is sent to the local unit in order to force Half-Duplex Mode for the physical external RS-485/RS-422
DB9Male connector. Review “Pin Assignment” chapter in this manual for connector details.
Set Half Duplex Mode:
0x07
0xFF
0x51
0x44
0x55
0x01
0x0E
0x00
0xFF
Acknowledge / Response:
0x06
0xFF
0x51
0x44
0x55
0x01
0x0F
0x00
0xFF
“QDU” - QM57 Chipset Full-Duplex Mode:
This query is sent to the local unit in order to force Full-Duplex Mode for the physical external RS-485/RS-422
DB9Male connector. Review “Pin Assignment” chapter in this manual for connector details.
Set Full Duplex Mode:
0x07
0xFF
0x51
0x44
0x55
0x01
0x0E
0xFF
0x00
Acknowledge / Response:
0x06
0xFF
0x51
0x44
0x55
0x01
0x0F
0xFF
0x00