P14-6 Mobile Printer CPCLProgramming Manual
bluetooth.authentication
type: getvar; setvar
This parameter sets Bluetooth authentication mode and
works in combination with the “bluetooth.bluetooth_pin”
parameter. When authentication is set to “default” a PIN
is required to connect to the printer that is based on the
friendly-name. Contact your printer supplier to obtain the
algorithm that generates this PIN.
When authentication is set to “setpin”, the PIN required to
connect is set in the “bluetooth.bluetooth_pin” parameter.
NOTE this parameter and the following “bluetooth.bluetooth_pin” parameter
apply only when Bluetooth library versions 1.2.3 or later are installed in the
printer. Refer to “Getting Printer information” in Section 1 for information on
obtaining installed printer software versions
getvar result Current authentication mode setting, “off”, “de
fault”, “setpin”.
Example Description Get the current Bluetooth authenti-
cation mode.
Syntax ! U1 getvar
“bluetooth.authentication”
Result “off”
setvar choices “off”, “default”, “setpin”
Default “off”
Example Description Enable Bluetooth authentication.
Syntax ! U1 setvar
“bluetooth.authentication” “default”
Result Printer will enable Bluetooth
authentication with user defined
PIN set in the
“bluetooth.bluetooth_pin” param-
eter.