ESP-IDF
ble_hs_hci_cmd_tx()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ble_hs_hci_cmd_tx()
ble_hs_hci_cmd_tx() function
Syntax
Show:
Summary
Declaration
Definition
from
ble_hs_hci_priv.h:90
int
ble_hs_hci_cmd_tx
(
uint16_t
opcode
,
const
void
*
cmd
,
uint8_t
cmd_len
,
void
*
rsp
,
uint8_t
rsp_len
)
;
Implemented in
ble_hs_hci.c:540
Arguments
Argument
opcode
cmd
cmd_len
rsp
rsp_len
Examples
References
from
examples
Code
Location
Referrer
ble_hs_hci_cmd_tx
(
uint16_t
opcode
,
const
void
*
cmd
,
uint8_t
cmd_len
,
ble_hs_hci.c:541
int
ble_hs_hci_cmd_tx
(
uint16_t
opcode
,
const
void
*
cmd
,
uint8_t
cmd_len
,
ble_hs_hci_priv.h:90
rc
=
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LE
,
BLE_HCI_OCF_LE_RD_PHY
)
,
ble_gap.c:756
ble_gap_read_le_phy()
return
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LE
,
ble_gap.c:812
ble_gap_set_prefered_default_le_phy()
return
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LE
,
BLE_HCI_OCF_LE_SET_PHY
)
,
ble_gap.c:873
ble_gap_set_prefered_le_phy()
return
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LE
,
ble_gap.c:2528
ble_gap_rd_rem_sup_feat_tx()
return
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LINK_CTRL
,
ble_gap.c:2540
ble_gap_rd_rem_ver_tx()
return
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LE
,
ble_gap.c:3091
ble_gap_wl_tx_add()
return
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LE
,
ble_gap.c:3099
ble_gap_wl_tx_clear()
rc
=
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LE
,
ble_gap.c:3108
ble_gap_wl_read_size()
return
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LE
,
ble_gap.c:3136
ble_gap_wl_tx_rmv()
return
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LE
,
ble_gap.c:3217
ble_gap_adv_enable_tx()
return
ble_hs_hci_cmd_tx
(
opcode
,
&
cmd
,
sizeof
(
cmd
)
,
NULL
,
0
)
;
ble_gap.c:3379
ble_gap_adv_params_tx()
return
ble_hs_hci_cmd_tx
(
opcode
,
&
cmd
,
sizeof
(
cmd
)
,
NULL
,
0
)
;
ble_gap.c:3595
ble_gap_adv_set_data()
return
ble_hs_hci_cmd_tx
(
opcode
,
&
cmd
,
sizeof
(
cmd
)
,
NULL
,
0
)
;
ble_gap.c:3623
ble_gap_adv_rsp_set_data()
return
ble_hs_hci_cmd_tx
(
opcode
,
&
cmd
,
sizeof
(
cmd
)
,
NULL
,
0
)
;
ble_gap.c:5980
ble_gap_disc_enable_tx()
return
ble_hs_hci_cmd_tx
(
opcode
,
&
cmd
,
sizeof
(
cmd
)
,
NULL
,
0
)
;
ble_gap.c:6003
ble_gap_disc_tx_params()
return
ble_hs_hci_cmd_tx
(
opcode
,
&
cmd
,
sizeof
(
cmd
)
,
NULL
,
0
)
;
ble_gap.c:6440
ble_gap_conn_create_tx()
rc
=
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LINK_CTRL
,
ble_gap.c:7517
ble_gap_terminate_with_conn()
rc
=
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LE
,
ble_gap.c:7576
ble_gap_conn_cancel_tx()
return
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LE
,
ble_gap.c:7752
ble_gap_tx_param_pos_reply()
return
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LE
,
ble_gap.c:7765
ble_gap_tx_param_neg_reply()
return
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LE
,
ble_gap.c:7830
ble_gap_update_tx()
rc
=
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_CTLR_BASEBAND
,
ble_hs_flow.c:248
ble_hs_flow_startup()
rc
=
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_CTLR_BASEBAND
,
ble_hs_flow.c:255
ble_hs_flow_startup()
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_CTLR_BASEBAND
,
ble_hs_flow.c:260
ble_hs_flow_startup()
rc
=
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LE
,
ble_hs_hci_util.c:51
ble_hs_hci_util_read_adv_tx_pwr()
rc
=
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LE
,
BLE_HCI_OCF_LE_RAND
)
,
ble_hs_hci_util.c:78
ble_hs_hci_util_rand()
rc
=
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_STATUS_PARAMS
,
ble_hs_hci_util.c:104
ble_hs_hci_util_read_rssi()
return
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LE
,
ble_hs_hci_util.c:127
ble_hs_hci_util_set_random_addr()
rc
=
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LE
,
ble_hs_hci_util.c:154
ble_hs_hci_util_set_data_len()
rc
=
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LE
,
ble_hs_hci_util.c:175
ble_hs_hci_util_read_sugg_def_data_len()
return
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LE
,
ble_hs_hci_util.c:219
ble_hs_hci_util_write_sugg_def_data_len()
rc
=
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LE
,
ble_hs_hci_util.c:253
ble_hs_hci_read_chan_map()
return
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LE
,
ble_hs_hci_util.c:276
ble_hs_hci_set_chan_class()
return
ble_hs_hci_cmd_tx
(
opcode
,
&
cmd
,
sizeof
(
cmd
)
,
NULL
,
0
)
;
ble_hs_hci_util.c:292
ble_hs_hci_util_set_data_addr_change()
return
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LE
,
ble_hs_pvcy.c:49
ble_hs_pvcy_set_addr_timeout()
return
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LE
,
ble_hs_pvcy.c:365
ble_hs_pvcy_set_mode()
rc
=
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_INFO_PARAMS
,
ble_hs_startup.c:33
ble_hs_startup_read_sup_f_tx()
rc
=
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_INFO_PARAMS
,
ble_hs_startup.c:58
ble_hs_startup_read_local_ver_tx()
rc
=
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_INFO_PARAMS
,
ble_hs_startup.c:78
ble_hs_startup_read_sup_cmd_tx()
rc
=
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LE
,
ble_hs_startup.c:97
ble_hs_startup_le_read_sup_f_tx()
rc
=
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LE
,
ble_hs_startup.c:116
ble_hs_startup_le_read_buf_sz_tx()
rc
=
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_INFO_PARAMS
,
ble_hs_startup.c:135
ble_hs_startup_read_buf_sz_tx()
rc
=
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_INFO_PARAMS
,
ble_hs_startup.c:187
ble_hs_startup_read_bd_addr()
rc
=
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LE
,
ble_hs_startup.c:343
ble_hs_startup_le_set_evmask_tx()
rc
=
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_CTLR_BASEBAND
,
ble_hs_startup.c:377
ble_hs_startup_set_evmask_tx()
rc
=
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_CTLR_BASEBAND
,
ble_hs_startup.c:390
ble_hs_startup_set_evmask_tx()
return
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_CTLR_BASEBAND
,
ble_hs_startup.c:404
ble_hs_startup_reset_tx()
return
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LE
,
ble_sm.c:1149
ble_sm_start_encrypt_tx()
rc
=
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LE
,
ble_sm.c:1335
ble_sm_ltk_req_reply_tx()
rc
=
ble_hs_hci_cmd_tx
(
BLE_HCI_OP
(
BLE_HCI_OGF_LE
,
ble_sm.c:1357
ble_sm_ltk_req_neg_reply_tx()
Call Tree
from
examples
ble_hs_hci_cmd_tx()
is called by 47 functions and calls 10 functions:
ble_sm_start_encrypt_tx()
ble_sm_ltk_req_reply_tx()
ble_sm_ltk_req_neg_reply_tx()
ble_hs_startup_read_sup_f_tx()
ble_hs_startup_read_local_ver_tx()
ble_hs_startup_read_sup_cmd_tx()
ble_hs_startup_le_read_sup_f_tx()
ble_hs_startup_le_read_buf_sz_tx()
ble_hs_startup_read_buf_sz_tx()
ble_hs_startup_read_bd_addr()
ble_hs_startup_le_set_evmask_tx()
ble_hs_startup_set_evmask_tx()
ble_hs_startup_reset_tx()
ble_gap_read_le_phy()
ble_gap_set_prefered_default_le_phy()
ble_gap_set_prefered_le_phy()
ble_gap_rd_rem_sup_feat_tx()
ble_gap_rd_rem_ver_tx()
ble_gap_wl_tx_add()
ble_gap_wl_tx_clear()
ble_gap_wl_read_size()
ble_gap_wl_tx_rmv()
ble_gap_adv_enable_tx()
ble_gap_adv_params_tx()
ble_gap_adv_set_data()
ble_gap_adv_rsp_set_data()
ble_gap_disc_enable_tx()
ble_gap_disc_tx_params()
ble_gap_conn_create_tx()
ble_gap_terminate_with_conn()
ble_gap_conn_cancel_tx()
ble_gap_tx_param_pos_reply()
ble_gap_tx_param_neg_reply()
ble_gap_update_tx()
ble_hs_pvcy_set_addr_timeout()
ble_hs_pvcy_set_mode()
ble_hs_flow_startup()
ble_hs_hci_util_read_adv_tx_pwr()
ble_hs_hci_util_rand()
ble_hs_hci_util_read_rssi()
ble_hs_hci_util_set_random_addr()
ble_hs_hci_util_set_data_len()
ble_hs_hci_util_read_sugg_def_data_len()
ble_hs_hci_util_write_sugg_def_data_len()
ble_hs_hci_read_chan_map()
ble_hs_hci_set_chan_class()
ble_hs_hci_util_set_data_addr_change()
All items filtered out
ble_hs_hci_cmd_tx()
esp_log_timestamp()
esp_log_write()
ble_hs_sched_reset()
ble_transport_free()
ble_hs_hci_cmd_send_buf()
ble_hs_hci_lock()
ble_hs_hci_unlock()
esp_hci_err_to_name()
ble_hs_hci_process_ack()
ble_hs_hci_wait_for_ack()
All items filtered out
Data Use
from
examples
ble_hs_hci_cmd_tx()
reads 8 variables and writes 1 variable:
esp_log_level_t::ESP_LOG_ERROR
esp_log_level_t::ESP_LOG_WARN
esp_log_level_t::ESP_LOG_INFO
esp_log_level_t::ESP_LOG_DEBUG
esp_log_level_t::ESP_LOG_VERBOSE
ble_hs_hci_ack::bha_status
ble_hs_hci_ack::bha_params_len
ble_hs_hci_ack
All items filtered out
ble_hs_hci_cmd_tx()
ble_hs_hci_ack
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out