/Zephyr-Core-3.7.0/tests/bluetooth/host/ecc/mocks/ |
D | hci_core.h | 13 FAKE(bt_hci_cmd_send_sync) 16 DECLARE_FAKE_VALUE_FUNC(int, bt_hci_cmd_send_sync, uint16_t, struct net_buf *, struct net_buf **);
|
D | hci_core.c | 19 DEFINE_FAKE_VALUE_FUNC(int, bt_hci_cmd_send_sync, uint16_t, struct net_buf *, struct net_buf **);
|
/Zephyr-Core-3.7.0/tests/bluetooth/host/id/mocks/ |
D | hci_core.h | 15 FAKE(bt_hci_cmd_send_sync) 19 DECLARE_FAKE_VALUE_FUNC(int, bt_hci_cmd_send_sync, uint16_t, struct net_buf *, struct net_buf **);
|
D | hci_core.c | 20 DEFINE_FAKE_VALUE_FUNC(int, bt_hci_cmd_send_sync, uint16_t, struct net_buf *, struct net_buf **);
|
/Zephyr-Core-3.7.0/drivers/bluetooth/hci/ |
D | h4_ifx_cyw43xxx.c | 135 err = bt_hci_cmd_send_sync(BT_HCI_VND_OP_UPDATE_BAUDRATE, buf, NULL); in bt_update_controller_baudrate() 159 err = bt_hci_cmd_send_sync(BT_HCI_VND_OP_DOWNLOAD_MINIDRIVER, NULL, NULL); in bt_firmware_download() 184 err = bt_hci_cmd_send_sync(op_code, buf, NULL); in bt_firmware_download() 254 err = bt_hci_cmd_send_sync(BT_HCI_OP_RESET, NULL, NULL); in bt_h4_vnd_setup() 285 err = bt_hci_cmd_send_sync(BT_HCI_OP_RESET, NULL, NULL); in bt_h4_vnd_setup()
|
D | hci_ifx_cyw208xx.c | 141 err = bt_hci_cmd_send_sync(op_code, buf, NULL); in cyw208xx_bt_firmware_download() 175 err = bt_hci_cmd_send_sync(BT_HCI_OP_RESET, NULL, NULL); in cyw208xx_setup()
|
D | hci_nxp.c | 79 return bt_hci_cmd_send_sync(opcode, buf, NULL); in nxp_bt_send_vs_command() 383 ret = bt_hci_cmd_send_sync(BT_HCI_OP_RESET, NULL, NULL); in bt_nxp_close()
|
D | ipm_stm32wb.c | 455 err = bt_hci_cmd_send_sync(ACI_HAL_WRITE_CONFIG_DATA, buf, NULL); in bt_ipm_set_addr() 483 err = bt_hci_cmd_send_sync(ACI_WRITE_SET_TX_POWER_LEVEL, buf, NULL); in bt_ipm_ble_init() 588 err = bt_hci_cmd_send_sync(ACI_HAL_STACK_RESET, NULL, NULL); in bt_ipm_close()
|
/Zephyr-Core-3.7.0/subsys/bluetooth/host/classic/ |
D | br.c | 45 err = bt_hci_cmd_send_sync(BT_HCI_OP_REJECT_CONN_REQ, buf, NULL); in reject_conn() 68 err = bt_hci_cmd_send_sync(BT_HCI_OP_ACCEPT_CONN_REQ, buf, NULL); in accept_conn() 122 err = bt_hci_cmd_send_sync(BT_HCI_OP_READ_ENCRYPTION_KEY_SIZE, buf, &rsp); in br_sufficient_key_size() 255 bt_hci_cmd_send_sync(BT_HCI_OP_READ_REMOTE_FEATURES, buf, NULL); in bt_hci_conn_complete() 281 return bt_hci_cmd_send_sync(BT_HCI_OP_REMOTE_NAME_REQUEST, buf, NULL); in request_name() 607 bt_hci_cmd_send_sync(BT_HCI_OP_READ_REMOTE_EXT_FEATURES, buf, NULL); in bt_hci_read_remote_features_complete() 679 err = bt_hci_cmd_send_sync(BT_HCI_OP_READ_LOCAL_EXT_FEATURES, buf, &rsp); in read_ext_features() 775 err = bt_hci_cmd_send_sync(BT_HCI_OP_READ_BUFFER_SIZE, NULL, &buf); in bt_br_init() 791 err = bt_hci_cmd_send_sync(BT_HCI_OP_WRITE_SSP_MODE, buf, NULL); in bt_br_init() 804 err = bt_hci_cmd_send_sync(BT_HCI_OP_WRITE_INQUIRY_MODE, buf, NULL); in bt_br_init() [all …]
|
D | ssp.c | 58 return bt_hci_cmd_send_sync(BT_HCI_OP_PIN_CODE_NEG_REPLY, buf, NULL); in pin_code_neg_reply() 79 return bt_hci_cmd_send_sync(BT_HCI_OP_PIN_CODE_REPLY, buf, NULL); in pin_code_reply() 192 return bt_hci_cmd_send_sync(BT_HCI_OP_USER_CONFIRM_REPLY, buf, NULL); in ssp_confirm_reply() 210 return bt_hci_cmd_send_sync(BT_HCI_OP_USER_CONFIRM_NEG_REPLY, buf, in ssp_confirm_neg_reply() 302 return bt_hci_cmd_send_sync(BT_HCI_OP_USER_PASSKEY_REPLY, buf, NULL); in ssp_passkey_reply() 320 return bt_hci_cmd_send_sync(BT_HCI_OP_USER_PASSKEY_NEG_REPLY, buf, in ssp_passkey_neg_reply() 341 return bt_hci_cmd_send_sync(BT_HCI_OP_AUTH_REQUESTED, buf, NULL); in conn_auth() 524 bt_hci_cmd_send_sync(BT_HCI_OP_LINK_KEY_NEG_REPLY, buf, NULL); in link_key_neg_reply() 543 bt_hci_cmd_send_sync(BT_HCI_OP_LINK_KEY_REPLY, buf, NULL); in link_key_reply() 600 bt_hci_cmd_send_sync(BT_HCI_OP_IO_CAPABILITY_NEG_REPLY, resp_buf, NULL); in io_capa_neg_reply() [all …]
|
D | sco.c | 275 err = bt_hci_cmd_send_sync(BT_HCI_OP_ACCEPT_SYNC_CONN_REQ, buf, NULL); in accept_sco_conn() 356 err = bt_hci_cmd_send_sync(BT_HCI_OP_SETUP_SYNC_CONN, buf, NULL); in sco_setup_sync_conn()
|
/Zephyr-Core-3.7.0/subsys/bluetooth/host/ |
D | ecc.c | 89 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_P256_PUBLIC_KEY, NULL, NULL); in bt_pub_key_gen() 150 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_GENERATE_DHKEY, buf, NULL); in hci_generate_dhkey_v1() 167 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_GENERATE_DHKEY_V2, buf, NULL); in hci_generate_dhkey_v2()
|
D | hci_core.c | 366 int bt_hci_cmd_send_sync(uint16_t opcode, struct net_buf *buf, in bt_hci_cmd_send_sync() function 480 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_RAND, NULL, &rsp); in bt_hci_le_rand() 502 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_READ_MAX_DATA_LEN, NULL, &rsp); in hci_le_read_max_data_len() 756 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_EXT_CREATE_CONN, buf, NULL); in bt_le_create_conn_ext() 804 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_EXT_CREATE_CONN_V2, buf, NULL); in bt_le_create_conn_synced() 862 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_CREATE_CONN, buf, NULL); in bt_le_create_conn_legacy() 885 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_CREATE_CONN_CANCEL, buf, NULL); in bt_le_create_conn_cancel() 903 return bt_hci_cmd_send_sync(BT_HCI_OP_DISCONNECT, buf, NULL); in bt_hci_disconnect() 1033 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_READ_REMOTE_FEATURES, buf, NULL); in hci_le_read_remote_features() 1059 return bt_hci_cmd_send_sync(BT_HCI_OP_READ_REMOTE_VERSION_INFO, buf, in hci_read_remote_version() [all …]
|
D | scan.c | 116 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_EXT_SCAN_ENABLE, buf, NULL); in set_le_ext_scan_enable() 150 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_SCAN_ENABLE, buf, NULL); in bt_le_scan_set_enable_legacy() 226 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_EXT_SCAN_PARAM, buf, NULL); in start_le_scan_ext() 278 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_SCAN_PARAM, buf, NULL); in start_le_scan_legacy() 970 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_PER_ADV_TERMINATE_SYNC, buf, in per_adv_sync_terminate() 1167 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_PER_ADV_SYNC_SUBEVENT, buf, NULL); in bt_le_per_adv_sync_subevent() 1211 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_PER_ADV_RESPONSE_DATA, buf, NULL); in bt_le_per_adv_set_response_data() 1834 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_PER_ADV_CREATE_SYNC, buf, NULL); in bt_le_per_adv_sync_create() 1878 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_PER_ADV_CREATE_SYNC_CANCEL, buf, in bt_le_per_adv_sync_create_cancel() 1984 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_PER_ADV_RECV_ENABLE, in bt_le_set_per_adv_recv_enable() [all …]
|
D | direction.c | 148 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_CL_CTE_TX_PARAMS, in hci_df_set_cl_cte_tx_params() 177 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_READ_ANT_INFO, NULL, &rsp); in hci_df_read_ant_info() 228 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_CL_CTE_TX_ENABLE, in hci_df_set_adv_cte_tx_enable() 355 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_CL_CTE_SAMPLING_ENABLE, buf, &rsp); in hci_df_set_cl_cte_rx_enable() 552 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_CONN_CTE_TX_PARAMS, buf, &rsp); in hci_df_set_conn_cte_tx_param() 647 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_CONN_CTE_RX_PARAMS, buf, &rsp); in hci_df_set_conn_cte_rx_enable() 831 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_CONN_CTE_RX_PARAMS, buf, &rsp); in hci_df_set_conn_cte_req_enable() 917 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_CONN_CTE_RSP_ENABLE, buf, &rsp); in hci_df_set_conn_cte_rsp_enable()
|
D | id.c | 142 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_RANDOM_ADDRESS, buf, NULL); in set_random_address() 197 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_ADV_SET_RANDOM_ADDR, buf, in bt_id_set_adv_random_addr() 314 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_RPA_TIMEOUT, buf, NULL); in le_rpa_timeout_update() 847 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_PRIVACY_MODE, buf, NULL); in le_set_privacy_mode() 868 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_ADDR_RES_ENABLE, in addr_res_enable() 898 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_ADD_DEV_TO_RL, buf, NULL); in hci_id_add() 1059 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_CLEAR_RL, NULL, NULL); in bt_id_add() 1134 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_REM_DEV_FROM_RL, buf, NULL); in hci_id_del() 1498 err = bt_hci_cmd_send_sync(BT_HCI_OP_VS_READ_KEY_HIERARCHY_ROOTS, NULL, in bt_read_identity_root() 1532 err = bt_hci_cmd_send_sync(BT_HCI_OP_READ_BD_ADDR, NULL, &rsp); in bt_id_read_public_addr() [all …]
|
D | adv.c | 336 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_ADV_ENABLE, buf, NULL); in bt_le_adv_set_enable_legacy() 371 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_EXT_ADV_ENABLE, buf, NULL); in bt_le_adv_set_enable_ext() 554 return bt_hci_cmd_send_sync(hci_op, buf, NULL); in hci_set_ad() 592 return bt_hci_cmd_send_sync(hci_op, buf, NULL); in hci_set_adv_ext_complete() 634 err = bt_hci_cmd_send_sync(hci_op, buf, NULL); in hci_set_adv_ext_fragmented() 747 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_PER_ADV_DATA, buf, NULL); in hci_set_per_adv_data() 1051 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_ADV_PARAM, buf, NULL); in bt_le_adv_start_legacy() 1220 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_EXT_ADV_PARAM, buf, &rsp); in le_ext_adv_param_set() 1746 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_REMOVE_ADV_SET, buf, NULL); in bt_le_ext_adv_delete() 1858 err = bt_hci_cmd_send_sync(opcode, buf, NULL); in bt_le_per_adv_set_param() [all …]
|
/Zephyr-Core-3.7.0/tests/bluetooth/hci_codecs_info/src/ |
D | main.c | 68 err = bt_hci_cmd_send_sync(BT_HCI_OP_READ_CODECS, NULL, NULL); in ZTEST() 87 err = bt_hci_cmd_send_sync(BT_HCI_OP_READ_CODECS_V2, NULL, &rsp); in ZTEST() 197 err = bt_hci_cmd_send_sync(BT_HCI_OP_READ_CODEC_CAPABILITIES, in ZTEST() 281 err = bt_hci_cmd_send_sync(BT_HCI_OP_READ_CTLR_DELAY, buf, &rsp); in ZTEST()
|
/Zephyr-Core-3.7.0/samples/bluetooth/hci_pwr_ctrl/src/ |
D | main.c | 65 err = bt_hci_cmd_send_sync(BT_HCI_OP_READ_RSSI, buf, &rsp); in read_conn_rssi() 97 err = bt_hci_cmd_send_sync(BT_HCI_OP_VS_WRITE_TX_POWER_LEVEL, in set_tx_power() 129 err = bt_hci_cmd_send_sync(BT_HCI_OP_VS_READ_TX_POWER_LEVEL, in get_tx_power()
|
/Zephyr-Core-3.7.0/include/zephyr/bluetooth/ |
D | hci.h | 104 int bt_hci_cmd_send_sync(uint16_t opcode, struct net_buf *buf,
|
/Zephyr-Core-3.7.0/subsys/bluetooth/shell/ |
D | hci.c | 76 err = bt_hci_cmd_send_sync(BT_HCI_OP_VS_MESH, buf, NULL); in cmd_mesh_adv()
|
/Zephyr-Core-3.7.0/tests/bluetooth/df/connectionless_cte_tx/src/ |
D | common.c | 77 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_CL_CTE_TX_PARAMS, buf, in common_set_cl_cte_tx_params()
|
D | test_set_cl_cte_tx_enable.c | 52 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_CL_CTE_TX_ENABLE, in send_set_cl_cte_tx_enable()
|
/Zephyr-Core-3.7.0/tests/bluetooth/df/connection_cte_tx_params/src/ |
D | test_set_conn_cte_tx_params.c | 81 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_CONN_CTE_TX_PARAMS, buf, NULL); in send_set_conn_cte_tx_params()
|
/Zephyr-Core-3.7.0/tests/bluetooth/df/connection_cte_req/src/ |
D | test_cte_req_enable.c | 81 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_CONN_CTE_REQ_ENABLE, buf, NULL); in send_conn_cte_req_enable()
|