User's Manual Part 4
Table Of Contents
- Using Configuration Commands
- Operating Modes
- Command and Control Modes
- Set Local Bluetooth Device Name
- Set Class of Device/Service Field
- Set Service Name
- Connectable On/Off
- Specify Page Scan Timing
- Enable Discoverable
- Specify Inquiry Scan Timing
- Set Encryption/Authentication: “PIN CODE”
- Manage Security Modes
- Read Module Version
- Read Local Device Address
- Set Shutdown Timing
- Clear Link Key Table
- Understanding Adapter States or Modes
- Power Management Flow Diagram
- Diagnostics Capabilities
- Applications
- System Qualification
- Default Configuration
- Control Codes and Escape Sequences
- Single Character Control Code Definitions
- Escape Sequence Quick Reference
- Factory-Installed Printer Defaults
- About the Printer Font Jobs
- Big 5 Traditional Chinese Character Set
- Simplified Chinese Character Set
- IBM 437 Code Page Character Set
- Japanese (Shift JIS) Character Set
- Korean Character Set
- International Character Set
Appendix B — Bluetooth Configuration Commands and Specifications
134 6822 Series 80-Column Printer User’s Manual
Using Configuration Commands
All printable characters can be entered directly via the keyboard. Any
non-printable characters are entered in binary data format.
Numbers are in decimal format except numbers with:
• an h suffix are in hexadecimal
• a “0x” prefix are in hexadecimal
• a “b” suffix are in binary
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
transmit 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
character 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
module”:
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.