Bluetooth Configuration Commands
Appendix
—
A
132
6820 Series 80-Column Printer User’s Manual
Notation
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.
Command
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:
NAK<CR>
Commands that are accepted return the four character sequence:
ACK<CR>
Summary of Contents for 6820 Series
Page 1: ...6820 Series 80 Column Printer User s Manual ...
Page 4: ...iv 6820 Series 80 Column Printer User s Manual ...
Page 12: ...Contents xii 6820 Series 80 Column Printer User s Manual ...
Page 16: ...Before You Begin xvi 6820 Series 80 Column Printer User s Manual ...
Page 110: ...Control Code Definitions Chapter 5 94 6820 Series 80 Column Printer User s Manual ...
Page 120: ...Bluetooth Adapter Chapter 6 104 6820 Series 80 Column Printer User s Manual ...
Page 146: ...Troubleshooting and Diagnostics Chapter 7 130 6820 Series 80 Column Printer User s Manual ...
Page 168: ...Cross Reference Tables Appendix B 152 6820 Series 80 Column Printer User s Manual ...
Page 172: ...Printer Font Test Jobs Appendix C 156 6820 Series 80 Column Printer User s Manual ...
Page 184: ...Index 168 6820 Series 80 Column Printers User s Manual ...