ESP-IDF
svc_handle
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
svc_handle
svc_handle variable
Syntax
Show:
Summary
Declaration
from
adapter.c:78
static
uint16_t
svc_handle
;
Examples
References
from
examples
Code
Location
Referrer
static
uint16_t
svc_handle
,
char_handle
;
adapter.c:78
svc_handle
=
p_data
->
create
.
service_id
;
adapter.c:625
bt_mesh_bta_gatts_cb()
BT_DBG
(
"svc_handle %d, gatts_future_mesh %p"
,
svc_handle
,
gatts_future_mesh
)
;
adapter.c:626
bt_mesh_bta_gatts_cb()
svc_handle
=
p_data
->
add_result
.
attr_id
;
adapter.c:632
bt_mesh_bta_gatts_cb()
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()
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()
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()
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()
if
(
svc_handle
!=
0
)
{
adapter.c:1045
bt_mesh_gatts_service_register()
svc_handle
=
0
;
adapter.c:1046
bt_mesh_gatts_service_register()
svc_handle
=
0U
;
adapter.c:1818
bt_mesh_gatt_deinit()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
svc_handle
is written by 3 functions and is read by 2 functions:
bt_mesh_bta_gatts_cb()
bt_mesh_gatts_service_register()
bt_mesh_gatt_deinit()
All items filtered out
svc_handle
bt_mesh_bta_gatts_cb()
bt_mesh_gatts_service_register()
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