ESP-IDF
esp_hidh_dev_s::protocol_mode
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (3/5)...
Files
loading (4/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_dev_s::protocol_mode
esp_hidh_dev_s::protocol_mode field
Syntax
Show:
Summary
Declaration
from
esp_hidh_private.h:52
uint8_t
*
protocol_mode
;
Examples
References
from
examples
Code
Location
Referrer
uint8_t
*
protocol_mode
;
// protocol mode is unique for each hid service instance
esp_hidh_private.h:52
uint8_t
protocol_mode
;
//device protocol mode
esp_hidh_private.h:54
dev
->
protocol_mode
=
param
->
get_proto
.
proto_mode
;
// update the device protocol mode
bt_hidh.c:608
esp_hh_cb()
esp_hidh_dev_get_report_by_id_type_proto
(
dev
,
map_index
,
report_id
,
report_type
,
dev
->
protocol_mode
)
;
bt_hidh.c:760
esp_bt_hidh_dev_report_write()
ESP_LOGE
(
TAG
,
"mode:%s report:%s id:%d not found"
,
get_protocol_mode
(
dev
->
protocol_mode
)
,
bt_hidh.c:762
esp_bt_hidh_dev_report_write()
report
=
esp_hidh_dev_get_report_by_id_type_proto
(
dev
,
map_index
,
report_id
,
report_type
,
dev
->
protocol_mode
)
;
bt_hidh.c:816
esp_bt_hidh_dev_set_report()
ESP_LOGE
(
TAG
,
"mode:%s report:%s id:%d not found"
,
get_protocol_mode
(
dev
->
protocol_mode
)
,
bt_hidh.c:818
esp_bt_hidh_dev_set_report()
report
=
esp_hidh_dev_get_report_by_id_type_proto
(
dev
,
map_index
,
report_id
,
report_type
,
dev
->
protocol_mode
)
;
bt_hidh.c:866
esp_bt_hidh_dev_report_read()
ESP_LOGE
(
TAG
,
"mode:%s report:%s id:%d not found"
,
get_protocol_mode
(
dev
->
protocol_mode
)
,
bt_hidh.c:868
esp_bt_hidh_dev_report_read()
dev
->
protocol_mode
=
ESP_HID_PROTOCOL_MODE_REPORT
;
// device default protocol mode
bt_hidh.c:1029
hidh_dev_ctor()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
esp_hidh_dev_s::protocol_mode
is written by 2 functions and is read by 3 functions:
esp_hh_cb()
hidh_dev_ctor()
All items filtered out
esp_hidh_dev_s::protocol_mode
esp_bt_hidh_dev_report_write()
esp_bt_hidh_dev_set_report()
esp_bt_hidh_dev_report_read()
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