/Zephyr-latest/tests/bluetooth/host/cs/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 | 13 DEFINE_FAKE_VALUE_FUNC(int, bt_hci_cmd_send_sync, uint16_t, struct net_buf *, struct net_buf **);
|
/Zephyr-latest/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-latest/drivers/bluetooth/hci/ |
D | h4_ifx_cyw43xxx.c | 134 err = bt_hci_cmd_send_sync(BT_HCI_VND_OP_UPDATE_BAUDRATE, buf, NULL); in bt_update_controller_baudrate() 158 err = bt_hci_cmd_send_sync(BT_HCI_VND_OP_DOWNLOAD_MINIDRIVER, NULL, NULL); in bt_firmware_download() 183 err = bt_hci_cmd_send_sync(op_code, buf, NULL); in bt_firmware_download() 253 err = bt_hci_cmd_send_sync(BT_HCI_OP_RESET, NULL, NULL); in bt_h4_vnd_setup() 284 err = bt_hci_cmd_send_sync(BT_HCI_OP_RESET, NULL, NULL); in bt_h4_vnd_setup()
|
D | hci_ifx_cyw208xx.c | 143 err = bt_hci_cmd_send_sync(op_code, buf, NULL); in cyw208xx_bt_firmware_download() 178 err = bt_hci_cmd_send_sync(BT_HCI_OP_RESET, NULL, NULL); in cyw208xx_setup() 215 err = bt_hci_cmd_send_sync(BT_HCI_VND_OP_SET_LOCAL_DEV_ADDR, buf, NULL); in cyw208xx_setup()
|
D | hci_nxp.c | 99 return bt_hci_cmd_send_sync(opcode, buf, NULL); in nxp_bt_send_vs_command() 510 ret = bt_hci_cmd_send_sync(BT_HCI_OP_RESET, NULL, NULL); in bt_nxp_close()
|
/Zephyr-latest/tests/bluetooth/host/conn/mocks/ |
D | hci_core.h | 13 FAKE(bt_hci_cmd_send_sync) \ 28 DECLARE_FAKE_VALUE_FUNC(int, bt_hci_cmd_send_sync, uint16_t, struct net_buf *, struct net_buf **);
|
D | hci_core.c | 15 DEFINE_FAKE_VALUE_FUNC(int, bt_hci_cmd_send_sync, uint16_t, struct net_buf *, struct net_buf **);
|
/Zephyr-latest/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() 257 bt_hci_cmd_send_sync(BT_HCI_OP_READ_REMOTE_FEATURES, buf, NULL); in bt_hci_conn_complete() 277 return bt_hci_cmd_send_sync(BT_HCI_OP_REMOTE_NAME_REQUEST, buf, NULL); in request_name() 629 bt_hci_cmd_send_sync(BT_HCI_OP_READ_REMOTE_EXT_FEATURES, buf, NULL); in bt_hci_read_remote_features_complete() 701 err = bt_hci_cmd_send_sync(BT_HCI_OP_READ_LOCAL_EXT_FEATURES, buf, &rsp); in read_ext_features() 797 err = bt_hci_cmd_send_sync(BT_HCI_OP_READ_BUFFER_SIZE, NULL, &buf); in bt_br_init() 813 err = bt_hci_cmd_send_sync(BT_HCI_OP_WRITE_SSP_MODE, buf, NULL); in bt_br_init() 826 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() 310 return bt_hci_cmd_send_sync(BT_HCI_OP_USER_PASSKEY_REPLY, buf, NULL); in ssp_passkey_reply() 328 return bt_hci_cmd_send_sync(BT_HCI_OP_USER_PASSKEY_NEG_REPLY, buf, in ssp_passkey_neg_reply() 349 return bt_hci_cmd_send_sync(BT_HCI_OP_AUTH_REQUESTED, buf, NULL); in conn_auth() 535 bt_hci_cmd_send_sync(BT_HCI_OP_LINK_KEY_NEG_REPLY, buf, NULL); in link_key_neg_reply() 554 bt_hci_cmd_send_sync(BT_HCI_OP_LINK_KEY_REPLY, buf, NULL); in link_key_reply() 611 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-latest/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-latest/subsys/bluetooth/host/ |
D | ecc.c | 121 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_P256_PUBLIC_KEY, NULL, NULL); in bt_pub_key_gen() 182 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_GENERATE_DHKEY, buf, NULL); in hci_generate_dhkey_v1() 199 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_GENERATE_DHKEY_V2, buf, NULL); in hci_generate_dhkey_v2()
|
D | hci_core.c | 373 int bt_hci_cmd_send_sync(uint16_t opcode, struct net_buf *buf, in bt_hci_cmd_send_sync() function 487 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_RAND, NULL, &rsp); in bt_hci_le_rand() 509 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_READ_MAX_DATA_LEN, NULL, &rsp); in bt_hci_le_read_max_data_len() 763 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_EXT_CREATE_CONN, buf, NULL); in bt_le_create_conn_ext() 811 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_EXT_CREATE_CONN_V2, buf, NULL); in bt_le_create_conn_synced() 869 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_CREATE_CONN, buf, NULL); in bt_le_create_conn_legacy() 892 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_CREATE_CONN_CANCEL, buf, NULL); in bt_le_create_conn_cancel() 910 return bt_hci_cmd_send_sync(BT_HCI_OP_DISCONNECT, buf, NULL); in bt_hci_disconnect() 1048 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_READ_REMOTE_FEATURES, buf, NULL); in bt_hci_le_read_remote_features() 1074 return bt_hci_cmd_send_sync(BT_HCI_OP_READ_REMOTE_VERSION_INFO, buf, in bt_hci_read_remote_version() [all …]
|
D | cs.c | 291 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_CS_READ_REMOTE_SUPPORTED_CAPABILITIES, buf, NULL); in bt_le_cs_read_remote_supported_capabilities() 435 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_CS_SET_DEFAULT_SETTINGS, buf, NULL); in bt_le_cs_set_default_settings() 451 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_CS_READ_REMOTE_FAE_TABLE, buf, NULL); in bt_le_cs_read_remote_fae_table() 590 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_CS_TEST, buf, NULL); in bt_le_cs_start_test() 878 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_CS_CREATE_CONFIG, buf, NULL); in bt_le_cs_create_config() 895 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_CS_REMOVE_CONFIG, buf, NULL); in bt_le_cs_remove_config() 911 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_CS_SECURITY_ENABLE, buf, NULL); in bt_le_cs_security_enable() 930 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_CS_PROCEDURE_ENABLE, buf, NULL); in bt_le_cs_procedure_enable() 960 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_CS_SET_PROCEDURE_PARAMETERS, buf, NULL); in bt_le_cs_set_procedure_parameters() 976 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_CS_SET_CHANNEL_CLASSIFICATION, buf, NULL); in bt_le_cs_set_channel_classification() [all …]
|
D | scan.c | 140 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_EXT_SCAN_ENABLE, buf, NULL); in cmd_le_set_ext_scan_enable() 168 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_SCAN_ENABLE, buf, NULL); in cmd_le_set_scan_enable_legacy() 269 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_EXT_SCAN_PARAM, buf, NULL); in start_le_scan_ext() 321 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_SCAN_PARAM, buf, NULL); in start_le_scan_legacy() 1140 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_PER_ADV_TERMINATE_SYNC, buf, in per_adv_sync_terminate() 1336 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_PER_ADV_SYNC_SUBEVENT, buf, NULL); in bt_le_per_adv_sync_subevent() 1380 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() 1949 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_PER_ADV_CREATE_SYNC, buf, NULL); in bt_le_per_adv_sync_create() 2002 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_PER_ADV_CREATE_SYNC_CANCEL, buf, in bt_le_per_adv_sync_create_cancel() 2108 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 | 145 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_RANDOM_ADDRESS, buf, NULL); in set_random_address() 200 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_ADV_SET_RANDOM_ADDR, buf, in bt_id_set_adv_random_addr() 317 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_RPA_TIMEOUT, buf, NULL); in le_rpa_timeout_update() 850 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_PRIVACY_MODE, buf, NULL); in le_set_privacy_mode() 871 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_ADDR_RES_ENABLE, in addr_res_enable() 901 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_ADD_DEV_TO_RL, buf, NULL); in hci_id_add() 1067 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_CLEAR_RL, NULL, NULL); in bt_id_add() 1142 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_REM_DEV_FROM_RL, buf, NULL); in hci_id_del() 1506 err = bt_hci_cmd_send_sync(BT_HCI_OP_VS_READ_KEY_HIERARCHY_ROOTS, NULL, in bt_read_identity_root() 1540 err = bt_hci_cmd_send_sync(BT_HCI_OP_READ_BD_ADDR, NULL, &rsp); in bt_id_read_public_addr() [all …]
|
D | adv.c | 338 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_ADV_ENABLE, buf, NULL); in bt_le_adv_set_enable_legacy() 373 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_EXT_ADV_ENABLE, buf, NULL); in bt_le_adv_set_enable_ext() 556 return bt_hci_cmd_send_sync(hci_op, buf, NULL); in hci_set_ad() 594 return bt_hci_cmd_send_sync(hci_op, buf, NULL); in hci_set_adv_ext_complete() 636 err = bt_hci_cmd_send_sync(hci_op, buf, NULL); in hci_set_adv_ext_fragmented() 749 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_PER_ADV_DATA, buf, NULL); in hci_set_per_adv_data() 1053 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_ADV_PARAM, buf, NULL); in bt_le_adv_start_legacy() 1225 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_EXT_ADV_PARAM, buf, &rsp); in le_ext_adv_param_set() 1790 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_REMOVE_ADV_SET, buf, NULL); in bt_le_ext_adv_delete() 1908 err = bt_hci_cmd_send_sync(opcode, buf, NULL); in bt_le_per_adv_set_param() [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | hci.h | 104 int bt_hci_cmd_send_sync(uint16_t opcode, struct net_buf *buf,
|
/Zephyr-latest/samples/bluetooth/hci_pwr_ctrl/src/ |
D | main.c | 69 err = bt_hci_cmd_send_sync(BT_HCI_OP_READ_RSSI, buf, &rsp); in read_conn_rssi() 101 err = bt_hci_cmd_send_sync(BT_HCI_OP_VS_WRITE_TX_POWER_LEVEL, in set_tx_power() 133 err = bt_hci_cmd_send_sync(BT_HCI_OP_VS_READ_TX_POWER_LEVEL, in get_tx_power()
|
/Zephyr-latest/subsys/bluetooth/mesh/shell/ |
D | hci.c | 76 err = bt_hci_cmd_send_sync(BT_HCI_OP_VS_MESH, buf, NULL); in cmd_mesh_adv()
|
/Zephyr-latest/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()
|
/Zephyr-latest/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()
|