Home
last modified time | relevance | path

Searched refs:BTM_SUCCESS (Results 1 – 25 of 34) sorted by relevance

12

/hal_espressif-latest/components/bt/host/bluedroid/stack/btm/
Dbtm_ble_5_gap.c213 if(params && params->status == BTM_SUCCESS) { in BTM_ExtBleCallbackTrigger()
239 return BTM_SUCCESS; in BTM_BleReadPhy()
245 tBTM_STATUS status = BTM_SUCCESS; in BTM_BleSetPreferDefaultPhy()
286 return BTM_SUCCESS; in BTM_BleSetPreferPhy()
291 tBTM_STATUS status = BTM_SUCCESS; in BTM_BleSetExtendedAdvRandaddr()
352 tBTM_STATUS status = BTM_SUCCESS; in BTM_BleSetExtendedAdvParams()
364 if ((status = btm_ble_ext_adv_params_validate(params)) != BTM_SUCCESS) { in BTM_BleSetExtendedAdvParams()
432 tBTM_STATUS status = BTM_SUCCESS; in BTM_BleConfigExtendedAdvDataRaw()
440 if ((status = btm_ble_ext_adv_set_data_validate(instance, len, data)) != BTM_SUCCESS) { in BTM_BleConfigExtendedAdvDataRaw()
492 tBTM_STATUS status = BTM_SUCCESS; in BTM_BleStartExtAdv()
[all …]
Dbtm_devctl.c499 return (BTM_SUCCESS); in BTM_ReadLocalDeviceName()
577 return (BTM_SUCCESS); in BTM_SetDeviceClass()
590 return (BTM_SUCCESS); in BTM_SetDeviceClass()
679 return (BTM_SUCCESS); in BTM_VendorSpecificCommand()
767 tBTM_STATUS retval = BTM_SUCCESS; in BTM_RegisterForVSEvents()
781 return (BTM_SUCCESS); in BTM_RegisterForVSEvents()
856 return (BTM_SUCCESS); in BTM_WritePageTimeout()
881 return (BTM_SUCCESS); in BTM_WriteVoiceSettings()
919 BTM_DEFAULT_CONN_INTERVAL) != BTM_SUCCESS) { in BTM_EnableTestMode()
925 BTM_DEFAULT_DISC_INTERVAL) != BTM_SUCCESS) { in BTM_EnableTestMode()
[all …]
Dbtm_sec.c864 if (res != BTM_SUCCESS) { in BTM_PINCodeReply()
1001 return (BTM_SUCCESS); in btm_sec_bond_by_transport()
1005 if ((BTM_DeleteStoredLinkKey (bd_addr, NULL)) != BTM_SUCCESS) { in btm_sec_bond_by_transport()
1234 return BTM_SUCCESS; in BTM_SecBondCancel()
1297 return (BTM_SUCCESS); in BTM_SecGetDeviceLinkKey()
1387 (*p_callback) (bd_addr, transport, p_ref_data, BTM_SUCCESS); in BTM_SetEncryption()
1390 return (BTM_SUCCESS); in BTM_SetEncryption()
1486 status = BTM_SUCCESS; in btm_sec_send_hci_disconnect()
1525 if ( (res == BTM_SUCCESS) || (res == BTM_SUCCESS_NO_SECURITY) ) { in BTM_ConfirmReqReply()
1528 if (res == BTM_SUCCESS) { in BTM_ConfirmReqReply()
[all …]
Dbtm_sco.c272 return BTM_SUCCESS; in BTM_ConfigScoPath()
279 return BTM_SUCCESS; in BTM_ConfigScoPath()
398 …if (pkt_status != BTM_SUCCESS && pkt_status != BTM_NO_RESOURCES && pkt_status != BTM_SCO_BAD_LENGT… in btm_pkt_stat_send_nums_update()
509 tBTM_STATUS status = BTM_SUCCESS; in BTM_WriteScoData()
553 if (status != BTM_SUCCESS && status!= BTM_NO_RESOURCES && status != BTM_SCO_BAD_LENGTH) { in BTM_WriteScoData()
792 if (BTM_ReadPowerMode(remote_bda, &md) == BTM_SUCCESS) { in BTM_CreateSco()
801 … if ( (BTM_ReadPowerMode(remote_bda, &mode) == BTM_SUCCESS) && (mode == BTM_PM_MD_PARK) ) { in BTM_CreateSco()
1172 return (BTM_SUCCESS); in BTM_RemoveSco()
1524 return (BTM_SUCCESS); in BTM_SetEScoMode()
1555 return (BTM_SUCCESS); in BTM_RegForEScoEvts()
[all …]
Dbtm_inq.c269 return (BTM_SUCCESS); in BTM_SetDiscoverability()
309 return (BTM_SUCCESS); in BTM_SetInquiryScanType()
348 return (BTM_SUCCESS); in BTM_SetPageScanType()
393 return (BTM_SUCCESS); in BTM_SetInquiryMode()
544 tBTM_STATUS status = BTM_SUCCESS; in BTM_CancelPeriodicInquiry()
650 return (BTM_SUCCESS); in BTM_SetConnectability()
719 tBTM_STATUS status = BTM_SUCCESS; in BTM_CancelInquiry()
1210 return (BTM_SUCCESS); in BTM_ClearInqDb()
1681 status = BTM_SUCCESS; in btm_event_filter_complete()
1694 if (status != BTM_SUCCESS) { in btm_event_filter_complete()
[all …]
Dbtm_ble.c384 tSMP_STATUS res_smp = (res == BTM_SUCCESS) ? SMP_SUCCESS : SMP_REPEATED_ATTEMPTS; in BTM_SecurityGrant()
408 tSMP_STATUS res_smp = (res == BTM_SUCCESS) ? SMP_SUCCESS : SMP_PASSKEY_ENTRY_FAIL; in BTM_BlePasskeyReply()
457 tSMP_STATUS res_smp = (res == BTM_SUCCESS) ? SMP_SUCCESS : SMP_PASSKEY_ENTRY_FAIL; in BTM_BleConfirmReply()
485 tSMP_STATUS res_smp = (res == BTM_SUCCESS) ? SMP_SUCCESS : SMP_OOB_FAIL; in BTM_BleOobDataReply()
951 return BTM_SUCCESS; in BTM_SetBleDataLength()
1096 p_callback(bd_addr, BT_TRANSPORT_LE, p_ref_data, BTM_SUCCESS); in btm_ble_start_sec_check()
1725 btm_sec_dev_rec_cback_event(p_dev_rec, BTM_SUCCESS, TRUE); in btm_ble_link_encrypted()
1785 UINT8 callback_rc = BTM_SUCCESS; in btm_ble_io_capabilities_req()
1792 if ((callback_rc == BTM_SUCCESS) || (BTM_OOB_UNKNOWN != p_data->oob_data)) in btm_ble_io_capabilities_req()
1794 if (callback_rc == BTM_SUCCESS) in btm_ble_io_capabilities_req()
[all …]
Dbtm_pm.c140 return BTM_SUCCESS; in BTM_PmRegister()
155 return BTM_SUCCESS; in BTM_PmRegister()
217 return BTM_SUCCESS; in BTM_SetPowerMode()
289 return BTM_SUCCESS; in BTM_ReadPowerMode()
327 return BTM_SUCCESS; in BTM_SetSsrParams()
Dbtm_acl.c630 return (BTM_SUCCESS); in BTM_GetRole()
689 return (BTM_SUCCESS); in BTM_SwitchRole()
708 if ((status = BTM_ReadPowerMode(p->remote_addr, &pwr_mode)) != BTM_SUCCESS) { in BTM_SwitchRole()
1303 return (BTM_SUCCESS); in BTM_GetLinkSuperTout()
1336 return (BTM_SUCCESS); in BTM_SetLinkSuperTout()
1745 return (BTM_SUCCESS); in BTM_ReadRemoteVersion()
1854 return (BTM_SUCCESS); in BTM_RegBusyLevelNotif()
1870 return BTM_SUCCESS; in BTM_RegAclLinkStatNotif()
2169 results.status = BTM_SUCCESS; in btm_acl_pkt_types_changed()
2249 results.status = BTM_SUCCESS; in btm_read_tx_power_complete()
[all …]
Dbtm_ble_gap.c447 … HCIC_PARAM_SIZE_BLE_WRITE_EXTENDED_SCAN_PARAM, scan_param, NULL)) != BTM_SUCCESS) { in btm_ble_send_extended_scan_params()
1067 return BTM_SUCCESS; in BTM_BleUpdateOwnType()
1095 return BTM_SUCCESS; in BTM_BleUpdateOwnType()
1464 tBTM_STATUS status = BTM_SUCCESS; in BTM_BleSetAdvParams()
1576 tBTM_STATUS status = BTM_SUCCESS; in BTM_BleSetAdvParamsAll()
1597 tBTM_STATUS status = BTM_SUCCESS; in BTM_BleStartAdv()
1687 scan_setup_status_cback(client_if, BTM_SUCCESS); in BTM_BleSetScanParams()
1707 tBTM_STATUS ret = BTM_SUCCESS; in BTM_BleSetScanFilterParams()
1792 if (adv_data_status == BTM_SUCCESS && data_mask != 0) { in BTM_BleWriteScanRsp()
1891 status = BTM_SUCCESS; in BTM_UpdateBleDuplicateExceptionalList()
[all …]
Dbtm_ble_adv_filter.c95 tBTM_STATUS st = BTM_SUCCESS; in btm_ble_obtain_vsc_details()
523 st = BTM_SUCCESS; in btm_ble_update_srvc_data_change()
1019 if (BTM_SUCCESS != btm_ble_obtain_vsc_details()) { in BTM_BleAdvFilterParamSetup()
1142 if (BTM_SUCCESS != btm_ble_obtain_vsc_details()) { in BTM_BleEnableDisableFilterFeature()
1194 if (BTM_SUCCESS != btm_ble_obtain_vsc_details()) { in BTM_BleCfgFilterCondition()
1270 if (BTM_SUCCESS != btm_ble_obtain_vsc_details()) { in btm_ble_adv_filter_init()
Dbtm_ble_batchscan.c183 return BTM_SUCCESS; in btm_ble_batchscan_enq_rep_q()
382 if (BTM_SUCCESS == status && BTM_BLE_SCAN_ENABLE_CALLED == cur_state) { in btm_ble_batchscan_vsc_cmpl_cback()
411 if (BTM_SUCCESS == status) { in btm_ble_batchscan_vsc_cmpl_cback()
843 if (BTM_SUCCESS == status) { in BTM_BleReadScanReports()
Dbtm_ble_privacy.c417 random_cb->set_local_privacy_cback(BTM_SUCCESS); in btm_ble_set_addr_resolution_enable_complete()
592 st = BTM_SUCCESS; in btm_ble_clear_resolving_list()
/hal_espressif-latest/components/bt/host/bluedroid/stack/gap/
Dgap_utils.c114 case BTM_SUCCESS: in gap_convert_btm_status()
/hal_espressif-latest/components/bt/host/bluedroid/bta/dm/
Dbta_dm_act.c1258 if (status == BTM_SUCCESS) { in bta_dm_bond()
1287 if (bta_dm_cb.p_sec_cback && (status != BTM_CMD_STARTED && status != BTM_SUCCESS)) { in bta_dm_bond_cancel()
1338 …BTM_PINCodeReply(p_data->pin_reply.bd_addr, BTM_SUCCESS, p_data->pin_reply.pin_len, p_data->pin_re… in bta_dm_pin_reply()
1428 res = BTM_SUCCESS; in bta_dm_confirm()
1450 res = BTM_SUCCESS; in bta_dm_key_req()
1485 …BTM_BleOobDataReply(p_data->oob_reply.bd_addr, BTM_SUCCESS, p_data->oob_reply.len, p_data->oob_rep… in bta_dm_oob_reply()
1557 res = BTM_SUCCESS; in bta_dm_ci_rmt_oob_act()
2867 rem_name.status = BTM_SUCCESS; in bta_dm_service_search_remname_cback()
3004 if (p_result && p_result->status == BTM_SUCCESS) { in bta_dm_pinname_cback()
3020 if (p_result && p_result->status == BTM_SUCCESS) { in bta_dm_pinname_cback()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/stack/gatt/
Dgatt_auth.c182 if (result == BTM_SUCCESS) { in gatt_enc_cmpl_cback()
494 if ( (btm_status != BTM_SUCCESS) && (btm_status != BTM_CMD_STARTED)) { in gatt_security_check_start()
/hal_espressif-latest/components/bt/host/bluedroid/stack/avdt/
Davdt_l2c.c96 if (res == BTM_SUCCESS) { in avdt_sec_check_complete_term()
147 if ( res == BTM_SUCCESS ) { in avdt_sec_check_complete_orig()
/hal_espressif-latest/components/bt/host/bluedroid/bta/sys/
Dutl.c236 if (BTM_SetDeviceClass(dev_class) == BTM_SUCCESS) { in utl_set_device_class()
/hal_espressif-latest/components/bt/host/bluedroid/stack/hid/
Dhidh_conn.c171 if ( res == BTM_SUCCESS && p_dev->conn.conn_state == HID_CONN_STATE_SECURITY ) { in hidh_sec_check_complete_term()
184 else if (res != BTM_SUCCESS) { in hidh_sec_check_complete_term()
315 if ( res == BTM_SUCCESS && p_dev->conn.conn_state == HID_CONN_STATE_SECURITY ) { in hidh_sec_check_complete_orig()
326 if ( res != BTM_SUCCESS && p_dev->conn.conn_state == HID_CONN_STATE_SECURITY ) { in hidh_sec_check_complete_orig()
Dhidd_conn.c100 if (res == BTM_SUCCESS && p_dev->conn.conn_state == HID_CONN_STATE_SECURITY) { in hidd_sec_check_complete()
105 } else if (res != BTM_SUCCESS) { in hidd_sec_check_complete()
132 if (res == BTM_SUCCESS) { in hidd_sec_check_complete_orig()
/hal_espressif-latest/components/bt/host/bluedroid/stack/l2cap/
Dl2c_link.c294 status = BTM_SUCCESS; in l2c_link_sec_comp()
315 case BTM_SUCCESS: in l2c_link_sec_comp()
640 } else if (rc == BTM_SUCCESS) { in l2c_link_timeout()
1008 if (BTM_ReadPowerMode(p_lcb->remote_bd_addr, &mode) == BTM_SUCCESS) { in l2c_link_check_power_mode()
Dl2c_ble.c1338 (*p_acl->p_set_pkt_data_cback)(BTM_SUCCESS, &data_length_params); in l2cble_process_data_length_change_event()
1341 (*conn_callback_func.set_pkt_data_length_cb)(BTM_SUCCESS, &data_length_params); in l2cble_process_data_length_change_event()
1351 (*p_acl->p_set_pkt_data_cback)(BTM_SUCCESS, &p_acl->data_length_params); in l2cble_process_data_length_change_event()
1599 if (status != BTM_SUCCESS) in l2cble_sec_comp()
1638 if (status != BTM_SUCCESS) { in l2cble_sec_comp()
/hal_espressif-latest/components/bt/host/bluedroid/bta/hf_client/
Dbta_hf_client_sco.c173 else if ( (status == BTM_SUCCESS) || (status == BTM_UNKNOWN_ADDR) ) { in bta_hf_client_sco_remove()
566 if (write_stat != BTM_SUCCESS) { in bta_hf_client_sco_event()
/hal_espressif-latest/components/bt/host/bluedroid/stack/rfcomm/
Drfc_port_fsm.c253 if (*((UINT8 *)p_data) != BTM_SUCCESS) { in rfc_port_sm_term_wait_sec_check()
332 if (*((UINT8 *)p_data) != BTM_SUCCESS) { in rfc_port_sm_orig_wait_sec_check()
/hal_espressif-latest/components/bt/host/bluedroid/btc/core/
Dbtc_util.c356 case BTM_SUCCESS: in btc_btm_status_to_esp_status()
/hal_espressif-latest/components/bt/host/bluedroid/bta/av/
Dbta_av_main.c940 (BTM_GetRole (peer_addr, &cur_role) == BTM_SUCCESS) && in bta_av_sys_rs_cback()
1081 if (BTM_GetRole(p_scb->peer_addr, &role) == BTM_SUCCESS) { in bta_av_link_role_ok()

12