Home
last modified time | relevance | path

Searched refs:bt_hci_cmd_create (Results 1 – 25 of 46) sorted by relevance

12

/Zephyr-latest/tests/bluetooth/host/cs/mocks/
Dhci_core.h12 FAKE(bt_hci_cmd_create) \
15 DECLARE_FAKE_VALUE_FUNC(struct net_buf *, bt_hci_cmd_create, uint16_t, uint8_t);
Dhci_core.c12 DEFINE_FAKE_VALUE_FUNC(struct net_buf *, bt_hci_cmd_create, uint16_t, uint8_t);
/Zephyr-latest/tests/bluetooth/host/id/mocks/
Dhci_core.h14 FAKE(bt_hci_cmd_create) \
18 DECLARE_FAKE_VALUE_FUNC(struct net_buf *, bt_hci_cmd_create, uint16_t, uint8_t);
Dhci_core.c19 DEFINE_FAKE_VALUE_FUNC(struct net_buf *, bt_hci_cmd_create, uint16_t, uint8_t);
/Zephyr-latest/tests/bluetooth/host/conn/mocks/
Dhci_core.h12 FAKE(bt_hci_cmd_create) \
27 DECLARE_FAKE_VALUE_FUNC(struct net_buf *, bt_hci_cmd_create, uint16_t, uint8_t);
Dhci_core.c14 DEFINE_FAKE_VALUE_FUNC(struct net_buf *, bt_hci_cmd_create, uint16_t, uint8_t);
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Dhci.c33 buf = bt_hci_cmd_create(BT_HCI_OP_VS_MESH, in cmd_mesh_adv()
61 buf = bt_hci_cmd_create(BT_HCI_OP_VS_MESH, in cmd_mesh_adv()
/Zephyr-latest/subsys/bluetooth/host/classic/
Dbr.c38 buf = bt_hci_cmd_create(BT_HCI_OP_REJECT_CONN_REQ, sizeof(*cp)); in reject_conn()
61 buf = bt_hci_cmd_create(BT_HCI_OP_ACCEPT_CONN_REQ, sizeof(*cp)); in accept_conn()
115 buf = bt_hci_cmd_create(BT_HCI_OP_READ_ENCRYPTION_KEY_SIZE, sizeof(*cp)); in br_sufficient_key_size()
251 buf = bt_hci_cmd_create(BT_HCI_OP_READ_REMOTE_FEATURES, sizeof(*cp)); in bt_hci_conn_complete()
267 buf = bt_hci_cmd_create(BT_HCI_OP_REMOTE_NAME_REQUEST, sizeof(*cp)); in request_name()
621 buf = bt_hci_cmd_create(BT_HCI_OP_READ_REMOTE_EXT_FEATURES, sizeof(*cp)); in bt_hci_read_remote_features_complete()
695 buf = bt_hci_cmd_create(BT_HCI_OP_READ_LOCAL_EXT_FEATURES, sizeof(*cp)); in read_ext_features()
808 buf = bt_hci_cmd_create(BT_HCI_OP_WRITE_SSP_MODE, sizeof(*ssp_cp)); in bt_br_init()
821 buf = bt_hci_cmd_create(BT_HCI_OP_WRITE_INQUIRY_MODE, sizeof(*inq_cp)); in bt_br_init()
834 buf = bt_hci_cmd_create(BT_HCI_OP_WRITE_LOCAL_NAME, sizeof(*name_cp)); in bt_br_init()
[all …]
Dssp.c53 buf = bt_hci_cmd_create(BT_HCI_OP_PIN_CODE_NEG_REPLY, sizeof(*cp)); in pin_code_neg_reply()
71 buf = bt_hci_cmd_create(BT_HCI_OP_PIN_CODE_REPLY, sizeof(*cp)); in pin_code_reply()
197 buf = bt_hci_cmd_create(BT_HCI_OP_USER_CONFIRM_REPLY, sizeof(*cp)); in ssp_confirm_reply()
215 buf = bt_hci_cmd_create(BT_HCI_OP_USER_CONFIRM_NEG_REPLY, sizeof(*cp)); in ssp_confirm_neg_reply()
314 buf = bt_hci_cmd_create(BT_HCI_OP_USER_PASSKEY_REPLY, sizeof(*cp)); in ssp_passkey_reply()
333 buf = bt_hci_cmd_create(BT_HCI_OP_USER_PASSKEY_NEG_REPLY, sizeof(*cp)); in ssp_passkey_neg_reply()
352 buf = bt_hci_cmd_create(BT_HCI_OP_AUTH_REQUESTED, sizeof(*auth)); in conn_auth()
540 buf = bt_hci_cmd_create(BT_HCI_OP_LINK_KEY_NEG_REPLY, sizeof(*cp)); in link_key_neg_reply()
558 buf = bt_hci_cmd_create(BT_HCI_OP_LINK_KEY_REPLY, sizeof(*cp)); in link_key_reply()
614 resp_buf = bt_hci_cmd_create(BT_HCI_OP_IO_CAPABILITY_NEG_REPLY, in io_capa_neg_reply()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/reassembly/peer/src/
Dpeer.c60 struct net_buf *bt_hci_cmd_create(uint16_t opcode, uint8_t param_len) in bt_hci_cmd_create() function
283 cmd = bt_hci_cmd_create(opcode, 0); in send_cmd()
356 buf = bt_hci_cmd_create(opcode, sizeof(*cp_mask)); in set_event_mask()
374 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_RANDOM_ADDRESS, sizeof(addr.a)); in set_random_address()
396 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_ADV_DATA, sizeof(data)); in start_adv()
409 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_ADV_PARAM, sizeof(set_param)); in start_adv()
415 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_ADV_ENABLE, 1); in start_adv()
431 buf = bt_hci_cmd_create(BT_HCI_OP_DISCONNECT, sizeof(*disconn)); in disconnect()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/hfc_multilink/tester/src/
Dtester.c53 struct net_buf *bt_hci_cmd_create(uint16_t opcode, uint8_t param_len) in bt_hci_cmd_create() function
321 cmd = bt_hci_cmd_create(opcode, 0); in send_cmd()
392 struct net_buf *buf = bt_hci_cmd_create(BT_HCI_OP_LE_WRITE_DEFAULT_DATA_LEN, sizeof(*cp)); in write_default_data_len()
418 buf = bt_hci_cmd_create(opcode, sizeof(*cp_mask)); in set_event_mask()
439 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_RANDOM_ADDRESS, sizeof(addr.a)); in set_random_address()
461 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_ADV_DATA, sizeof(data)); in start_adv()
474 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_ADV_PARAM, sizeof(set_param)); in start_adv()
480 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_ADV_ENABLE, 1); in start_adv()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/disconnect/tester/src/
Dmain.c61 struct net_buf *bt_hci_cmd_create(uint16_t opcode, uint8_t param_len) in bt_hci_cmd_create() function
307 cmd = bt_hci_cmd_create(opcode, 0); in send_cmd()
378 struct net_buf *buf = bt_hci_cmd_create(BT_HCI_OP_LE_WRITE_DEFAULT_DATA_LEN, sizeof(*cp)); in write_default_data_len()
404 buf = bt_hci_cmd_create(opcode, sizeof(*cp_mask)); in set_event_mask()
422 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_RANDOM_ADDRESS, sizeof(addr.a)); in set_random_address()
445 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_ADV_PARAM, sizeof(set_param)); in start_adv()
450 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_ADV_ENABLE, 1); in start_adv()
/Zephyr-latest/tests/bsim/bluetooth/host/att/sequential/tester/src/
Dmain.c64 struct net_buf *bt_hci_cmd_create(uint16_t opcode, uint8_t param_len) in bt_hci_cmd_create() function
330 cmd = bt_hci_cmd_create(opcode, 0); in send_cmd()
401 struct net_buf *buf = bt_hci_cmd_create(BT_HCI_OP_LE_WRITE_DEFAULT_DATA_LEN, sizeof(*cp)); in write_default_data_len()
427 buf = bt_hci_cmd_create(opcode, sizeof(*cp_mask)); in set_event_mask()
445 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_RANDOM_ADDRESS, sizeof(addr.a)); in set_random_address()
468 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_ADV_PARAM, sizeof(set_param)); in start_adv()
473 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_ADV_ENABLE, 1); in start_adv()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/split/tester/src/
Dmain.c52 struct net_buf *bt_hci_cmd_create(uint16_t opcode, uint8_t param_len) in bt_hci_cmd_create() function
310 cmd = bt_hci_cmd_create(opcode, 0); in send_cmd()
381 struct net_buf *buf = bt_hci_cmd_create(BT_HCI_OP_LE_WRITE_DEFAULT_DATA_LEN, sizeof(*cp)); in write_default_data_len()
407 buf = bt_hci_cmd_create(opcode, sizeof(*cp_mask)); in set_event_mask()
425 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_RANDOM_ADDRESS, sizeof(addr.a)); in set_random_address()
446 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_ADV_PARAM, sizeof(set_param)); in start_adv()
452 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_ADV_ENABLE, 1); in start_adv()
/Zephyr-latest/tests/bsim/bluetooth/host/att/pipeline/tester/src/
Dmain.c69 struct net_buf *bt_hci_cmd_create(uint16_t opcode, uint8_t param_len) in bt_hci_cmd_create() function
353 cmd = bt_hci_cmd_create(opcode, 0); in send_cmd()
424 struct net_buf *buf = bt_hci_cmd_create(BT_HCI_OP_LE_WRITE_DEFAULT_DATA_LEN, sizeof(*cp)); in write_default_data_len()
450 buf = bt_hci_cmd_create(opcode, sizeof(*cp_mask)); in set_event_mask()
468 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_RANDOM_ADDRESS, sizeof(addr.a)); in set_random_address()
491 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_ADV_PARAM, sizeof(set_param)); in start_adv()
496 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_ADV_ENABLE, 1); in start_adv()
/Zephyr-latest/include/zephyr/bluetooth/
Dhci.h60 struct net_buf *bt_hci_cmd_create(uint16_t opcode, uint8_t param_len);
/Zephyr-latest/samples/bluetooth/hci_pwr_ctrl/src/
Dmain.c60 buf = bt_hci_cmd_create(BT_HCI_OP_READ_RSSI, sizeof(*cp)); in read_conn_rssi()
89 buf = bt_hci_cmd_create(BT_HCI_OP_VS_WRITE_TX_POWER_LEVEL, in set_tx_power()
122 buf = bt_hci_cmd_create(BT_HCI_OP_VS_READ_TX_POWER_LEVEL, in get_tx_power()
/Zephyr-latest/subsys/bluetooth/host/
Dcs.c283 buf = bt_hci_cmd_create(BT_HCI_OP_LE_CS_READ_REMOTE_SUPPORTED_CAPABILITIES, sizeof(*cp)); in bt_le_cs_read_remote_supported_capabilities()
416 buf = bt_hci_cmd_create(BT_HCI_OP_LE_CS_SET_DEFAULT_SETTINGS, sizeof(*cp)); in bt_le_cs_set_default_settings()
443 buf = bt_hci_cmd_create(BT_HCI_OP_LE_CS_READ_REMOTE_FAE_TABLE, sizeof(*cp)); in bt_le_cs_read_remote_fae_table()
495 buf = bt_hci_cmd_create(BT_HCI_OP_LE_CS_TEST, sizeof(*cp)); in bt_le_cs_start_test()
853 buf = bt_hci_cmd_create(BT_HCI_OP_LE_CS_CREATE_CONFIG, sizeof(*cp)); in bt_le_cs_create_config()
886 buf = bt_hci_cmd_create(BT_HCI_OP_LE_CS_REMOVE_CONFIG, sizeof(*cp)); in bt_le_cs_remove_config()
903 buf = bt_hci_cmd_create(BT_HCI_OP_LE_CS_SECURITY_ENABLE, sizeof(*cp)); in bt_le_cs_security_enable()
920 buf = bt_hci_cmd_create(BT_HCI_OP_LE_CS_PROCEDURE_ENABLE, sizeof(*cp)); in bt_le_cs_procedure_enable()
939 buf = bt_hci_cmd_create(BT_HCI_OP_LE_CS_SET_PROCEDURE_PARAMETERS, sizeof(*cp)); in bt_le_cs_set_procedure_parameters()
968 buf = bt_hci_cmd_create(BT_HCI_OP_LE_CS_SET_CHANNEL_CLASSIFICATION, 10); in bt_le_cs_set_channel_classification()
[all …]
Dscan.c125 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_EXT_SCAN_ENABLE, sizeof(*cp)); in cmd_le_set_ext_scan_enable()
155 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_SCAN_ENABLE, sizeof(*cp)); in cmd_le_set_scan_enable_legacy()
244 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_EXT_SCAN_PARAM, in start_le_scan_ext()
314 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_SCAN_PARAM, sizeof(set_param)); in start_le_scan_legacy()
1158 buf = bt_hci_cmd_create(BT_HCI_OP_LE_PER_ADV_TERMINATE_SYNC, in per_adv_sync_terminate()
1351 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_PER_ADV_SYNC_SUBEVENT, in bt_le_per_adv_sync_subevent()
1391 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_PER_ADV_RESPONSE_DATA, in bt_le_per_adv_set_response_data()
1919 buf = bt_hci_cmd_create(BT_HCI_OP_LE_PER_ADV_CREATE_SYNC, sizeof(*cp)); in bt_le_per_adv_sync_create()
2026 buf = bt_hci_cmd_create(BT_HCI_OP_LE_PER_ADV_CREATE_SYNC_CANCEL, 0); in bt_le_per_adv_sync_create_cancel()
2122 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_PER_ADV_RECV_ENABLE, in bt_le_set_per_adv_recv_enable()
[all …]
Dhci_core.c250 buf = bt_hci_cmd_create(BT_HCI_OP_HOST_NUM_COMPLETED_PACKETS, in bt_send_one_host_num_completed_packets()
312 struct net_buf *bt_hci_cmd_create(uint16_t opcode, uint8_t param_len) in bt_hci_cmd_create() function
346 buf = bt_hci_cmd_create(opcode, 0); in bt_hci_cmd_send()
384 buf = bt_hci_cmd_create(opcode, 0); in bt_hci_cmd_send_sync()
714 buf = bt_hci_cmd_create(BT_HCI_OP_LE_EXT_CREATE_CONN, sizeof(*cp) + in bt_le_create_conn_ext()
785 buf = bt_hci_cmd_create(BT_HCI_OP_LE_EXT_CREATE_CONN_V2, sizeof(*cp) + sizeof(*phy)); in bt_le_create_conn_synced()
835 buf = bt_hci_cmd_create(BT_HCI_OP_LE_CREATE_CONN, sizeof(*cp)); in bt_le_create_conn_legacy()
890 buf = bt_hci_cmd_create(BT_HCI_OP_LE_CREATE_CONN_CANCEL, 0); in bt_le_create_conn_cancel()
907 buf = bt_hci_cmd_create(BT_HCI_OP_DISCONNECT, sizeof(*disconn)); in bt_hci_disconnect()
1045 buf = bt_hci_cmd_create(BT_HCI_OP_LE_READ_REMOTE_FEATURES, in bt_hci_le_read_remote_features()
[all …]
/Zephyr-latest/drivers/bluetooth/hci/
Dh4_ifx_cyw43xxx.c125 buf = bt_hci_cmd_create(BT_HCI_VND_OP_UPDATE_BAUDRATE, in bt_update_controller_baudrate()
175 buf = bt_hci_cmd_create(op_code, data_length); in bt_firmware_download()
Dhci_ifx_cyw208xx.c133 buf = bt_hci_cmd_create(op_code, data_length); in cyw208xx_bt_firmware_download()
193 buf = bt_hci_cmd_create(BT_HCI_VND_OP_SET_LOCAL_DEV_ADDR, BTM_SET_LOCAL_DEV_ADDR_LENGTH); in cyw208xx_setup()
344 buf = bt_hci_cmd_create(opcode, param_len); in wiced_bt_dev_vendor_specific_command()
/Zephyr-latest/tests/bluetooth/df/connectionless_cte_tx/src/
Dcommon.c62 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_CL_CTE_TX_PARAMS, in common_set_cl_cte_tx_params()
/Zephyr-latest/samples/bluetooth/hci_vs_scan_req/src/
Dmain.c68 buf = bt_hci_cmd_create(BT_HCI_OP_VS_SET_SCAN_REQ_REPORTS, sizeof(*cp)); in enable_legacy_adv_scan_request_event()
/Zephyr-latest/tests/bluetooth/hci_codecs_info/src/
Dmain.c188 buf = bt_hci_cmd_create(BT_HCI_OP_READ_CODEC_CAPABILITIES, sizeof(*cp)); in ZTEST()
271 buf = bt_hci_cmd_create(BT_HCI_OP_READ_CTLR_DELAY, sizeof(*cp)); in ZTEST()

12