32
Appendix D – Interactive Touch Pad Protocol
General Commands Description
~~V<CR> Gives the Version of the firmware, returns: V s.s,h.h<CR><LF> where s.s
is the firmware version and h.h is the hardware version.
~~Gt Get Data command where t = type of data
Values for t:
C – Get configuration data
B – Get bitmap data
F – Get font data
S – Get logo data
Transfer format:
<SOH, Length MSB, Length LSB, Data ….., EOT>
Host responds with ACK when ready for next block until <Length> data received or time
out. The current time out value is 15 seconds. Block size is 512 bytes of data. <DLE> is
used for transferring raw data not intended to be interpreted as SOH or EOT.
SOH = 0x01, EOT = 0x04, DLE = 0x10, ACK = 0x06, NAK = 0x15
~~R Causes unit to reset
~~? Ping unit, returns “OK<CR><LF>”
~~<n Change the loader baud rate. The value n is an index for the baud rate desired:
0 – 9600, 1 – 19200, 2 – 38400, 3 – 56800, 4 – 115200.
~~S Report self test results
~~W Wake unit if in sleep mode
Button Commands
~~BPpb Causes button pb to be pressed where p = page number, b = button
number
~~BRpb Causes button pb to be released where p = page number, b = button
number
~~BSpb Causes the state of button pb to be returned, p = 'A' returns all buttons
Comentários a estes Manuais