Home
last modified time | relevance | path

Searched refs:bt_hci_cmd_send_sync (Results 1 – 25 of 38) sorted by relevance

12

/Zephyr-latest/tests/bluetooth/host/cs/mocks/
Dhci_core.h13 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 **);
Dhci_core.c13 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/
Dhci_core.h15 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 **);
Dhci_core.c20 DEFINE_FAKE_VALUE_FUNC(int, bt_hci_cmd_send_sync, uint16_t, struct net_buf *, struct net_buf **);
/Zephyr-latest/drivers/bluetooth/hci/
Dh4_ifx_cyw43xxx.c136 err = bt_hci_cmd_send_sync(BT_HCI_VND_OP_UPDATE_BAUDRATE, buf, NULL); in bt_update_controller_baudrate()
160 err = bt_hci_cmd_send_sync(BT_HCI_VND_OP_DOWNLOAD_MINIDRIVER, NULL, NULL); in bt_firmware_download()
185 err = bt_hci_cmd_send_sync(op_code, buf, NULL); in bt_firmware_download()
255 err = bt_hci_cmd_send_sync(BT_HCI_OP_RESET, NULL, NULL); in bt_h4_vnd_setup()
286 err = bt_hci_cmd_send_sync(BT_HCI_OP_RESET, NULL, NULL); in bt_h4_vnd_setup()
Dhci_ifx_cyw208xx.c143 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()
Dipm_stm32wb.c455 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()
599 err = bt_hci_cmd_send_sync(ACI_HAL_STACK_RESET, NULL, NULL); in bt_ipm_close()
/Zephyr-latest/subsys/bluetooth/host/classic/
Dbr.c47 err = bt_hci_cmd_send_sync(BT_HCI_OP_REJECT_CONN_REQ, buf, NULL); in reject_conn()
70 err = bt_hci_cmd_send_sync(BT_HCI_OP_ACCEPT_CONN_REQ, buf, NULL); in accept_conn()
124 err = bt_hci_cmd_send_sync(BT_HCI_OP_READ_ENCRYPTION_KEY_SIZE, buf, &rsp); in br_sufficient_key_size()
259 bt_hci_cmd_send_sync(BT_HCI_OP_READ_REMOTE_FEATURES, buf, NULL); in bt_hci_conn_complete()
279 return bt_hci_cmd_send_sync(BT_HCI_OP_REMOTE_NAME_REQUEST, buf, NULL); in request_name()
631 bt_hci_cmd_send_sync(BT_HCI_OP_READ_REMOTE_EXT_FEATURES, buf, NULL); in bt_hci_read_remote_features_complete()
703 err = bt_hci_cmd_send_sync(BT_HCI_OP_READ_LOCAL_EXT_FEATURES, buf, &rsp); in read_ext_features()
799 err = bt_hci_cmd_send_sync(BT_HCI_OP_READ_BUFFER_SIZE, NULL, &buf); in bt_br_init()
815 err = bt_hci_cmd_send_sync(BT_HCI_OP_WRITE_SSP_MODE, buf, NULL); in bt_br_init()
828 err = bt_hci_cmd_send_sync(BT_HCI_OP_WRITE_INQUIRY_MODE, buf, NULL); in bt_br_init()
[all …]
Dssp.c61 return bt_hci_cmd_send_sync(BT_HCI_OP_PIN_CODE_NEG_REPLY, buf, NULL); in pin_code_neg_reply()
82 return bt_hci_cmd_send_sync(BT_HCI_OP_PIN_CODE_REPLY, buf, NULL); in pin_code_reply()
205 return bt_hci_cmd_send_sync(BT_HCI_OP_USER_CONFIRM_REPLY, buf, NULL); in ssp_confirm_reply()
223 return bt_hci_cmd_send_sync(BT_HCI_OP_USER_CONFIRM_NEG_REPLY, buf, in ssp_confirm_neg_reply()
323 return bt_hci_cmd_send_sync(BT_HCI_OP_USER_PASSKEY_REPLY, buf, NULL); in ssp_passkey_reply()
341 return bt_hci_cmd_send_sync(BT_HCI_OP_USER_PASSKEY_NEG_REPLY, buf, in ssp_passkey_neg_reply()
362 return bt_hci_cmd_send_sync(BT_HCI_OP_AUTH_REQUESTED, buf, NULL); in conn_auth()
548 bt_hci_cmd_send_sync(BT_HCI_OP_LINK_KEY_NEG_REPLY, buf, NULL); in link_key_neg_reply()
567 bt_hci_cmd_send_sync(BT_HCI_OP_LINK_KEY_REPLY, buf, NULL); in link_key_reply()
624 bt_hci_cmd_send_sync(BT_HCI_OP_IO_CAPABILITY_NEG_REPLY, resp_buf, NULL); in io_capa_neg_reply()
[all …]
Dsco.c275 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/host/conn/mocks/
Dhci_core.h13 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 **);
Dhci_core.c15 DEFINE_FAKE_VALUE_FUNC(int, bt_hci_cmd_send_sync, uint16_t, struct net_buf *, struct net_buf **);
/Zephyr-latest/tests/bluetooth/hci_codecs_info/src/
Dmain.c68 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()
283 err = bt_hci_cmd_send_sync(BT_HCI_OP_READ_CTLR_DELAY, buf, &rsp); in ZTEST()
/Zephyr-latest/include/zephyr/bluetooth/
Dhci.h104 int bt_hci_cmd_send_sync(uint16_t opcode, struct net_buf *buf,
/Zephyr-latest/samples/bluetooth/hci_pwr_ctrl/src/
Dmain.c69 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/host/
Dcs.c291 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 …]
Dhci_core.c376 int bt_hci_cmd_send_sync(uint16_t opcode, struct net_buf *buf, in bt_hci_cmd_send_sync() function
490 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_RAND, NULL, &rsp); in bt_hci_le_rand()
512 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_READ_MAX_DATA_LEN, NULL, &rsp); in bt_hci_le_read_max_data_len()
766 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_EXT_CREATE_CONN, buf, NULL); in bt_le_create_conn_ext()
814 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_EXT_CREATE_CONN_V2, buf, NULL); in bt_le_create_conn_synced()
872 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_CREATE_CONN, buf, NULL); in bt_le_create_conn_legacy()
898 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_CREATE_CONN_CANCEL, buf, NULL); in bt_le_create_conn_cancel()
916 return bt_hci_cmd_send_sync(BT_HCI_OP_DISCONNECT, buf, NULL); in bt_hci_disconnect()
1054 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_READ_REMOTE_FEATURES, buf, NULL); in bt_hci_le_read_remote_features()
1080 return bt_hci_cmd_send_sync(BT_HCI_OP_READ_REMOTE_VERSION_INFO, buf, in bt_hci_read_remote_version()
[all …]
Dscan.c140 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()
1169 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_PER_ADV_TERMINATE_SYNC, buf, in per_adv_sync_terminate()
1365 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_PER_ADV_SYNC_SUBEVENT, buf, NULL); in bt_le_per_adv_sync_subevent()
1409 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()
1978 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_PER_ADV_CREATE_SYNC, buf, NULL); in bt_le_per_adv_sync_create()
2031 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_PER_ADV_CREATE_SYNC_CANCEL, buf, in bt_le_per_adv_sync_create_cancel()
2137 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_PER_ADV_RECV_ENABLE, in bt_le_set_per_adv_recv_enable()
[all …]
Ddirection.c148 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()
Did.c147 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_RANDOM_ADDRESS, buf, NULL); in set_random_address()
202 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_ADV_SET_RANDOM_ADDR, buf, in bt_id_set_adv_random_addr()
322 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_RPA_TIMEOUT, buf, NULL); in le_rpa_timeout_update()
855 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_PRIVACY_MODE, buf, NULL); in le_set_privacy_mode()
876 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_ADDR_RES_ENABLE, in addr_res_enable()
906 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_ADD_DEV_TO_RL, buf, NULL); in hci_id_add()
1072 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_CLEAR_RL, NULL, NULL); in bt_id_add()
1147 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_REM_DEV_FROM_RL, buf, NULL); in hci_id_del()
1511 err = bt_hci_cmd_send_sync(BT_HCI_OP_VS_READ_KEY_HIERARCHY_ROOTS, NULL, in bt_read_identity_root()
1545 err = bt_hci_cmd_send_sync(BT_HCI_OP_READ_BD_ADDR, NULL, &rsp); in bt_id_read_public_addr()
[all …]
Dadv.c338 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()
1255 err = bt_hci_cmd_send_sync(opcode, buf, &rsp); in le_ext_adv_param_set()
1820 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_REMOVE_ADV_SET, buf, NULL); in bt_le_ext_adv_delete()
1938 err = bt_hci_cmd_send_sync(opcode, buf, NULL); in bt_le_per_adv_set_param()
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Dhci.c76 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/
Dcommon.c77 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/
Dtest_set_conn_cte_tx_params.c81 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-latest/tests/bluetooth/df/connection_cte_req/src/
Dtest_cte_req_enable.c81 return bt_hci_cmd_send_sync(BT_HCI_OP_LE_CONN_CTE_REQ_ENABLE, buf, NULL); in send_conn_cte_req_enable()

12