|
@@ -89,6 +89,7 @@ enum {
|
|
|
BTA_DM_API_ADD_BLEKEY_EVT,
|
|
BTA_DM_API_ADD_BLEKEY_EVT,
|
|
|
BTA_DM_API_ADD_BLEDEVICE_EVT,
|
|
BTA_DM_API_ADD_BLEDEVICE_EVT,
|
|
|
BTA_DM_API_BLE_PASSKEY_REPLY_EVT,
|
|
BTA_DM_API_BLE_PASSKEY_REPLY_EVT,
|
|
|
|
|
+ BTA_DM_API_BLE_SET_STATIC_PASSKEY_EVT,
|
|
|
BTA_DM_API_BLE_CONFIRM_REPLY_EVT,
|
|
BTA_DM_API_BLE_CONFIRM_REPLY_EVT,
|
|
|
BTA_DM_API_BLE_SEC_GRANT_EVT,
|
|
BTA_DM_API_BLE_SEC_GRANT_EVT,
|
|
|
#endif ///SMP_INCLUDED == TRUE
|
|
#endif ///SMP_INCLUDED == TRUE
|
|
@@ -454,6 +455,12 @@ typedef struct {
|
|
|
UINT32 passkey;
|
|
UINT32 passkey;
|
|
|
} tBTA_DM_API_PASSKEY_REPLY;
|
|
} tBTA_DM_API_PASSKEY_REPLY;
|
|
|
|
|
|
|
|
|
|
+typedef struct {
|
|
|
|
|
+ BT_HDR hdr;
|
|
|
|
|
+ BOOLEAN add;
|
|
|
|
|
+ UINT32 static_passkey;
|
|
|
|
|
+} tBTA_DM_API_SET_DEFAULT_PASSKEY;
|
|
|
|
|
+
|
|
|
typedef struct {
|
|
typedef struct {
|
|
|
BT_HDR hdr;
|
|
BT_HDR hdr;
|
|
|
BD_ADDR bd_addr;
|
|
BD_ADDR bd_addr;
|
|
@@ -798,6 +805,7 @@ typedef union {
|
|
|
tBTA_DM_API_ADD_BLEKEY add_ble_key;
|
|
tBTA_DM_API_ADD_BLEKEY add_ble_key;
|
|
|
tBTA_DM_API_ADD_BLE_DEVICE add_ble_device;
|
|
tBTA_DM_API_ADD_BLE_DEVICE add_ble_device;
|
|
|
tBTA_DM_API_PASSKEY_REPLY ble_passkey_reply;
|
|
tBTA_DM_API_PASSKEY_REPLY ble_passkey_reply;
|
|
|
|
|
+ tBTA_DM_API_SET_DEFAULT_PASSKEY ble_set_static_passkey;
|
|
|
tBTA_DM_API_BLE_SEC_GRANT ble_sec_grant;
|
|
tBTA_DM_API_BLE_SEC_GRANT ble_sec_grant;
|
|
|
tBTA_DM_API_BLE_SET_BG_CONN_TYPE ble_set_bd_conn_type;
|
|
tBTA_DM_API_BLE_SET_BG_CONN_TYPE ble_set_bd_conn_type;
|
|
|
tBTA_DM_API_BLE_CONN_PARAMS ble_set_conn_params;
|
|
tBTA_DM_API_BLE_CONN_PARAMS ble_set_conn_params;
|
|
@@ -1200,6 +1208,7 @@ extern void bta_dm_add_ampkey (tBTA_DM_MSG *p_data);
|
|
|
extern void bta_dm_add_blekey (tBTA_DM_MSG *p_data);
|
|
extern void bta_dm_add_blekey (tBTA_DM_MSG *p_data);
|
|
|
extern void bta_dm_add_ble_device (tBTA_DM_MSG *p_data);
|
|
extern void bta_dm_add_ble_device (tBTA_DM_MSG *p_data);
|
|
|
extern void bta_dm_ble_passkey_reply (tBTA_DM_MSG *p_data);
|
|
extern void bta_dm_ble_passkey_reply (tBTA_DM_MSG *p_data);
|
|
|
|
|
+extern void bta_dm_ble_set_static_passkey(tBTA_DM_MSG *p_data);
|
|
|
extern void bta_dm_ble_confirm_reply (tBTA_DM_MSG *p_data);
|
|
extern void bta_dm_ble_confirm_reply (tBTA_DM_MSG *p_data);
|
|
|
extern void bta_dm_security_grant (tBTA_DM_MSG *p_data);
|
|
extern void bta_dm_security_grant (tBTA_DM_MSG *p_data);
|
|
|
extern void bta_dm_ble_set_bg_conn_type (tBTA_DM_MSG *p_data);
|
|
extern void bta_dm_ble_set_bg_conn_type (tBTA_DM_MSG *p_data);
|