ESP-IDF
esp_hidh_cb_param_t::close
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
esp_hidh_cb_param_t::close
esp_hidh_cb_param_t::close field
ESP_HIDH_CLOSE_EVT HIDH callback param of ESP_HIDH_CLOSE_EVT
Syntax
Show:
Summary
Declaration
from
esp_hidh_api.h:168
struct
hidh_close_evt_param
{
esp_hidh_status_t
status
;
uint8_t
reason
;
esp_hidh_connection_state_t
conn_status
;
uint8_t
handle
;
}
close
;
Examples
References
from
examples
Code
Location
Referrer
}
close
;
/*!< HIDH callback param of ESP_HIDH_CLOSE_EVT */
esp_hidh_api.h:173
if
(
param
->
close
.
conn_status
==
ESP_HIDH_CONN_STATE_DISCONNECTING
)
{
bt_hidh.c:438
esp_hh_cb()
ESP_LOGV
(
TAG
,
"CLOSE: handle: %d, status: %s"
,
param
->
close
.
handle
,
s_esp_hh_status_names
[
param
->
close
.
status
]
)
;
bt_hidh.c:442
esp_hh_cb()
dev
=
esp_hidh_dev_get_by_handle
(
param
->
close
.
handle
)
;
bt_hidh.c:444
esp_hh_cb()
param
->
close
.
status
=
ESP_HIDH_NO_CONNECTION
;
bt_hidh.c:447
esp_hh_cb()
dev
->
status
=
param
->
close
.
status
;
bt_hidh.c:451
esp_hh_cb()
if
(
param
->
close
.
status
!=
ESP_HIDH_OK
)
{
bt_hidh.c:460
esp_hh_cb()
ESP_LOGE
(
TAG
,
"CLOSE ERROR: %s"
,
s_esp_hh_status_names
[
param
->
close
.
status
]
)
;
bt_hidh.c:461
esp_hh_cb()
p
.
close
.
status
=
bt_hidh_get_status
(
param
->
close
.
status
)
;
bt_hidh.c:464
esp_hh_cb()
param
.
close
.
conn_status
=
ESP_HIDH_CONN_STATE_DISCONNECTING
;
btc_hh.c:618
btc_hh_disconnect()
param
.
close
.
handle
=
p_dev
->
dev_handle
;
btc_hh.c:619
btc_hh_disconnect()
param
.
close
.
conn_status
=
ESP_HIDH_CONN_STATE_DISCONNECTED
;
btc_hh.c:628
btc_hh_disconnect()
param
.
close
.
handle
=
BTA_HH_INVALID_HANDLE
;
btc_hh.c:629
btc_hh_disconnect()
param
.
close
.
status
=
ret
;
btc_hh.c:631
btc_hh_disconnect()
param
.
close
.
status
=
p_data
->
dev_status
.
status
;
btc_hh.c:1380
btc_hh_cb_handler()
param
.
close
.
status
=
ESP_HIDH_NO_CONNECTION
;
btc_hh.c:1383
btc_hh_cb_handler()
param
.
close
.
handle
=
p_data
->
dev_status
.
handle
;
btc_hh.c:1385
btc_hh_cb_handler()
param
.
close
.
conn_status
=
ESP_HIDH_CONN_STATE_DISCONNECTED
;
btc_hh.c:1386
btc_hh_cb_handler()
param
.
close
.
status
=
ESP_HIDH_OK
;
btc_hh.c:1399
btc_hh_cb_handler()
param
.
close
.
handle
=
p_data
->
dev_status
.
handle
;
btc_hh.c:1400
btc_hh_cb_handler()
param
.
close
.
conn_status
=
ESP_HIDH_CONN_STATE_DISCONNECTED
;
btc_hh.c:1401
btc_hh_cb_handler()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
esp_hidh_cb_param_t::close
is read by 3 functions:
All items filtered out
esp_hidh_cb_param_t::close
btc_hh_disconnect()
btc_hh_cb_handler()
esp_hh_cb()
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