ESP-IDF
esp_hidh_cb_param_t::get_proto
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (2/5)...
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::get_proto
esp_hidh_cb_param_t::get_proto field
ESP_HIDH_GET_PROTO_EVT HIDH callback param of ESP_HIDH_GET_PROTO_EVT
Syntax
Show:
Summary
Declaration
from
esp_hidh_api.h:187
struct
hidh_get_proto_evt_param
{
esp_hidh_status_t
status
;
uint8_t
handle
;
esp_hidh_protocol_mode_t
proto_mode
;
}
get_proto
;
Examples
References
from
examples
Code
Location
Referrer
}
get_proto
;
/*!< HIDH callback param of ESP_HIDH_GET_PROTO_EVT */
esp_hidh_api.h:191
if
(
param
->
get_proto
.
status
!=
ESP_HIDH_OK
)
{
bt_hidh.c:589
esp_hh_cb()
ESP_LOGE
(
TAG
,
"GET_PROTO ERROR: handle: %d, status: %s"
,
param
->
get_proto
.
handle
,
bt_hidh.c:590
esp_hh_cb()
s_esp_hh_status_names
[
param
->
get_proto
.
status
]
)
;
bt_hidh.c:591
esp_hh_cb()
dev
=
esp_hidh_dev_get_by_handle
(
param
->
get_proto
.
handle
)
;
bt_hidh.c:595
esp_hh_cb()
dev
->
status
=
param
->
get_proto
.
status
;
bt_hidh.c:601
esp_hh_cb()
p_param
->
feature
.
status
=
bt_hidh_get_status
(
param
->
get_proto
.
status
)
;
bt_hidh.c:605
esp_hh_cb()
if
(
param
->
get_proto
.
status
==
ESP_HIDH_OK
)
{
bt_hidh.c:607
esp_hh_cb()
dev
->
protocol_mode
=
param
->
get_proto
.
proto_mode
;
// update the device protocol mode
bt_hidh.c:608
esp_hh_cb()
*
(
(
(
uint8_t
*
)
p_param
)
+
sizeof
(
esp_hidh_event_data_t
)
)
=
param
->
get_proto
.
proto_mode
;
bt_hidh.c:609
esp_hh_cb()
param
.
get_proto
.
proto_mode
=
ESP_HIDH_UNSUPPORTED_MODE
;
btc_hh.c:792
btc_hh_get_protocol()
param
.
get_proto
.
handle
=
BTA_HH_INVALID_HANDLE
;
btc_hh.c:793
btc_hh_get_protocol()
param
.
get_proto
.
status
=
ret
;
btc_hh.c:794
btc_hh_get_protocol()
param
.
get_proto
.
proto_mode
=
proto_mode_change_to_upper_layer
(
p_data
->
hs_data
.
rsp_data
.
proto_mode
)
;
btc_hh.c:1437
btc_hh_cb_handler()
param
.
get_proto
.
handle
=
p_data
->
hs_data
.
handle
;
btc_hh.c:1438
btc_hh_cb_handler()
param
.
get_proto
.
status
=
p_data
->
hs_data
.
status
;
btc_hh.c:1439
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::get_proto
is read by 3 functions:
All items filtered out
esp_hidh_cb_param_t::get_proto
btc_hh_get_protocol()
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