To meet more customer’s requirement , Feasycom engineer Mr Pan developed a new function which named “ BLE passcode “ for FSC-BT646 BLE module , this function have a wide application in the Bluetooth product which works with an mobile App , likes Automobile electronic product , electronic toys and measuring apparatus , etc.
The new AT commands is as below:
Read/Write Pincode
Format: AT+PIN {=Param}
|
Param: Set pincode (6 Bytes ASCII, default: 123456)
|
Response: +PIN=Param
|
Description: Write pincode if parameter exists, otherwise read current pincode
|
Example: Read current pincode << AT+PIN >> +PIN=123456 >> OK Example: Change pincode to “200868” << AT+PIN=200868 >> OK |
Read/Write Authentication type for pairing
Format: AT+TYPE {=Param}
|
Param: Authentication type (0/1/2, default: 0) (0) Pincode not required (‘Just Works’ connection) (1) Pincode required, no bonding (‘Passkey’ connection / encryption keys not stored) (2) Pincode required, with bonding (‘Passkey’ connection / encryption keys stored)
|
Response: +TYPE=Param
|
Description: Set type of authentication used during pairing if parameter exists, otherwise read current type of authentication
|
Example: Read current authentication type << AT+TYPE >> +TYPE=0 >> OK Example: Change authentication method to ‘Pincode required / no bonding’ << AT+TYPE=1 >> OK |