
RM85x Hand-held Terminals User Manual
20
CNI Engineering S.r.l.
05-10-2007
3.6.2 Monitor keys
Whenever one of its keys changes state, the terminal sends the following sequence.
Sequence
ESC [ Pn-1 ; Pn-2 ; Pn-3 t
Parameter
Pn-1
identifies the state of the key. Value 1 means that the key is pressed, 0 means it is
released.
Parameter
Pn-2
identifies the key that has changed state. This parameter can have any value from 1
to 32.
Parameter
Pn-3
is the 16 bit CRC for all characters sent up to and including the second ‘;’.
See Appendix F for further information.
Example:
Key 3 has been pressed.
Byte
Sequence sent
Response
00
ESC
(0x1b)
01
‘[‘
(0x5b)
02
‘1’
(0x31)
03
‘;’
(0x3b)
04
‘3’
(0x33)
05
‘;’
(0x3b)
06
‘3’
(0x33)
07
‘8’
(0x38)
08
‘9’
(0x39)
09
‘4’
(0x34)
10
‘0’
(0x30)
11
‘t’
(0x74)
Содержание RM85x
Страница 4: ......
Страница 8: ...TABLE OF CONTENTS 05 10 2007 CNI Engineering S r l iv...