ESP-IDF
bt_mesh_friend::subnet
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_friend::subnet
bt_mesh_friend::subnet field
Syntax
Show:
Summary
Declaration
from
net.h:71
struct
bt_mesh_subnet
*
subnet
;
Examples
References
from
examples
Code
Location
Referrer
struct
bt_mesh_subnet
*
subnet
;
net.h:71
return
frnd
->
subnet
!=
NULL
;
friend.c:77
friend_is_allocated()
(
!
frnd
->
subnet
||
frnd
->
subnet
->
net_idx
!=
net_idx
)
)
{
friend.c:108
bt_mesh_friend_find()
frnd
->
subnet
->
keys
[
idx
]
.
net
)
;
friend.c:125
friend_cred_create()
frnd
->
subnet
=
NULL
;
friend.c:178
friend_clear()
frnd
->
subnet
->
net_idx
==
net_idx
)
{
friend.c:220
bt_mesh_friend_sec_update()
.
net_idx
=
frnd
->
subnet
->
net_idx
,
friend.c:352
unseg_app_sdu_unpack()
meta
->
subnet
=
frnd
->
subnet
;
friend.c:357
unseg_app_sdu_unpack()
cred
=
&
frnd
->
subnet
->
keys
[
SUBNET_KEY_TX_IDX
(
frnd
->
subnet
)
]
friend.c:483
encrypt_friend_pdu()
cred
=
&
frnd
->
cred
[
SUBNET_KEY_TX_IDX
(
frnd
->
subnet
)
]
;
friend.c:486
encrypt_friend_pdu()
upd
->
flags
=
bt_mesh_net_flags
(
frnd
->
subnet
)
;
friend.c:562
encode_update()
.
net_idx
=
frnd
->
subnet
->
net_idx
,
friend.c:791
send_friend_clear()
.
sub
=
frnd
->
subnet
,
friend.c:797
send_friend_clear()
if
(
!
bt_mesh
.
frnd
[
i
]
.
subnet
)
{
friend.c:1013
bt_mesh_friend_req()
frnd
->
subnet
=
rx
->
sub
;
friend.c:1027
bt_mesh_friend_req()
err
=
friend_cred_create
(
frnd
,
SUBNET_KEY_TX_IDX
(
frnd
->
subnet
)
)
;
friend.c:1033
bt_mesh_friend_req()
if
(
frnd
->
subnet
!=
sub
)
{
friend.c:1290
subnet_evt()
if
(
net_idx
!=
frnd
->
subnet
->
net_idx
)
{
friend.c:1525
friend_lpn_matches()
if
(
!
frnd
->
subnet
)
{
subnet.c:769
bt_mesh_net_cred_find()
rx
->
sub
=
frnd
->
subnet
;
subnet.c:773
bt_mesh_net_cred_find()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
bt_mesh_friend::subnet
is written by 2 functions and is read by 12 functions:
friend_clear()
bt_mesh_friend_req()
All items filtered out
bt_mesh_friend::subnet
friend_is_allocated()
bt_mesh_friend_find()
friend_cred_create()
bt_mesh_friend_sec_update()
unseg_app_sdu_unpack()
encrypt_friend_pdu()
encode_update()
send_friend_clear()
bt_mesh_friend_req()
subnet_evt()
friend_lpn_matches()
bt_mesh_net_cred_find()
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