ESP-IDF
bt_mesh_gatt_service::attrs
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
bt_mesh_gatt_service::attrs
bt_mesh_gatt_service::attrs field
Service Attributes
Syntax
Show:
Summary
Declaration
from
adapter.h:343
struct
bt_mesh_gatt_attr
*
attrs
;
Examples
References
from
examples
Code
Location
Referrer
struct
bt_mesh_gatt_attr
*
attrs
;
adapter.h:343
attr
=
&
svc
->
attrs
[
i
]
;
adapter.c:714
bt_mesh_gatts_find_attr_by_handle()
struct
bt_mesh_gatt_attr
*
attr
=
&
svc
->
attrs
[
i
]
;
adapter.c:734
bt_mesh_gatts_foreach_attr()
handle
=
last
->
attrs
[
last
->
attr_count
-
1
]
.
handle
;
adapter.c:909
gatts_register()
if
(
svc
->
attrs
[
i
]
.
uuid
->
type
==
BLE_MESH_UUID_TYPE_16
)
{
adapter.c:967
bt_mesh_gatts_service_register()
switch
(
BLE_MESH_UUID_16
(
svc
->
attrs
[
i
]
.
uuid
)
->
val
)
{
adapter.c:968
bt_mesh_gatts_service_register()
bta_uuid_to_bt_mesh_uuid
(
&
bta_uuid
,
(
struct
bt_mesh_uuid
*
)
svc
->
attrs
[
i
]
.
user_data
)
;
adapter.c:971
bt_mesh_gatts_service_register()
svc
->
attrs
[
i
]
.
handle
=
svc_handle
;
adapter.c:978
bt_mesh_gatts_service_register()
bta_uuid
.
uu
.
uuid16
,
svc
->
attrs
[
i
]
.
perm
,
svc_handle
)
;
adapter.c:980
bt_mesh_gatts_service_register()
bta_uuid_to_bt_mesh_uuid
(
&
bta_uuid
,
(
struct
bt_mesh_uuid
*
)
svc
->
attrs
[
i
]
.
user_data
)
;
adapter.c:985
bt_mesh_gatts_service_register()
svc
->
attrs
[
i
]
.
handle
=
svc_handle
;
adapter.c:992
bt_mesh_gatts_service_register()
bta_uuid
.
uu
.
uuid16
,
svc
->
attrs
[
i
]
.
perm
,
svc_handle
)
;
adapter.c:994
bt_mesh_gatts_service_register()
struct
bt_mesh_gatt_char
*
gatts_chrc
=
(
struct
bt_mesh_gatt_char
*
)
svc
->
attrs
[
i
]
.
user_data
;
adapter.c:1002
bt_mesh_gatts_service_register()
BTA_GATTS_AddCharacteristic
(
svc_handle
,
&
bta_uuid
,
bt_mesh_perm_to_bta_perm
(
svc
->
attrs
[
i
+
1
]
.
perm
)
,
gatts_chrc
->
properties
,
NULL
,
NULL
)
;
adapter.c:1004
bt_mesh_gatts_service_register()
svc
->
attrs
[
i
]
.
handle
=
char_handle
-
1
;
adapter.c:1010
bt_mesh_gatts_service_register()
svc
->
attrs
[
i
+
1
]
.
handle
=
char_handle
;
adapter.c:1011
bt_mesh_gatts_service_register()
BLE_MESH_UUID_16
(
gatts_chrc
->
uuid
)
->
val
,
char_handle
,
svc
->
attrs
[
i
+
1
]
.
perm
,
gatts_chrc
->
properties
)
;
adapter.c:1013
bt_mesh_gatts_service_register()
bta_uuid_to_bt_mesh_uuid
(
&
bta_uuid
,
svc
->
attrs
[
i
]
.
uuid
)
;
adapter.c:1028
bt_mesh_gatts_service_register()
BTA_GATTS_AddCharDescriptor
(
svc_handle
,
bt_mesh_perm_to_bta_perm
(
svc
->
attrs
[
i
]
.
perm
)
,
&
bta_uuid
,
NULL
,
NULL
)
;
adapter.c:1029
bt_mesh_gatts_service_register()
svc
->
attrs
[
i
]
.
handle
=
char_handle
;
adapter.c:1034
bt_mesh_gatts_service_register()
BLE_MESH_UUID_16
(
svc
->
attrs
[
i
]
.
uuid
)
->
val
,
svc
->
attrs
[
i
]
.
perm
,
char_handle
)
;
adapter.c:1036
bt_mesh_gatts_service_register()
BTA_GATTS_DeleteService
(
svc
->
attrs
[
0
]
.
handle
)
;
adapter.c:1059
bt_mesh_gatts_service_deregister()
BTA_GATTS_DeleteService
(
svc
->
attrs
[
0
]
.
handle
)
;
adapter.c:1076
bt_mesh_gatts_service_unregister()
BT_DBG
(
"Stop service:%d"
,
svc
->
attrs
[
0
]
.
handle
)
;
adapter.c:1102
bt_mesh_gatts_service_stop()
BTA_GATTS_StopService
(
svc
->
attrs
[
0
]
.
handle
)
;
adapter.c:1104
bt_mesh_gatts_service_stop()
BT_DBG
(
"Start service:%d"
,
svc
->
attrs
[
0
]
.
handle
)
;
adapter.c:1118
bt_mesh_gatts_service_start()
BTA_GATTS_StartService
(
svc
->
attrs
[
0
]
.
handle
,
BTA_GATT_TRANSPORT_LE
)
;
adapter.c:1120
bt_mesh_gatts_service_start()
uuid
=
(
struct
bt_mesh_uuid
*
)
svc
->
attrs
[
0
]
.
user_data
;
adapter.c:1126
bt_mesh_gatts_service_start()
struct
bt_mesh_gatt_service
prov_svc
=
BLE_MESH_GATT_SERVICE
(
prov_attrs
)
;
proxy_server.c:998
struct
bt_mesh_gatt_service
proxy_svc
=
BLE_MESH_GATT_SERVICE
(
proxy_attrs
)
;
proxy_server.c:1155
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
bt_mesh_gatt_service::attrs
is read by 8 functions:
All items filtered out
bt_mesh_gatt_service::attrs
bt_mesh_gatts_find_attr_by_handle()
bt_mesh_gatts_foreach_attr()
gatts_register()
bt_mesh_gatts_service_register()
bt_mesh_gatts_service_deregister()
bt_mesh_gatts_service_unregister()
bt_mesh_gatts_service_stop()
bt_mesh_gatts_service_start()
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