ESP-IDF
ble_gatt_attr::offset
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
ble_gatt_attr::offset
ble_gatt_attr::offset field
The offset of the data within the attribute.
Syntax
Show:
Summary
Declaration
from
ble_gatt.h:429
uint16_t
offset
;
Examples
References
from
examples
Code
Location
Referrer
uint16_t
offset
;
ble_gatt.h:429
attr
.
offset
=
0
;
ble_gattc.c:3025
ble_gattc_read_rx_read_rsp()
attr
.
offset
=
0
;
ble_gattc.c:3162
ble_gattc_read_uuid_rx_adata()
attr
.
offset
=
proc
->
read_long
.
offset
;
ble_gattc.c:3377
ble_gattc_read_long_rx_read_rsp()
attr
[
i
]
.
offset
=
0
;
ble_gattc.c:3476
ble_gattc_read_mult_cb_var()
attr
.
offset
=
0
;
ble_gattc.c:3553
ble_gattc_read_mult_cb()
proc
->
write_long
.
attr
.
offset
)
;
ble_gattc.c:4027
ble_gattc_write_long_tx()
proc
->
write_long
.
attr
.
offset
,
ble_gattc.c:4043
ble_gattc_write_long_tx()
proc
->
write_long
.
attr
.
offset
,
om
)
;
ble_gattc.c:4052
ble_gattc_write_long_tx()
if
(
proc
->
write_long
.
attr
.
offset
>
0
&&
ble_gattc.c:4092
ble_gattc_write_long_err()
proc
->
write_long
.
attr
.
offset
<
ble_gattc.c:4093
ble_gattc_write_long_err()
if
(
proc
->
write_long
.
attr
.
offset
>=
ble_gattc.c:4128
ble_gattc_write_long_rx_prep()
if
(
offset
!=
proc
->
write_long
.
attr
.
offset
)
{
ble_gattc.c:4141
ble_gattc_write_long_rx_prep()
proc
->
write_long
.
attr
.
offset
+=
OS_MBUF_PKTLEN
(
om
)
;
ble_gattc.c:4167
ble_gattc_write_long_rx_prep()
if
(
proc
->
write_long
.
attr
.
offset
<
ble_gattc.c:4191
ble_gattc_write_long_rx_exec()
proc
->
write_long
.
attr
.
offset
=
offset
;
ble_gattc.c:4227
ble_gattc_write_long()
if
(
proc
->
write_long
.
attr
.
offset
>
OS_MBUF_PKTLEN
(
proc
->
write_long
.
attr
.
om
)
)
{
ble_gattc.c:4235
ble_gattc_write_long()
min
(
max_sz
,
OS_MBUF_PKTLEN
(
attr
->
om
)
-
attr
->
offset
)
;
ble_gattc.c:4345
ble_gattc_write_reliable_tx()
rc
=
os_mbuf_appendfrom
(
om
,
attr
->
om
,
attr
->
offset
,
ble_gattc.c:4353
ble_gattc_write_reliable_tx()
attr
->
handle
,
attr
->
offset
,
om
)
;
ble_gattc.c:4361
ble_gattc_write_reliable_tx()
if
(
offset
!=
attr
->
offset
)
{
ble_gattc.c:4447
ble_gattc_write_reliable_rx_prep()
attr
->
offset
+=
proc
->
write_reliable
.
length
;
ble_gattc.c:4459
ble_gattc_write_reliable_rx_prep()
if
(
attr
->
offset
>=
OS_MBUF_PKTLEN
(
attr
->
om
)
)
{
ble_gattc.c:4460
ble_gattc_write_reliable_rx_prep()
attr
->
offset
=
0
;
ble_gattc.c:4461
ble_gattc_write_reliable_rx_prep()
proc
->
write_reliable
.
attrs
[
i
]
.
offset
=
0
;
ble_gattc.c:4526
ble_gattc_write_reliable()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
ble_gatt_attr::offset
is written by 9 functions and is read by 7 functions:
ble_gattc_read_rx_read_rsp()
ble_gattc_read_uuid_rx_adata()
ble_gattc_read_long_rx_read_rsp()
ble_gattc_read_mult_cb_var()
ble_gattc_read_mult_cb()
ble_gattc_write_long_rx_prep()
ble_gattc_write_long()
ble_gattc_write_reliable_rx_prep()
ble_gattc_write_reliable()
All items filtered out
ble_gatt_attr::offset
ble_gattc_write_long_tx()
ble_gattc_write_long_err()
ble_gattc_write_long_rx_prep()
ble_gattc_write_long_rx_exec()
ble_gattc_write_long()
ble_gattc_write_reliable_tx()
ble_gattc_write_reliable_rx_prep()
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