ESP-IDF
subnets
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
subnets
subnets variable
Syntax
Show:
Summary
Declaration
from
subnet.c:57
static
struct
bt_mesh_subnet
subnets
[
CONFIG_BT_MESH_SUBNET_COUNT
]
=
{
[
0
...
(
CONFIG_BT_MESH_SUBNET_COUNT
-
1
)
]
=
{
.
net_idx
=
BT_MESH_KEY_UNUSED
,
}
,
}
;
Examples
References
from
examples
Code
Location
Referrer
static
struct
bt_mesh_subnet
subnets
[
CONFIG_BT_MESH_SUBNET_COUNT
]
=
{
subnet.c:57
for
(
int
i
=
0
;
i
<
ARRAY_SIZE
(
subnets
)
;
i
++
)
{
subnet.c:270
subnet_alloc()
if
(
subnets
[
i
]
.
net_idx
==
net_idx
)
{
subnet.c:272
subnet_alloc()
return
&
subnets
[
i
]
;
subnet.c:273
subnet_alloc()
if
(
!
sub
&&
subnets
[
i
]
.
net_idx
==
BT_MESH_KEY_UNUSED
)
{
subnet.c:276
subnet_alloc()
sub
=
&
subnets
[
i
]
;
subnet.c:277
subnet_alloc()
for
(
int
i
=
0
;
i
<
ARRAY_SIZE
(
subnets
)
;
i
++
)
{
subnet.c:583
bt_mesh_subnets_get()
struct
bt_mesh_subnet
*
sub
=
&
subnets
[
i
]
;
subnet.c:584
bt_mesh_subnets_get()
for
(
int
i
=
0
;
i
<
ARRAY_SIZE
(
subnets
)
;
i
++
)
{
subnet.c:607
bt_mesh_subnet_get()
struct
bt_mesh_subnet
*
sub
=
&
subnets
[
i
]
;
subnet.c:608
bt_mesh_subnet_get()
for
(
int
i
=
0
;
i
<
ARRAY_SIZE
(
subnets
)
;
i
++
)
{
subnet.c:662
bt_mesh_subnet_find()
if
(
subnets
[
i
]
.
net_idx
==
BT_MESH_KEY_UNUSED
)
{
subnet.c:663
bt_mesh_subnet_find()
if
(
!
cb
||
cb
(
&
subnets
[
i
]
,
cb_data
)
)
{
subnet.c:667
bt_mesh_subnet_find()
return
&
subnets
[
i
]
;
subnet.c:668
bt_mesh_subnet_find()
for
(
int
i
=
0
;
i
<
ARRAY_SIZE
(
subnets
)
;
i
++
)
{
subnet.c:679
bt_mesh_subnet_foreach()
if
(
subnets
[
i
]
.
net_idx
==
BT_MESH_KEY_UNUSED
)
{
subnet.c:680
bt_mesh_subnet_foreach()
cb
(
&
subnets
[
i
]
)
;
subnet.c:684
bt_mesh_subnet_foreach()
sub
=
&
subnets
[
0
]
;
subnet.c:696
bt_mesh_subnet_next()
for
(
int
i
=
0
;
i
<
ARRAY_SIZE
(
subnets
)
;
i
++
,
sub
++
)
{
subnet.c:699
bt_mesh_subnet_next()
if
(
sub
==
&
subnets
[
ARRAY_SIZE
(
subnets
)
]
)
{
subnet.c:701
bt_mesh_subnet_next()
sub
=
&
subnets
[
0
]
;
subnet.c:702
bt_mesh_subnet_next()
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
subnets
)
;
i
++
)
{
subnet.c:720
bt_mesh_net_keys_reset()
struct
bt_mesh_subnet
*
sub
=
&
subnets
[
i
]
;
subnet.c:721
bt_mesh_net_keys_reset()
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
subnets
)
;
i
++
)
{
subnet.c:790
bt_mesh_net_cred_find()
rx
->
sub
=
&
subnets
[
i
]
;
subnet.c:791
bt_mesh_net_cred_find()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
subnets
is read by 8 functions:
All items filtered out
subnets
subnet_alloc()
bt_mesh_subnets_get()
bt_mesh_subnet_get()
bt_mesh_subnet_find()
bt_mesh_subnet_foreach()
bt_mesh_subnet_next()
bt_mesh_net_keys_reset()
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