CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS)
B-EP
Series
10-28
10.10.5 BONDING SETTING COMMAND
[ESC] BP
Function
Sets the destination and the PIN code (bonding setting) of the Bluetooth.
Format [ESC]BP;
aaaaaaaaaaaa, b, cccccccccccccccccccccccccccccccc [LF] [NUL]
Term
aaaaaaaaaaaa: Bluetooth device address (BD address) of the destination
B-EP-GH30/TH30:
(1) 12-byte ASCII characters (hex. code) “0” to “9” and “A” to “F”
(in the case of BD address of specific destination)
(2) 12 bytes of “
∗
”
(in the case of BD address of unspecified destination)
B-EP-GH32:
Only 12 bytes of “
∗
” (in the case of BD address of unspecified
destination) are accepted.
b:
Size of PIN code
0: 1 byte
1: 2 bytes
2: 3 bytes
:
D: 14 bytes
E: 15 bytes
F: 16 bytes
c:
PIN
code
Byte string corresponding to the PIN code size is set in ASCII.
Explanation
(1) In the LABEL mode (Mode = 0), RECEIPT mode (Mode = 1) or RECEIPT1 mode
(Mode = 2), the printer returns “38H” (setting completed) when the processing for
the Bluetooth module is completed successfully, and returns “39H” (setting error)
when failed. In the TPCL mode (Mode = A) or TPCL1 mode (Mode = B), the
printer returns “38” (setting completed) when the setting for the Bluetooth module
is completed, and returns “39” (setting error) when failed.
(2) Up to 10 BD addresses can be set by this command. If 11th BD address is set,
the first one is automatically deleted.
(3) If the PIN code is changed without changing BD address, the previously registered
PIN code is voided, and the latest one becomes effective.
(4) When a 12-digit “
∗
” is set to a specific destination, the previously set BD address of
that destination becomes invalid.
(5) To set a BD address for a specific designation after an address for unspecified
destination has been set, it is required to delete all bonding table by a Bonding
Table Deletion Command.
(6) The PIN code of the unspecified destination can be changed without deleting all
the bonding table.
(7) This command is effective only when the power is turned on in the SYSTEM mode.
It is invalid when the SYSTEM mode is entered by using the System Mode Shift
Command.