ESP-IDF
bt_mesh_app_keys::val
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_app_keys::val
bt_mesh_app_keys::val field
Syntax
Show:
Summary
Declaration
from
net.h:42
uint8_t
val
[
16
]
;
Examples
References
from
examples
Code
Location
Referrer
uint8_t
val
[
16
]
;
net.h:42
if
(
memcmp
(
keys
->
val
,
val
,
16
)
)
{
cfg_srv.c:500
app_key_set()
!
memcmp
(
key
->
keys
[
0
]
.
val
,
val
,
16
)
)
{
cfg_srv.c:511
app_key_set()
memcpy
(
keys
->
val
,
val
,
16
)
;
cfg_srv.c:542
app_key_set()
return
(
key
->
updated
?
key
->
keys
[
1
]
.
val
:
key
->
keys
[
0
]
.
val
)
;
fast_prov.c:152
bt_mesh_get_fast_prov_app_key()
return
key
->
updated
?
key
->
keys
[
1
]
.
val
:
key
->
keys
[
0
]
.
val
;
local.c:187
bt_mesh_node_get_local_app_key()
memcmp
(
bt_mesh
.
app_keys
[
i
]
.
keys
[
0
]
.
val
,
app_key
,
16
)
==
0
)
||
local.c:291
bt_mesh_node_local_app_key_add()
memcmp
(
bt_mesh
.
app_keys
[
i
]
.
keys
[
1
]
.
val
,
app_key
,
16
)
==
0
)
)
{
local.c:293
bt_mesh_node_local_app_key_add()
memcpy
(
keys
->
val
,
app_key
,
16
)
;
local.c:312
bt_mesh_node_local_app_key_add()
if
(
key
&&
(
!
memcmp
(
key
->
keys
[
0
]
.
val
,
app_key
,
16
)
||
pvnr_mgmt.c:792
provisioner_check_app_key()
!
memcmp
(
key
->
keys
[
1
]
.
val
,
app_key
,
16
)
)
)
{
pvnr_mgmt.c:793
provisioner_check_app_key()
memcpy
(
keys
->
val
,
p_key
,
16
)
;
pvnr_mgmt.c:968
bt_mesh_provisioner_local_app_key_add()
memset
(
keys
->
val
,
0
,
16
)
;
pvnr_mgmt.c:1032
bt_mesh_provisioner_local_app_key_update()
memcpy
(
keys
->
val
,
app_key
,
16
)
;
pvnr_mgmt.c:1033
bt_mesh_provisioner_local_app_key_update()
return
key
->
keys
[
1
]
.
val
;
pvnr_mgmt.c:1065
bt_mesh_provisioner_local_app_key_get()
return
key
->
keys
[
0
]
.
val
;
pvnr_mgmt.c:1067
bt_mesh_provisioner_local_app_key_get()
memcpy
(
app
->
keys
[
0
]
.
val
,
key
.
val
[
0
]
,
16
)
;
settings.c:576
app_key_set()
memcpy
(
app
->
keys
[
1
]
.
val
,
key
.
val
[
1
]
,
16
)
;
settings.c:577
app_key_set()
bt_mesh_app_id
(
app
->
keys
[
0
]
.
val
,
&
app
->
keys
[
0
]
.
id
)
;
settings.c:578
app_key_set()
bt_mesh_app_id
(
app
->
keys
[
1
]
.
val
,
&
app
->
keys
[
1
]
.
id
)
;
settings.c:579
app_key_set()
BT_INFO
(
"Restored AppKey %s"
,
bt_hex
(
app
->
keys
[
0
]
.
val
,
16
)
)
;
settings.c:583
app_key_set()
memcpy
(
key
.
val
[
0
]
,
app
->
keys
[
0
]
.
val
,
16
)
;
settings.c:1841
store_app_key()
memcpy
(
key
.
val
[
1
]
,
app
->
keys
[
1
]
.
val
,
16
)
;
settings.c:1842
store_app_key()
memcpy
(
keys
->
val
,
info
->
app_key
,
16
)
;
test.c:86
bt_mesh_device_auto_enter_network()
*
key
=
app_key
->
keys
[
1
]
.
val
;
transport.c:223
bt_mesh_upper_key_get()
*
key
=
app_key
->
keys
[
0
]
.
val
;
transport.c:226
bt_mesh_upper_key_get()
err
=
bt_mesh_app_decrypt
(
keys
->
val
,
false
,
aszmic
,
buf
,
transport.c:846
sdu_recv()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
bt_mesh_app_keys::val
is read by 13 functions:
All items filtered out
bt_mesh_app_keys::val
app_key_set()
store_app_key()
app_key_set()
bt_mesh_node_get_local_app_key()
bt_mesh_node_local_app_key_add()
provisioner_check_app_key()
bt_mesh_provisioner_local_app_key_add()
bt_mesh_provisioner_local_app_key_update()
bt_mesh_provisioner_local_app_key_get()
bt_mesh_upper_key_get()
sdu_recv()
bt_mesh_device_auto_enter_network()
bt_mesh_get_fast_prov_app_key()
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