ESP-IDF
tBTA_GATTC_DATA::api_write
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
tBTA_GATTC_DATA::api_write
tBTA_GATTC_DATA::api_write field
Syntax
Show:
Summary
Declaration
from
bta_gattc_int.h:266
tBTA_GATTC_API_WRITE
api_write
;
Examples
References
from
examples
Code
Location
Referrer
tBTA_GATTC_API_WRITE
api_write
;
bta_gattc_int.h:266
cl_data
.
att_value
.
handle
=
p_data
->
api_write
.
handle
;
bta_gattc_act.c:1270
bta_gattc_write()
cl_data
.
att_value
.
offset
=
p_data
->
api_write
.
offset
;
bta_gattc_act.c:1271
bta_gattc_write()
cl_data
.
att_value
.
len
=
p_data
->
api_write
.
len
;
bta_gattc_act.c:1272
bta_gattc_write()
cl_data
.
att_value
.
auth_req
=
p_data
->
api_write
.
auth_req
;
bta_gattc_act.c:1273
bta_gattc_write()
if
(
p_data
->
api_write
.
p_value
)
{
bta_gattc_act.c:1275
bta_gattc_write()
memcpy
(
cl_data
.
att_value
.
value
,
p_data
->
api_write
.
p_value
,
p_data
->
api_write
.
len
)
;
bta_gattc_act.c:1276
bta_gattc_write()
status
=
GATTC_Write
(
p_clcb
->
bta_conn_id
,
p_data
->
api_write
.
write_type
,
&
cl_data
.
att_value
)
;
bta_gattc_act.c:1279
bta_gattc_write()
cl_data
.
handle
=
p_data
->
api_write
.
handle
;
bta_gattc_act.c:1283
bta_gattc_write()
if
(
p_clcb
->
p_q_cmd
->
api_write
.
hdr
.
event
==
BTA_GATTC_API_WRITE_EVT
&&
bta_gattc_act.c:1400
bta_gattc_write_cmpl()
p_clcb
->
p_q_cmd
->
api_write
.
write_type
==
BTA_GATTC_WRITE_PREPARE
)
{
bta_gattc_act.c:1401
bta_gattc_write_cmpl()
if
(
memcmp
(
p_clcb
->
p_q_cmd
->
api_write
.
p_value
,
p_data
->
p_cmpl
->
att_value
.
value
,
bta_gattc_act.c:1403
bta_gattc_write_cmpl()
event
=
p_clcb
->
p_q_cmd
->
api_write
.
cmpl_evt
;
bta_gattc_act.c:1410
bta_gattc_write_cmpl()
cmd_data
->
api_write
.
write_type
==
BTA_GATTC_WRITE_PREPARE
)
||
bta_gattc_utils.c:461
bta_gattc_has_prepare_command_in_queue()
p_data
->
api_write
.
write_type
==
BTA_GATTC_WRITE_PREPARE
)
&&
bta_gattc_utils.c:486
bta_gattc_enqueue()
p_clcb
->
p_q_cmd
->
api_write
.
write_type
==
BTA_GATTC_WRITE_PREPARE
)
||
bta_gattc_utils.c:488
bta_gattc_enqueue()
APPL_TRACE_DEBUG
(
"%s(), prepare offset = %d"
,
__func__
,
p_data
->
api_write
.
offset
)
;
bta_gattc_utils.c:490
bta_gattc_enqueue()
cb_data
.
write
.
handle
=
p_data
->
api_write
.
handle
;
bta_gattc_utils.c:492
bta_gattc_enqueue()
cb_data
.
write
.
offset
=
p_data
->
api_write
.
offset
;
bta_gattc_utils.c:494
bta_gattc_enqueue()
len
=
p_data
->
api_write
.
len
;
bta_gattc_utils.c:519
bta_gattc_enqueue()
cmd_data
->
api_write
.
p_value
=
(
UINT8
*
)
(
cmd_data
+
1
)
;
bta_gattc_utils.c:523
bta_gattc_enqueue()
memcpy
(
cmd_data
->
api_write
.
p_value
,
p_data
->
api_write
.
p_value
,
len
)
;
bta_gattc_utils.c:524
bta_gattc_enqueue()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
tBTA_GATTC_DATA::api_write
is read by 4 functions:
All items filtered out
tBTA_GATTC_DATA::api_write
bta_gattc_has_prepare_command_in_queue()
bta_gattc_enqueue()
bta_gattc_write()
bta_gattc_write_cmpl()
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