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.c36 buf = bt_hci_cmd_create(BT_HCI_OP_REJECT_CONN_REQ, sizeof(*cp)); in reject_conn()
59 buf = bt_hci_cmd_create(BT_HCI_OP_ACCEPT_CONN_REQ, sizeof(*cp)); in accept_conn()
113 buf = bt_hci_cmd_create(BT_HCI_OP_READ_ENCRYPTION_KEY_SIZE, sizeof(*cp)); in br_sufficient_key_size()
249 buf = bt_hci_cmd_create(BT_HCI_OP_READ_REMOTE_FEATURES, sizeof(*cp)); in bt_hci_conn_complete()
265 buf = bt_hci_cmd_create(BT_HCI_OP_REMOTE_NAME_REQUEST, sizeof(*cp)); in request_name()
619 buf = bt_hci_cmd_create(BT_HCI_OP_READ_REMOTE_EXT_FEATURES, sizeof(*cp)); in bt_hci_read_remote_features_complete()
693 buf = bt_hci_cmd_create(BT_HCI_OP_READ_LOCAL_EXT_FEATURES, sizeof(*cp)); in read_ext_features()
806 buf = bt_hci_cmd_create(BT_HCI_OP_WRITE_SSP_MODE, sizeof(*ssp_cp)); in bt_br_init()
819 buf = bt_hci_cmd_create(BT_HCI_OP_WRITE_INQUIRY_MODE, sizeof(*inq_cp)); in bt_br_init()
832 buf = bt_hci_cmd_create(BT_HCI_OP_WRITE_LOCAL_NAME, sizeof(*name_cp)); in bt_br_init()
[all …]
Dssp.c50 buf = bt_hci_cmd_create(BT_HCI_OP_PIN_CODE_NEG_REPLY, sizeof(*cp)); in pin_code_neg_reply()
68 buf = bt_hci_cmd_create(BT_HCI_OP_PIN_CODE_REPLY, sizeof(*cp)); in pin_code_reply()
184 buf = bt_hci_cmd_create(BT_HCI_OP_USER_CONFIRM_REPLY, sizeof(*cp)); in ssp_confirm_reply()
202 buf = bt_hci_cmd_create(BT_HCI_OP_USER_CONFIRM_NEG_REPLY, sizeof(*cp)); in ssp_confirm_neg_reply()
301 buf = bt_hci_cmd_create(BT_HCI_OP_USER_PASSKEY_REPLY, sizeof(*cp)); in ssp_passkey_reply()
320 buf = bt_hci_cmd_create(BT_HCI_OP_USER_PASSKEY_NEG_REPLY, sizeof(*cp)); in ssp_passkey_neg_reply()
339 buf = bt_hci_cmd_create(BT_HCI_OP_AUTH_REQUESTED, sizeof(*auth)); in conn_auth()
527 buf = bt_hci_cmd_create(BT_HCI_OP_LINK_KEY_NEG_REPLY, sizeof(*cp)); in link_key_neg_reply()
545 buf = bt_hci_cmd_create(BT_HCI_OP_LINK_KEY_REPLY, sizeof(*cp)); in link_key_reply()
601 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.c59 struct net_buf *bt_hci_cmd_create(uint16_t opcode, uint8_t param_len) in bt_hci_cmd_create() function
282 cmd = bt_hci_cmd_create(opcode, 0); in send_cmd()
355 buf = bt_hci_cmd_create(opcode, sizeof(*cp_mask)); in set_event_mask()
373 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_RANDOM_ADDRESS, sizeof(addr.a)); in set_random_address()
395 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_ADV_DATA, sizeof(data)); in start_adv()
408 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_ADV_PARAM, sizeof(set_param)); in start_adv()
414 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_ADV_ENABLE, 1); in start_adv()
430 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.c52 struct net_buf *bt_hci_cmd_create(uint16_t opcode, uint8_t param_len) in bt_hci_cmd_create() function
320 cmd = bt_hci_cmd_create(opcode, 0); in send_cmd()
391 struct net_buf *buf = bt_hci_cmd_create(BT_HCI_OP_LE_WRITE_DEFAULT_DATA_LEN, sizeof(*cp)); in write_default_data_len()
417 buf = bt_hci_cmd_create(opcode, sizeof(*cp_mask)); in set_event_mask()
438 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_RANDOM_ADDRESS, sizeof(addr.a)); in set_random_address()
460 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_ADV_DATA, sizeof(data)); in start_adv()
473 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_ADV_PARAM, sizeof(set_param)); in start_adv()
479 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.c58 struct net_buf *bt_hci_cmd_create(uint16_t opcode, uint8_t param_len) in bt_hci_cmd_create() function
306 cmd = bt_hci_cmd_create(opcode, 0); in send_cmd()
377 struct net_buf *buf = bt_hci_cmd_create(BT_HCI_OP_LE_WRITE_DEFAULT_DATA_LEN, sizeof(*cp)); in write_default_data_len()
403 buf = bt_hci_cmd_create(opcode, sizeof(*cp_mask)); in set_event_mask()
421 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_RANDOM_ADDRESS, sizeof(addr.a)); in set_random_address()
444 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_ADV_PARAM, sizeof(set_param)); in start_adv()
449 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.c62 struct net_buf *bt_hci_cmd_create(uint16_t opcode, uint8_t param_len) in bt_hci_cmd_create() function
328 cmd = bt_hci_cmd_create(opcode, 0); in send_cmd()
399 struct net_buf *buf = bt_hci_cmd_create(BT_HCI_OP_LE_WRITE_DEFAULT_DATA_LEN, sizeof(*cp)); in write_default_data_len()
425 buf = bt_hci_cmd_create(opcode, sizeof(*cp_mask)); in set_event_mask()
443 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_RANDOM_ADDRESS, sizeof(addr.a)); in set_random_address()
466 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_ADV_PARAM, sizeof(set_param)); in start_adv()
471 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.c66 struct net_buf *bt_hci_cmd_create(uint16_t opcode, uint8_t param_len) in bt_hci_cmd_create() function
352 cmd = bt_hci_cmd_create(opcode, 0); in send_cmd()
423 struct net_buf *buf = bt_hci_cmd_create(BT_HCI_OP_LE_WRITE_DEFAULT_DATA_LEN, sizeof(*cp)); in write_default_data_len()
449 buf = bt_hci_cmd_create(opcode, sizeof(*cp_mask)); in set_event_mask()
467 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_RANDOM_ADDRESS, sizeof(addr.a)); in set_random_address()
490 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_ADV_PARAM, sizeof(set_param)); in start_adv()
495 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.c50 struct net_buf *bt_hci_cmd_create(uint16_t opcode, uint8_t param_len) in bt_hci_cmd_create() function
308 cmd = bt_hci_cmd_create(opcode, 0); in send_cmd()
379 struct net_buf *buf = bt_hci_cmd_create(BT_HCI_OP_LE_WRITE_DEFAULT_DATA_LEN, sizeof(*cp)); in write_default_data_len()
405 buf = bt_hci_cmd_create(opcode, sizeof(*cp_mask)); in set_event_mask()
423 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_RANDOM_ADDRESS, sizeof(addr.a)); in set_random_address()
444 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/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 …]
Dhci_core.c247 buf = bt_hci_cmd_create(BT_HCI_OP_HOST_NUM_COMPLETED_PACKETS, in bt_send_one_host_num_completed_packets()
309 struct net_buf *bt_hci_cmd_create(uint16_t opcode, uint8_t param_len) in bt_hci_cmd_create() function
343 buf = bt_hci_cmd_create(opcode, 0); in bt_hci_cmd_send()
381 buf = bt_hci_cmd_create(opcode, 0); in bt_hci_cmd_send_sync()
711 buf = bt_hci_cmd_create(BT_HCI_OP_LE_EXT_CREATE_CONN, sizeof(*cp) + in bt_le_create_conn_ext()
782 buf = bt_hci_cmd_create(BT_HCI_OP_LE_EXT_CREATE_CONN_V2, sizeof(*cp) + sizeof(*phy)); in bt_le_create_conn_synced()
832 buf = bt_hci_cmd_create(BT_HCI_OP_LE_CREATE_CONN, sizeof(*cp)); in bt_le_create_conn_legacy()
887 buf = bt_hci_cmd_create(BT_HCI_OP_LE_CREATE_CONN_CANCEL, 0); in bt_le_create_conn_cancel()
901 buf = bt_hci_cmd_create(BT_HCI_OP_DISCONNECT, sizeof(*disconn)); in bt_hci_disconnect()
1039 buf = bt_hci_cmd_create(BT_HCI_OP_LE_READ_REMOTE_FEATURES, in bt_hci_le_read_remote_features()
[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()
1129 buf = bt_hci_cmd_create(BT_HCI_OP_LE_PER_ADV_TERMINATE_SYNC, in per_adv_sync_terminate()
1322 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_PER_ADV_SYNC_SUBEVENT, in bt_le_per_adv_sync_subevent()
1362 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_PER_ADV_RESPONSE_DATA, in bt_le_per_adv_set_response_data()
1890 buf = bt_hci_cmd_create(BT_HCI_OP_LE_PER_ADV_CREATE_SYNC, sizeof(*cp)); in bt_le_per_adv_sync_create()
1997 buf = bt_hci_cmd_create(BT_HCI_OP_LE_PER_ADV_CREATE_SYNC_CANCEL, 0); in bt_le_per_adv_sync_create_cancel()
2093 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_PER_ADV_RECV_ENABLE, in bt_le_set_per_adv_recv_enable()
[all …]
Decc.c174 buf = bt_hci_cmd_create(BT_HCI_OP_LE_GENERATE_DHKEY, sizeof(*cp)); in hci_generate_dhkey_v1()
190 buf = bt_hci_cmd_create(BT_HCI_OP_LE_GENERATE_DHKEY_V2, sizeof(*cp)); in hci_generate_dhkey_v2()
/Zephyr-latest/drivers/bluetooth/hci/
Dh4_ifx_cyw43xxx.c123 buf = bt_hci_cmd_create(BT_HCI_VND_OP_UPDATE_BAUDRATE, in bt_update_controller_baudrate()
173 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()

12