Download BlueNRG(-MS) - STMicroelectronics

Transcript
UM1865
Vendor specific commands
Table 105. Aci_Gap_Send_Pairing_Request command parameters
Parameter
Size
Conn_Handle
2 bytes
Force_Rebond
1 byte
Description
Handle of the connection for which the pairing request has to be
sent.
The bit 0 decides whether pairing request has to be sent if
the device is previously bonded or not.
0: Pairing request is sent only if the device has not
previously bonded
1: Pairing request will be sent even if the device was
previously bonded.
The bit 1 decides whether the link has to be re-encrypted
after the key exchange.
0: The link will not be re-encrypted with the LTK at the end
of the pairing
1: The link will be re-encrypted with the LTK at the end of
the pairing
Table 106. Aci_Gap_Send_Pairing_Request return parameters
Parameter
Size
Status
1 byte
Description
0x00: BLE_STATUS_SUCCESS
0x12: BLE_STATUS_INVALID_PARAMETER
0x0C: ERR_COMMAND_DISALLOWED
Event(s) generated:
A command status event is generated when the command is received. If
BLE_STATUS_SUCCESS is returned in the command status event, a
Evt_Blue_Pairing_Complete event is returned after the pairing process is completed.
4.3.34
Aci_Gap_Resolve_Private_Address
Table 107. Aci_Gap_Resolve_Private_Address
Command name
Aci_Gap_Resolve_Private_Address (0xFCA0)
Parameters
Peer_address
Return
Status
Address
Description:
This command tries to resolve the address provided with the IRKs present in its database. If
the address is resolved successfully with any one of the IRKs present in the database, it
returns success and also the corresponding public/static random address stored with the
IRK in the database.
DocID027514 Rev 4
69/146
146