RM85x Hand-held Terminals User Manual
16
CNI Engineering S.r.l.
05-10-2007
3.4.2 Request cursor position
This command requests the terminal to return the numbers of the row and column on which the cursor
is currently positioned.
Sequence
ESC [ 6 n
Terminal response
sequence
ESC [ Pn-r ; Pn-c R
In the terminal’s response sequence, the first parameter (
Pn-r
) identifies the number of the row on
which the cursor is positioned, while the second (
Pn-c
) identifies the number of the column.
Example:
To request the cursor position, receiving the response from the terminal that the cursor is
on row 2, column 9.
Byte
Command
Response
00
ESC
(0x1b)
ESC
(0x1b)
01
‘[‘
(0x5b)
‘[’
(0x5b)
02
‘6’
(0x36)
‘2’
(0x32)
03
‘n’
(0x6e)
‘;’
(0x3b)
04
‘9’
(0x39)
05
‘R’
(0x52)
3.4.3 Request communication parameters
This command requests the terminal to return the current communication parameters.
Sequence
ESC [<sol> x
Terminal
response
sequence
ESC [ <sol> ; <par> ; <nbits> ; <xspeed> ;
<rspeed> ; <clkmul> ; <flags> x
The following table explains the meanings of the parameters returned.
Parameter
Value
Meaning
1
This message is a request. After it, the terminal will
return reports in response to requests.
<sol>
3
This message is a report (DECREPTPARM) which
terminal creates only on request.
1
No Parity
4
Odd parity
<par>
5
Even parity
1
8 bits per character
<nbits>
2
7 bits per character
112
9600 bits per second
120
19200 bits per second
240
38400 bits per second
<xspeed>,
<rspeed>
360
57600 bits per second
<clkmul>
1
Bit multiplication ratio is 16
<flags>
0
Summary of Contents for RM85x
Page 4: ......
Page 8: ...TABLE OF CONTENTS 05 10 2007 CNI Engineering S r l iv...