ESP-IDF
read_char()
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
read_char()
read_char() function
Syntax
Show:
Summary
Declaration
from
ble_hidh.c:55
static
esp_gatt_status_t
read_char
(
esp_gatt_if_t
gattc_if
,
uint16_t
conn_id
,
uint16_t
handle
,
esp_gatt_auth_req_t
auth_req
,
uint8_t
*
*
out
,
uint16_t
*
out_len
)
;
Arguments
Argument
gattc_if
conn_id
handle
auth_req
out
out_len
Examples
References
from
examples
Code
Location
Referrer
static
esp_gatt_status_t
read_char
(
esp_gatt_if_t
gattc_if
,
uint16_t
conn_id
,
uint16_t
handle
,
esp_gatt_auth_req_t
auth_req
,
uint8_t
*
*
out
,
uint16_t
*
out_len
)
ble_hidh.c:55
if
(
read_char
(
gattc_if
,
dev
->
ble
.
conn_id
,
chandle
,
ESP_GATT_AUTH_REQ_NO_MITM
,
&
rdata
,
&
rlen
)
==
ESP_GATT_OK
&&
rlen
)
{
ble_hidh.c:131
read_device_services()
if
(
read_char
(
gattc_if
,
dev
->
ble
.
conn_id
,
chandle
,
ESP_GATT_AUTH_REQ_NO_MITM
,
&
rdata
,
&
rlen
)
==
ESP_GATT_OK
&&
rlen
==
7
)
{
ble_hidh.c:146
read_device_services()
if
(
read_char
(
gattc_if
,
dev
->
ble
.
conn_id
,
chandle
,
ESP_GATT_AUTH_REQ_NO_MITM
,
&
rdata
,
&
rlen
)
==
ESP_GATT_OK
&&
rlen
)
{
ble_hidh.c:153
read_device_services()
if
(
read_char
(
gattc_if
,
dev
->
ble
.
conn_id
,
chandle
,
ESP_GATT_AUTH_REQ_NO_MITM
,
&
rdata
,
&
rlen
)
==
ESP_GATT_OK
&&
rlen
)
{
ble_hidh.c:157
read_device_services()
if
(
read_char
(
gattc_if
,
dev
->
ble
.
conn_id
,
chandle
,
ESP_GATT_AUTH_REQ_NO_MITM
,
&
rdata
,
&
rlen
)
==
ESP_GATT_OK
&&
rlen
)
{
ble_hidh.c:166
read_device_services()
esp_gatt_status_t
s
=
read_char
(
hid_gattc_if
,
dev
->
ble
.
conn_id
,
report
->
handle
,
ESP_GATT_AUTH_REQ_NO_MITM
,
&
v
,
&
len
)
;
ble_hidh.c:583
esp_ble_hidh_dev_report_read()
Call Tree
from
examples
read_char()
is called by 2 functions and calls 4 functions:
read_device_services()
esp_ble_hidh_dev_report_read()
All items filtered out
read_char()
esp_log_timestamp()
esp_log_write()
esp_ble_gattc_read_char()
WAIT_CB()
All items filtered out
Data Use
from
examples
read_char()
reads 11 variables and writes 2 variables:
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
esp_gatt_status_t::ESP_GATT_OK
esp_gatt_status_t::ESP_GATT_ERROR
s_read_data_val
s_read_data_len
s_read_status
TAG
All items filtered out
read_char()
s_read_data_val
s_read_data_len
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