ESP-IDF
bt_mesh_app_key::keys
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_key::keys
bt_mesh_app_key::keys field
Syntax
Show:
Summary
Declaration
from
net.h:40
struct
bt_mesh_app_keys
{
uint8_t
id
;
uint8_t
val
[
16
]
;
}
keys
[
2
]
;
Examples
References
from
examples
Code
Location
Referrer
}
keys
[
2
]
;
net.h:43
keys
=
&
key
->
keys
[
1
]
;
cfg_srv.c:488
app_key_set()
!
memcmp
(
key
->
keys
[
0
]
.
val
,
val
,
16
)
)
{
cfg_srv.c:511
app_key_set()
keys
=
&
key
->
keys
[
0
]
;
cfg_srv.c:527
app_key_set()
(
void
)
memset
(
key
->
keys
,
0
,
sizeof
(
key
->
keys
)
)
;
cfg_srv.c:647
bt_mesh_app_key_del()
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()
struct
bt_mesh_app_keys
*
keys
=
&
key
->
keys
[
0
]
;
local.c:302
bt_mesh_node_local_app_key_add()
memcpy
(
&
key
->
keys
[
0
]
,
&
key
->
keys
[
1
]
,
sizeof
(
key
->
keys
[
0
]
)
)
;
net.c:563
bt_mesh_net_revoke_keys()
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()
keys
=
&
key
->
keys
[
0
]
;
pvnr_mgmt.c:961
bt_mesh_provisioner_local_app_key_add()
keys
=
&
key
->
keys
[
0
]
;
pvnr_mgmt.c:1026
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()
keys
=
sub
->
kr_flag
?
&
key
->
keys
[
1
]
:
&
key
->
keys
[
0
]
;
test.c:77
bt_mesh_device_auto_enter_network()
*
key
=
app_key
->
keys
[
1
]
.
val
;
transport.c:223
bt_mesh_upper_key_get()
*
aid
=
app_key
->
keys
[
1
]
.
id
;
transport.c:224
bt_mesh_upper_key_get()
*
key
=
app_key
->
keys
[
0
]
.
val
;
transport.c:226
bt_mesh_upper_key_get()
*
aid
=
app_key
->
keys
[
0
]
.
id
;
transport.c:227
bt_mesh_upper_key_get()
keys
=
&
key
->
keys
[
1
]
;
transport.c:834
sdu_recv()
keys
=
&
key
->
keys
[
0
]
;
transport.c:836
sdu_recv()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
bt_mesh_app_key::keys
is read by 15 functions:
All items filtered out
bt_mesh_app_key::keys
app_key_set()
store_app_key()
app_key_set()
bt_mesh_app_key_del()
bt_mesh_node_get_local_app_key()
bt_mesh_node_local_app_key_add()
bt_mesh_net_revoke_keys()
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