ESP-IDF
btc_report_connection_state()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
btc_report_connection_state()
btc_report_connection_state() function
* Static functions
Syntax
Show:
Summary
Declaration
from
btc_av.c:266
static
void
btc_report_connection_state
(
esp_a2d_connection_state_t
state
,
bt_bdaddr_t
*
bd_addr
,
int
disc_rsn
)
;
Arguments
Argument
state
bd_addr
disc_rsn
Examples
References
from
examples
Code
Location
Referrer
static
void
btc_report_connection_state
(
esp_a2d_connection_state_t
state
,
bt_bdaddr_t
*
bd_addr
,
int
disc_rsn
)
btc_av.c:266
btc_report_connection_state
(
ESP_A2D_CONNECTION_STATE_DISCONNECTED
,
&
(
(
btc_av_disconn_req_t
*
)
p_data
)
->
target_bda
,
0
)
;
btc_av.c:361
btc_av_state_idle_handler()
btc_report_connection_state
(
ESP_A2D_CONNECTION_STATE_CONNECTING
,
&
(
btc_av_cb
.
peer_bda
)
,
0
)
;
btc_av.c:451
btc_av_state_opening_handler()
btc_report_connection_state
(
ESP_A2D_CONNECTION_STATE_DISCONNECTED
,
&
(
btc_av_cb
.
peer_bda
)
,
0
)
;
btc_av.c:459
btc_av_state_opening_handler()
btc_report_connection_state
(
conn_stat
,
&
(
btc_av_cb
.
peer_bda
)
,
0
)
;
btc_av.c:483
btc_av_state_opening_handler()
btc_report_connection_state
(
ESP_A2D_CONNECTION_STATE_DISCONNECTED
,
(
bt_bdaddr_t
*
)
p_data
,
0
)
;
btc_av.c:523
btc_av_state_opening_handler()
btc_report_connection_state
(
ESP_A2D_CONNECTION_STATE_DISCONNECTED
,
&
(
btc_av_cb
.
peer_bda
)
,
close
->
disc_rsn
)
;
btc_av.c:626
btc_av_state_closing_handler()
btc_report_connection_state
(
ESP_A2D_CONNECTION_STATE_DISCONNECTING
,
&
(
btc_av_cb
.
peer_bda
)
,
0
)
;
btc_av.c:762
btc_av_state_opened_handler()
btc_report_connection_state
(
ESP_A2D_CONNECTION_STATE_DISCONNECTED
,
&
(
btc_av_cb
.
peer_bda
)
,
btc_av.c:770
btc_av_state_opened_handler()
btc_report_connection_state
(
ESP_A2D_CONNECTION_STATE_DISCONNECTED
,
btc_av.c:806
btc_av_state_opened_handler()
btc_report_connection_state
(
ESP_A2D_CONNECTION_STATE_DISCONNECTING
,
&
(
btc_av_cb
.
peer_bda
)
,
0
)
;
btc_av.c:920
btc_av_state_started_handler()
btc_report_connection_state
(
ESP_A2D_CONNECTION_STATE_DISCONNECTED
,
&
(
btc_av_cb
.
peer_bda
)
,
btc_av.c:985
btc_av_state_started_handler()
Call Tree
from
examples
btc_report_connection_state()
is called by 5 functions and calls 1 function:
btc_av_state_idle_handler()
btc_av_state_opening_handler()
btc_av_state_closing_handler()
btc_av_state_opened_handler()
btc_av_state_started_handler()
All items filtered out
btc_report_connection_state()
btc_a2d_cb_to_app()
All items filtered out
Data Use
from
examples
btc_report_connection_state()
reads 6 variables and writes 2 variables:
esp_a2d_connection_state_t::ESP_A2D_CONNECTION_STATE_DISCONNECTED
esp_a2d_disc_rsn_t::ESP_A2D_DISC_RSN_NORMAL
esp_a2d_disc_rsn_t::ESP_A2D_DISC_RSN_ABNORMAL
esp_a2d_cb_event_t::ESP_A2D_CONNECTION_STATE_EVT
a2d_conn_stat_param::remote_bda
esp_a2d_cb_param_t::conn_stat
All items filtered out
btc_report_connection_state()
a2d_conn_stat_param::state
a2d_conn_stat_param::disc_rsn
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