D T 5 0 - M C O M M A N D R E F E R E N C E G U I D E 1 . 1 P a g e
33 | 38
It is recommended to use a pin code of at least eight
characters of mixed type, for example, "12w35tg7".
Factory default is "0".
This is used together with the parameter
security_mode_BT2.
8.1.5 Security type +UBTST
AT Command
Description
AT+UBTST?
Reads the security type for Bluetooth pairing.
AT+UBTST=<security_type>
Writes the security type for Bluetooth pairing.
Parameter
Description
security_type
0 (factory default): Secure Simple Pairing mode.
The legacy mode used for pairing Bluetooth LE.
1: Secure Connections Mode
The P-256 Elliptic curve is used for pairing and AES-
CCM is used for encryption of the Bluetooth LE link.
The secure simple pairing will be used if there is no
support from the remote side.
2: FIPS mode
Strictly uses Secure Connections. Pairing requests will
be rejected if the remote device does not support this
mode.
Enabling P-256 Elliptical curve based encryption is
memory intensive. Hence, when enabled, the memory
reserved for other functionalities will be affected.
For the settings to take effect, use the commands - &W and +CPWROFF to store the configuration to
start up database and reboot the module.
8.1.6 User confirUBTUC
AT Command
Description
AT+UBTUC=<bd_addr>,<yes_no>
The user confirmation is used together with the
security mode 4 - "Display Yes/No" to respond on a
user confirmation request (+UUBTUC). The command
shall be used only after +UUBTUC has been received.
Response
Description
OK
Successful response.
ERROR
Error message.
Parameter
Description
bd_addr
The remote Bluetooth device address.
yes_no
0: No. The remote and local numeric values are
different or the user cancels.