Notation; Command - Intermec 6820 Series User Manual

80-column printer
Hide thumbs Also See for 6820 Series:
Table of Contents

Advertisement

Appendix
A
Bluetooth Configuration Commands

Notation

Command

132
Numbers are in decimal except:
S Numbers with an "h" suffix are in hexadecimal.
S Numbers with a "0x" prefix are in hexadecimal.
S Numbers with a "b" suffix are in binary.
All printable characters can be entered directly via the keyboard. Any non-
printable characters are entered in binary data format.
Binary data format is any non seven-bit ASCII data to transmit to the
module is encoded in the Internet percent notation. Any hex byte to trans-
mit is preceded by the "%" sign and encoded in hex ASCII. To send the
value 0xF5, the "%F5" bytes are transmitted. The "%"character is always
transmitted as "%25". Thus, a Bluetooth address could transmit as
"%00%E0%03%45%F4%6D".
Generic format:
<command character><command type><command payload><CR>
<command character> is one character from the set: [A-Z]
<command type> is one character for the set: [0-9]
<command payload> is variable in length.
<CR> is the command terminator.
The <command payload> is formed from printable ASCII characters from
the code range 0x20 to 0x7E.
Codes outside of this range are escaped using the percent (%) character
followed by two hexadecimal digits.
The percent character is always represented by the three characters: %25
The command terminator is character code 0x13 (carriage return), or char-
acter code 0x10 (line feed), or character codes 0x13, 0x10 (carriage return,
line feed).
An example command to set the friendly name to "Len's 100% serial mod-
ule":
F0Len's 100%25 serial module<CR>
Character codes outside of the range of 0x20 to 0x7E are ignored.
When using percent (%) to form hexadecimal character codes there must
be exactly two hex digits using characters: [0-9, A-F, a-f].
Characters outside of this range cause the command to fail.
Commands that fail return the four character sequence:
Commands that are accepted return the four character sequence:
6820 Series 80-Column Printer User's Manual
NAK<CR>
ACK<CR>

Advertisement

Table of Contents
loading

Table of Contents