beautypg.com

B.3.25. at+btkey=$string, B.3.26. at+btsd, B.3.27. at+btcsd – SENA Parani-BCD110-210 User Manual

Page 53: B.3.28. at+btfp,n, B.3.29. at+btsec,authentication,encryption

background image

53

B.3.25. AT+BTKEY=$string

Response

 OK

Purpose

Change pin code

Parameters

$string= New pin code (Default=”1234”)

Description

Pin code is a string, which allows up to 16 alpha-numeric characters. Based on this pin
code, Parani-BCDx10 generates a link key which is used in actual authentication process

Example

AT+BTKEY=”apple”

B.3.26. AT+BTSD?

Response

 112233445566
 OK

Purpose

Display a list of Bluetooth devices sharing the same pin code

Description

Once a connection is made with a pin code, Parani-BCDx10saves the Bluetooth device
with its link key, generated by the pin code. The connection to a device listed in Parani-
BCDx10 can be made automatically without the authentication process. The maximum
number kept on the list is 7.

B.3.27. AT+BTCSD

Response

 OK

Purpose

Clear the list of Bluetooth devices sharing the same pin code

Description

This clears the list of Bluetooth devices linked with the same key in flash memory. To take
effect the ATZ command must be used or Powercycle the unit.

B.3.28. AT+BTFP,n

Response

 OK

Purpose

Set generation of link key every time of connection

Parameters

n=0: Inactivate (Default)
n=1: Activate

Description

If n is set to 1, Parani-BCDx10 asks for the pin code every time a connection is made. This
can be used to increase security.

B.3.29. AT+BTSEC,Authentication,Encryption

Response

 OK

Purpose

Set authentication and data encryption

Parameters

Authentication=0: Inactivate (Default)
Authentication=1: Activate
Encryption=0: Inactivate (Default)
Encryption=1: Activate

Description

If the authentication is activated, the pin code must be set by AT+BTKEY command. Data
encryption cannot be used when authentication is not enabled, i.e. Authentication=0 and
Encryption=1 will not work properly.