ESP-IDF
bt_mesh_net::sub
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (2/5)...
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_net::sub
bt_mesh_net::sub field
Syntax
Show:
Summary
Declaration
from
net.h:351
struct
bt_mesh_subnet
sub
[
CONFIG_BLE_MESH_SUBNET_COUNT
]
;
Examples
References
from
examples
Code
Location
Referrer
struct
bt_mesh_subnet
sub
[
CONFIG_BLE_MESH_SUBNET_COUNT
]
;
net.h:351
size
=
ARRAY_SIZE
(
bt_mesh
.
sub
)
;
access.c:1189
bt_mesh_rx_netkey_size()
size
=
ARRAY_SIZE
(
bt_mesh
.
sub
)
;
access.c:1200
bt_mesh_rx_netkey_size()
sub
=
&
bt_mesh
.
sub
[
index
]
;
access.c:1215
bt_mesh_rx_netkey_get()
if
(
index
<
ARRAY_SIZE
(
bt_mesh
.
sub
)
)
{
access.c:1226
bt_mesh_rx_netkey_get()
sub
=
&
bt_mesh
.
sub
[
index
]
;
access.c:1227
bt_mesh_rx_netkey_get()
sub
=
bt_mesh
.
p_sub
[
index
-
ARRAY_SIZE
(
bt_mesh
.
sub
)
]
;
access.c:1229
bt_mesh_rx_netkey_get()
flags
=
(
uint8_t
)
bt_mesh
.
sub
[
0
]
.
kr_flag
;
ble_mesh_fast_prov_server_model.c:171
example_fast_prov_server_recv_msg()
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
bt_mesh
.
sub
)
;
i
++
)
{
cfg_srv.c:2313
net_key_add()
if
(
bt_mesh
.
sub
[
i
]
.
net_idx
==
BLE_MESH_KEY_UNUSED
)
{
cfg_srv.c:2314
net_key_add()
sub
=
&
bt_mesh
.
sub
[
i
]
;
cfg_srv.c:2315
net_key_add()
for
(
i
=
0U
;
i
<
ARRAY_SIZE
(
bt_mesh
.
sub
)
;
i
++
)
{
cfg_srv.c:2571
net_key_get()
struct
bt_mesh_subnet
*
sub
=
&
bt_mesh
.
sub
[
i
]
;
cfg_srv.c:2572
net_key_get()
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
bt_mesh
.
sub
)
;
i
++
)
{
cfg_srv.c:3713
bt_mesh_cfg_reset()
struct
bt_mesh_subnet
*
sub
=
&
bt_mesh
.
sub
[
i
]
;
cfg_srv.c:3714
bt_mesh_cfg_reset()
return
bt_mesh
.
sub
[
index
]
.
net_idx
;
ext.c:1129
bt_mesh_ext_net_get_sub_net_idx()
return
ARRAY_SIZE
(
bt_mesh
.
sub
)
;
ext.c:1134
bt_mesh_ext_net_get_sub_count()
return
&
bt_mesh
.
sub
[
index
]
;
ext.c:1139
bt_mesh_ext_net_get_sub()
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
bt_mesh
.
sub
)
;
i
++
)
{
fast_prov.c:56
bt_mesh_fast_prov_subnet_get()
sub
=
&
bt_mesh
.
sub
[
i
]
;
fast_prov.c:57
bt_mesh_fast_prov_subnet_get()
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
bt_mesh
.
sub
)
;
i
++
)
{
local.c:212
bt_mesh_node_local_net_key_add()
if
(
bt_mesh
.
sub
[
i
]
.
net_idx
!=
BLE_MESH_KEY_UNUSED
)
{
local.c:213
bt_mesh_node_local_net_key_add()
if
(
(
bt_mesh
.
sub
[
i
]
.
kr_flag
==
false
&&
local.c:214
bt_mesh_node_local_net_key_add()
memcmp
(
bt_mesh
.
sub
[
i
]
.
keys
[
0
]
.
net
,
net_key
,
16
)
==
0
)
||
local.c:215
bt_mesh_node_local_net_key_add()
(
bt_mesh
.
sub
[
i
]
.
kr_flag
==
true
&&
local.c:216
bt_mesh_node_local_net_key_add()
memcmp
(
bt_mesh
.
sub
[
i
]
.
keys
[
1
]
.
net
,
net_key
,
16
)
==
0
)
)
{
local.c:217
bt_mesh_node_local_net_key_add()
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
bt_mesh
.
sub
)
;
i
++
)
{
local.c:224
bt_mesh_node_local_net_key_add()
if
(
bt_mesh
.
sub
[
i
]
.
net_idx
==
BLE_MESH_KEY_UNUSED
)
{
local.c:225
bt_mesh_node_local_net_key_add()
sub
=
&
bt_mesh
.
sub
[
i
]
;
local.c:226
bt_mesh_node_local_net_key_add()
bt_mesh_store_subnet
(
&
bt_mesh
.
sub
[
0
]
)
;
main.c:98
bt_mesh_provision()
.
sub
=
{
net.c:71
return
&
bt_mesh
.
sub
[
0
]
;
net.c:153
bt_mesh_subnet_get()
for
(
int
i
=
0
;
i
<
ARRAY_SIZE
(
bt_mesh
.
sub
)
;
i
++
)
{
net.c:156
bt_mesh_subnet_get()
if
(
bt_mesh
.
sub
[
i
]
.
net_idx
==
net_idx
)
{
net.c:157
bt_mesh_subnet_get()
return
&
bt_mesh
.
sub
[
i
]
;
net.c:158
bt_mesh_subnet_get()
sub
=
&
bt_mesh
.
sub
[
0
]
;
net.c:495
bt_mesh_net_create()
uint16_t
net_idx
=
bt_mesh
.
sub
[
0
]
.
net_idx
;
net.c:2058
bt_mesh_net_start()
uint8_t
flags
=
(
uint8_t
)
bt_mesh
.
sub
[
0
]
.
kr_flag
;
net.c:2061
bt_mesh_net_start()
const
uint8_t
*
net_key
=
bt_mesh
.
sub
[
0
]
.
keys
[
flags
]
.
net
;
net.c:2062
bt_mesh_net_start()
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
bt_mesh
.
sub
)
;
i
++
)
{
proxy_server.c:479
proxy_send_beacons()
struct
bt_mesh_subnet
*
sub
=
&
bt_mesh
.
sub
[
i
]
;
proxy_server.c:480
proxy_send_beacons()
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
bt_mesh
.
sub
)
;
i
++
)
{
proxy_server.c:512
bt_mesh_proxy_server_beacon_send()
if
(
bt_mesh
.
sub
[
i
]
.
net_idx
!=
BLE_MESH_KEY_UNUSED
)
{
proxy_server.c:513
bt_mesh_proxy_server_beacon_send()
bt_mesh_proxy_server_beacon_send
(
&
bt_mesh
.
sub
[
i
]
)
;
proxy_server.c:514
bt_mesh_proxy_server_beacon_send()
next_idx
=
sub
-
bt_mesh
.
sub
;
proxy_server.c:534
bt_mesh_proxy_server_identity_start()
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
bt_mesh
.
sub
)
;
i
++
)
{
proxy_server.c:551
bt_mesh_proxy_identity_enable()
struct
bt_mesh_subnet
*
sub
=
&
bt_mesh
.
sub
[
i
]
;
proxy_server.c:552
bt_mesh_proxy_identity_enable()
for
(
i
=
next_idx
;
i
<
ARRAY_SIZE
(
bt_mesh
.
sub
)
;
i
++
)
{
proxy_server.c:1635
next_sub()
sub
=
&
bt_mesh
.
sub
[
i
]
;
proxy_server.c:1636
next_sub()
next_idx
=
(
i
+
1
)
%
ARRAY_SIZE
(
bt_mesh
.
sub
)
;
proxy_server.c:1638
next_sub()
sub
=
&
bt_mesh
.
sub
[
i
]
;
proxy_server.c:1647
next_sub()
next_idx
=
(
i
+
1
)
%
ARRAY_SIZE
(
bt_mesh
.
sub
)
;
proxy_server.c:1649
next_sub()
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
bt_mesh
.
sub
)
;
i
++
)
{
proxy_server.c:1661
sub_count()
struct
bt_mesh_subnet
*
sub
=
&
bt_mesh
.
sub
[
i
]
;
proxy_server.c:1662
sub_count()
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
bt_mesh
.
sub
)
;
i
++
)
{
settings.c:430
subnet_exist()
if
(
bt_mesh
.
sub
[
i
]
.
net_idx
==
net_idx
)
{
settings.c:431
subnet_exist()
return
&
bt_mesh
.
sub
[
i
]
;
settings.c:432
subnet_exist()
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
bt_mesh
.
sub
)
;
i
++
)
{
settings.c:443
subnet_alloc()
if
(
bt_mesh
.
sub
[
i
]
.
net_idx
==
BLE_MESH_KEY_UNUSED
)
{
settings.c:444
subnet_alloc()
bt_mesh
.
sub
[
i
]
.
net_idx
=
net_idx
;
settings.c:445
subnet_alloc()
return
&
bt_mesh
.
sub
[
i
]
;
settings.c:446
subnet_alloc()
if
(
bt_mesh
.
sub
[
0
]
.
net_idx
==
BLE_MESH_KEY_UNUSED
)
{
settings.c:1423
settings_core_commit()
BT_INFO
(
"Settings commit, sub[0].net_idx 0x%03x"
,
bt_mesh
.
sub
[
0
]
.
net_idx
)
;
settings.c:1428
settings_core_commit()
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
bt_mesh
.
sub
)
;
i
++
)
{
settings.c:1434
settings_core_commit()
sub
=
&
bt_mesh
.
sub
[
i
]
;
settings.c:1435
settings_core_commit()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
bt_mesh_net::sub
is read by 24 functions:
All items filtered out
bt_mesh_net::sub
subnet_exist()
subnet_alloc()
settings_core_commit()
bt_mesh_rx_netkey_size()
bt_mesh_rx_netkey_get()
net_key_add()
net_key_get()
bt_mesh_cfg_reset()
bt_mesh_node_local_net_key_add()
bt_mesh_provision()
bt_mesh_subnet_get()
bt_mesh_net_create()
bt_mesh_net_start()
proxy_send_beacons()
bt_mesh_proxy_server_beacon_send()
bt_mesh_proxy_server_identity_start()
bt_mesh_proxy_identity_enable()
next_sub()
sub_count()
bt_mesh_ext_net_get_sub_net_idx()
bt_mesh_ext_net_get_sub_count()
bt_mesh_ext_net_get_sub()
example_fast_prov_server_recv_msg()
bt_mesh_fast_prov_subnet_get()
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