User's Manual Part 4

Appendix B — Bluetooth Configuration Commands and Specifications
6822 Series 80-Column Printer User’s Manual 139
Set Encryption/Authentication: “PIN CODE
Manage Security Modes
This command controls the security access mode and device pairing.
The modes available are:
L0 Disable encryption, authentication and exclusion
L1 Enable authentication
L2 Enable encryption and authentication
L3 Enable encryption, authentication and exclusive
Mode L0 allows any remote device to connect.
Mode L1 require the remote device to be authenticated by a PIN request.
The PIN code for the module is set to a user–specified value with the S4
command. Currently the default PIN is the NULL string.
Mode L2 adds encryption to the Bluetooth link.
Mode L3 adds exclusive connection to one specific Bluetooth device.
In this mode only connection requests from the initial device are
allowed. Connections from other devices are rejected even if they supply
the correct PIN code.
Device pairing and bonding are associated with this command and works
as follows:
After an L command is executed the current device pairing and bonding
is deleted. The next device to connect becomes paired and bonded to the
module.
In Modes L1 and L2, other devices are allowed to connect but only the
first device to connect is paired and bonded. Other devices are always
required to supply a PIN code to complete the connection.
Command
S4<PIN code>
Description
PIN Code — Pin code can be NULL and as long as
16 characters
Default
“S4%00”
NULL PIN code
Example
“S4MyPinCode <CR>”