ESP-IDF
bt_mesh_gatt_attr
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (2/5)...
Files
loading (3/5)...
Summary
Syntax
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
bt_mesh_gatt_attr
bt_mesh_gatt_attr struct
GATT Attribute structure.
Syntax
Show:
Summary
Declaration
Definition
from
adapter.h:343
struct
bt_mesh_gatt_attr
;
Implemented in
adapter.h:544
Fields
Field
Declared as
Description
bt_mesh_gatt_attr::uuid
const
struct
bt_mesh_uuid
*
Attribute UUID.
bt_mesh_gatt_attr::read
ssize_t
(
*
)
(
struct
bt_mesh_conn
*
conn
,
const
struct
bt_mesh_gatt_attr
*
attr
,
void
*
buf
,
uint16_t
len
,
uint16_t
offset
)
Attribute read callback.
bt_mesh_gatt_attr::write
ssize_t
(
*
)
(
struct
bt_mesh_conn
*
conn
,
const
struct
bt_mesh_gatt_attr
*
attr
,
const
void
*
buf
,
uint16_t
len
,
uint16_t
offset
,
uint8_t
flags
)
Attribute write callback.
bt_mesh_gatt_attr::user_data
void
*
Attribute user data.
bt_mesh_gatt_attr::handle
uint16_t
Attribute handle.
bt_mesh_gatt_attr::perm
uint8_t
Attribute permissions.
Related Functions
Found 14 other functions taking a
bt_mesh_gatt_attr
argument:
Function
bt_mesh_gatts_attr_read()
bt_mesh_gatts_attr_read_chrc()
bt_mesh_gatts_attr_read_service()
bt_mesh_gatts_notify()
bt_mesh_gattc_write_no_rsp()
proxy_recv()
bt_mesh_gatts_attr_read_included()
find_next()
bt_mesh_gatts_attr_next()
proxy_ccc_read()
proxy_ccc_write()
prov_ccc_write()
prov_ccc_read()
proxy_recv()
Examples
References
from
examples
Code
Location
Scope
Referrer
struct
bt_mesh_gatt_attr
{
adapter.h:544
struct
bt_mesh_gatt_attr
*
attrs
;
adapter.h:343
static
struct
bt_mesh_gatt_attr
*
bt_mesh_gatts_find_attr_by_handle
(
uint16_t
handle
)
;
adapter.c:82
bt_mesh_gatts_find_attr_by_handle()
struct
bt_mesh_gatt_attr
*
attr
=
bt_mesh_gatts_find_attr_by_handle
(
p_data
->
req_data
.
p_data
->
read_req
.
handle
)
;
adapter.c:572
bt_mesh_bta_gatts_cb()
struct
bt_mesh_gatt_attr
*
attr
=
bt_mesh_gatts_find_attr_by_handle
(
p_data
->
req_data
.
p_data
->
write_req
.
handle
)
;
adapter.c:596
bt_mesh_bta_gatts_cb()
static
struct
bt_mesh_gatt_attr
*
bt_mesh_gatts_find_attr_by_handle
(
uint16_t
handle
)
adapter.c:705
bt_mesh_gatts_find_attr_by_handle()
struct
bt_mesh_gatt_attr
*
attr
=
NULL
;
adapter.c:708
bt_mesh_gatts_find_attr_by_handle()
struct
bt_mesh_gatt_attr
*
attr
=
&
svc
->
attrs
[
i
]
;
adapter.c:734
bt_mesh_gatts_foreach_attr()
static
uint8_t
find_next
(
const
struct
bt_mesh_gatt_attr
*
attr
,
void
*
user_data
)
adapter.c:749
find_next()
find_next()::attr
struct
bt_mesh_gatt_attr
*
*
next
=
user_data
;
adapter.c:751
find_next()
*
next
=
(
struct
bt_mesh_gatt_attr
*
)
attr
;
adapter.c:753
find_next()
static
struct
bt_mesh_gatt_attr
*
bt_mesh_gatts_attr_next
(
const
struct
bt_mesh_gatt_attr
*
attr
)
adapter.c:758
bt_mesh_gatts_attr_next()
struct
bt_mesh_gatt_attr
*
next
=
NULL
;
adapter.c:760
bt_mesh_gatts_attr_next()
const
struct
bt_mesh_gatt_attr
*
attr
,
adapter.c:768
bt_mesh_gatts_attr_read()
bt_mesh_gatts_attr_read()::attr
const
struct
bt_mesh_gatt_attr
*
attr
,
adapter.c:794
bt_mesh_gatts_attr_read_included()
bt_mesh_gatts_attr_read_included()::attr
struct
bt_mesh_gatt_attr
*
incl
=
attr
->
user_data
;
adapter.c:797
bt_mesh_gatts_attr_read_included()
const
struct
bt_mesh_gatt_attr
*
attr
,
adapter.c:819
bt_mesh_gatts_attr_read_service()
bt_mesh_gatts_attr_read_service()::attr
const
struct
bt_mesh_gatt_attr
*
attr
,
adapter.c:844
bt_mesh_gatts_attr_read_chrc()
bt_mesh_gatts_attr_read_chrc()::attr
const
struct
bt_mesh_gatt_attr
*
next
=
NULL
;
adapter.c:848
bt_mesh_gatts_attr_read_chrc()
const
struct
bt_mesh_gatt_attr
*
attr
,
adapter.c:1081
bt_mesh_gatts_notify()
bt_mesh_gatts_notify()::attr
const
struct
bt_mesh_gatt_attr
*
attr
,
adapter.c:1294
bt_mesh_gattc_write_no_rsp()
bt_mesh_gattc_write_no_rsp()::attr
struct
bt_mesh_gatt_attr
*
attrs
;
adapter.h:343
bt_mesh_gatt_service
bt_mesh_gatt_service::attrs
typedef
uint8_t
(
*
bt_mesh_gatt_attr_func_t
)
(
const
struct
bt_mesh_gatt_attr
*
attr
,
adapter.h:493
const
struct
bt_mesh_gatt_attr
*
attr
,
adapter.h:560
const
struct
bt_mesh_gatt_attr
*
attr
,
adapter.h:577
const
struct
bt_mesh_gatt_attr
*
attr
,
adapter.h:730
bt_mesh_gatts_attr_read_included()
bt_mesh_gatts_attr_read_included()::attr
const
struct
bt_mesh_gatt_attr
*
attr
,
adapter.h:734
bt_mesh_gatts_attr_read()
bt_mesh_gatts_attr_read()::attr
const
struct
bt_mesh_gatt_attr
*
attr
,
adapter.h:739
bt_mesh_gatts_attr_read_service()
bt_mesh_gatts_attr_read_service()::attr
const
struct
bt_mesh_gatt_attr
*
attr
,
adapter.h:743
bt_mesh_gatts_attr_read_chrc()
bt_mesh_gatts_attr_read_chrc()::attr
const
struct
bt_mesh_gatt_attr
*
attr
,
adapter.h:747
bt_mesh_gatts_notify()
bt_mesh_gatts_notify()::attr
const
struct
bt_mesh_gatt_attr
*
attr
,
adapter.h:774
bt_mesh_gattc_write_no_rsp()
bt_mesh_gattc_write_no_rsp()::attr
const
struct
bt_mesh_gatt_attr
*
attr
,
const
void
*
buf
,
proxy_client.c:284
proxy_recv()
proxy_recv()::attr
const
struct
bt_mesh_gatt_attr
*
attr
,
const
void
*
buf
,
proxy_server.c:738
proxy_recv()
proxy_recv()::attr
const
struct
bt_mesh_gatt_attr
*
attr
,
proxy_server.c:935
prov_ccc_write()
prov_ccc_write()::attr
const
struct
bt_mesh_gatt_attr
*
attr
,
proxy_server.c:970
prov_ccc_read()
prov_ccc_read()::attr
static
struct
bt_mesh_gatt_attr
prov_attrs
[
]
=
{
proxy_server.c:980
const
struct
bt_mesh_gatt_attr
*
attr
,
proxy_server.c:1068
proxy_ccc_write()
proxy_ccc_write()::attr
const
struct
bt_mesh_gatt_attr
*
attr
,
proxy_server.c:1127
proxy_ccc_read()
proxy_ccc_read()::attr
static
struct
bt_mesh_gatt_attr
proxy_attrs
[
]
=
{
proxy_server.c:1137
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
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
Instance
Scope
Location
Project
bt_mesh_gatt_service::attrs
bt_mesh_gatt_service
adapter.h:343
bt_mesh_gatts_attr_read_included()::attr
bt_mesh_gatts_attr_read_included()
adapter.h:730
bt_mesh_gatts_attr_read()::attr
bt_mesh_gatts_attr_read()
adapter.h:734
bt_mesh_gatts_attr_read_service()::attr
bt_mesh_gatts_attr_read_service()
adapter.h:739
bt_mesh_gatts_attr_read_chrc()::attr
bt_mesh_gatts_attr_read_chrc()
adapter.h:743
bt_mesh_gatts_notify()::attr
bt_mesh_gatts_notify()
adapter.h:747
bt_mesh_gattc_write_no_rsp()::attr
bt_mesh_gattc_write_no_rsp()
adapter.h:774
return
bt_mesh_gatts_find_attr_by_handle()
adapter.c:82
return
bt_mesh_gatts_find_attr_by_handle()
adapter.c:705
find_next()::attr
find_next()
adapter.c:749
return
bt_mesh_gatts_attr_next()
adapter.c:758
bt_mesh_gatts_attr_next()::attr
bt_mesh_gatts_attr_next()
adapter.c:758
bt_mesh_gatts_attr_read()::attr
bt_mesh_gatts_attr_read()
adapter.c:768
bt_mesh_gatts_attr_read_included()::attr
bt_mesh_gatts_attr_read_included()
adapter.c:794
bt_mesh_gatts_attr_read_service()::attr
bt_mesh_gatts_attr_read_service()
adapter.c:819
bt_mesh_gatts_attr_read_chrc()::attr
bt_mesh_gatts_attr_read_chrc()
adapter.c:844
bt_mesh_gatts_notify()::attr
bt_mesh_gatts_notify()
adapter.c:1081
bt_mesh_gattc_write_no_rsp()::attr
bt_mesh_gattc_write_no_rsp()
adapter.c:1294
proxy_recv()::attr
proxy_recv()
proxy_client.c:284
proxy_recv()::attr
proxy_recv()
proxy_server.c:738
prov_ccc_write()::attr
prov_ccc_write()
proxy_server.c:935
prov_ccc_read()::attr
prov_ccc_read()
proxy_server.c:970
prov_attrs
proxy_server.c:980
proxy_ccc_write()::attr
proxy_ccc_write()
proxy_server.c:1068
proxy_ccc_read()::attr
proxy_ccc_read()
proxy_server.c:1127
proxy_attrs
proxy_server.c:1137
Lifecycle
from
examples
All items filtered out
All items filtered out