ESP-IDF
link
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (4/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
link
link variable
Syntax
Show:
Summary
Declaration
from
pb_gatt.c:41
static
struct
prov_link
link
;
Examples
References
from
examples
Code
Location
Referrer
static
struct
prov_link
link
;
pb_gatt.c:41
link
.
conn_handle
=
BLE_HS_CONN_HANDLE_NONE
;
pb_gatt.c:45
reset_state()
(
void
)
k_work_cancel_delayable
(
&
link
.
prot_timer
)
;
pb_gatt.c:48
reset_state()
const
struct
prov_bearer_cb
*
cb
=
link
.
cb
;
pb_gatt.c:53
link_closed()
void
*
cb_data
=
link
.
cb_data
;
pb_gatt.c:55
link_closed()
if
(
!
link
.
conn_handle
)
{
pb_gatt.c:64
protocol_timeout()
if
(
link
.
conn_handle
!=
conn_handle
||
!
link
.
cb
)
{
pb_gatt.c:78
bt_mesh_pb_gatt_recv()
k_work_reschedule
(
&
link
.
prot_timer
,
PROTOCOL_TIMEOUT
)
;
pb_gatt.c:88
bt_mesh_pb_gatt_recv()
link
.
cb
->
recv
(
&
pb_gatt
,
link
.
cb_data
,
buf
)
;
pb_gatt.c:90
bt_mesh_pb_gatt_recv()
if
(
link
.
conn_handle
)
{
pb_gatt.c:99
bt_mesh_pb_gatt_open()
link
.
conn_handle
=
conn_handle
;
pb_gatt.c:103
bt_mesh_pb_gatt_open()
k_work_reschedule
(
&
link
.
prot_timer
,
PROTOCOL_TIMEOUT
)
;
pb_gatt.c:104
bt_mesh_pb_gatt_open()
link
.
cb
->
link_opened
(
&
pb_gatt
,
link
.
cb_data
)
;
pb_gatt.c:106
bt_mesh_pb_gatt_open()
if
(
link
.
conn_handle
!=
conn_handle
)
{
pb_gatt.c:115
bt_mesh_pb_gatt_close()
link
.
cb
->
link_closed
(
&
pb_gatt
,
link
.
cb_data
,
pb_gatt.c:120
bt_mesh_pb_gatt_close()
link
.
cb
=
cb
;
pb_gatt.c:133
link_accept()
link
.
cb_data
=
cb_data
;
pb_gatt.c:134
link_accept()
if
(
!
link
.
conn_handle
)
{
pb_gatt.c:142
buf_send()
link
.
comp
.
cb
=
cb
;
pb_gatt.c:146
buf_send()
link
.
comp
.
cb_data
=
cb_data
;
pb_gatt.c:147
buf_send()
k_work_reschedule
(
&
link
.
prot_timer
,
PROTOCOL_TIMEOUT
)
;
pb_gatt.c:149
buf_send()
return
bt_mesh_pb_gatt_send
(
link
.
conn_handle
,
buf
)
;
pb_gatt.c:151
buf_send()
k_work_init_delayable
(
&
link
.
prot_timer
,
protocol_timeout
)
;
pb_gatt.c:161
pb_gatt_init()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
link
is read by 9 functions:
All items filtered out
link
reset_state()
link_closed()
protocol_timeout()
bt_mesh_pb_gatt_recv()
bt_mesh_pb_gatt_open()
bt_mesh_pb_gatt_close()
link_accept()
buf_send()
pb_gatt_init()
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