![Laird BTM510 User Manual Download Page 21](http://html.mh-extra.com/html/laird/btm510/btm510_user-manual_670440021.webp)
21
www.lairdtech.com
Laird Technologies
BTM510/511
Bluetooth
®
Multimedia Module
7. AT+BTW<bd_addr>
{Initiate SSP}
This command initiates secure simple pairing (dedicated bonding) with a device whose Bluetooth
address is <bd_addr>. The correct term for this command’s action with respect to the Bluetooth
specification 2.1+EDR [1] is “Dedicated Bonding”.
Dedicated bonding means the exchange of link keys (pairing) without creating a connection to a
particular profile or service immediately.
The remote device must be a Bluetooth 2.1 device, otherwise (BT2.0 or earlier) legacy pairing will occur
automatically if S323=0. For legacy pairing please refer to page 23.
The “OK” response is sent immediately on receipt of the AT+BTW command. Depending on the
combination of IO-capabilities of both devices, one of the asynchronous messages from Table 3.7
might appear during the pairing process. Please refer to that table for the required actions.
On pairing completion, an unsolicited message in the form PAIR n <bd_addr> will be sent to the host.
8. S Registers for Secure Simple Pairing
The following table lists all S Registers for Secure Simple Pairing. For the registers’ details please refer
to their descriptions above.
Register
Default
Range
Comment
S320
2
1..3
Security Level: see [1], vol3, Generic Access Profile - Table 5.7
needs subsequent ‘AT&W’ and power cycle to take effect
value = 3 overwrites S322
S321
1
0..4
Set IO capability:
0 – display only
1 – display yes no
2 – keyboard only
3 – no input no output
4 – reject IO-cap requests
S322
0
0..1
Force man-in-the-middle-protection (MITM):
0 – disabled
1 – enabled
referenced only if security level (S320) < 3
S323
0
0..1
Disable legacy (pre-BT2.1) Pairing:
0 – legacy pairing enabled
1 – legacy pairing disabled
S324
90
1..255
Secure Simple Pairing timeout in s
This value must be at least 60 in order to meet the recom-
mendation of BT2.1 specification
Table 3.6: S-Registers for Secure Simple Pairing (SSP)
AT COMMAND SET
REFERENCE