ESP-IDF
bt_mesh_app_key::app_idx
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/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::app_idx
bt_mesh_app_key::app_idx field
Syntax
Show:
Summary
Declaration
from
net.h:38
uint16_t
app_idx
;
Examples
References
from
examples
Code
Location
Referrer
uint16_t
app_idx
;
net.h:38
ctx
.
app_idx
=
key
->
app_idx
;
access.c:213
publish_retransmit()
ctx
.
app_idx
=
key
->
app_idx
;
access.c:1095
bt_mesh_model_publish()
key
->
app_idx
=
app_idx
;
cfg_srv.c:541
app_key_set()
struct
unbind_data
data
=
{
.
app_idx
=
key
->
app_idx
,
.
store
=
store
}
;
cfg_srv.c:636
bt_mesh_app_key_del()
BT_DBG
(
"AppIdx 0x%03x store %u"
,
key
->
app_idx
,
store
)
;
cfg_srv.c:638
bt_mesh_app_key_del()
prev
=
key
->
app_idx
;
cfg_srv.c:749
app_key_get()
key_idx_pack
(
&
msg
,
prev
,
key
->
app_idx
)
;
cfg_srv.c:753
app_key_get()
key
->
app_idx
==
app_idx
)
{
fast_prov.c:81
bt_mesh_fast_prov_app_key_find()
key
->
app_idx
==
app_idx
)
{
fast_prov.c:89
bt_mesh_fast_prov_app_key_find()
key
->
app_idx
=
app_idx
;
local.c:310
bt_mesh_node_local_app_key_add()
*
app_idx
=
key
->
app_idx
;
pvnr_mgmt.c:794
provisioner_check_app_key()
if
(
key
&&
(
key
->
app_idx
==
app_idx
)
)
{
pvnr_mgmt.c:811
provisioner_check_app_idx()
if
(
key
&&
(
key
->
app_idx
==
app_idx
)
)
{
pvnr_mgmt.c:821
provisioner_check_app_idx()
key
->
app_idx
=
*
app_idx
;
pvnr_mgmt.c:971
bt_mesh_provisioner_local_app_key_add()
key
->
app_idx
=
bt_mesh
.
p_app_idx_next
;
pvnr_mgmt.c:973
bt_mesh_provisioner_local_app_key_add()
if
(
provisioner_check_app_idx
(
key
->
app_idx
,
true
)
)
{
pvnr_mgmt.c:975
bt_mesh_provisioner_local_app_key_add()
key
->
app_idx
=
(
++
bt_mesh
.
p_app_idx_next
)
;
pvnr_mgmt.c:976
bt_mesh_provisioner_local_app_key_add()
if
(
key
->
app_idx
>=
0x1000
)
{
pvnr_mgmt.c:977
bt_mesh_provisioner_local_app_key_add()
*
app_idx
=
key
->
app_idx
;
pvnr_mgmt.c:986
bt_mesh_provisioner_local_app_key_add()
key
->
app_idx
==
app_idx
)
{
pvnr_mgmt.c:1063
bt_mesh_provisioner_local_app_key_get()
key
->
app_idx
==
app_idx
)
{
pvnr_mgmt.c:1154
bt_mesh_provisioner_local_app_key_del()
bt_mesh_provisioner_local_app_key_del
(
key
->
net_idx
,
key
->
app_idx
,
store
)
;
pvnr_mgmt.c:1326
bt_mesh_provisioner_local_net_key_del()
bt_mesh
.
app_keys
[
i
]
.
app_idx
==
app_idx
)
{
settings.c:459
appkey_exist()
app
->
app_idx
=
app_idx
;
settings.c:574
app_key_set()
app
->
app_idx
,
app
->
net_idx
)
;
settings.c:582
app_key_set()
sprintf
(
name
,
"mesh/ak/%04x"
,
app
->
app_idx
)
;
settings.c:1844
store_app_key()
BT_ERR
(
"Failed to store AppKey 0x%03x"
,
app
->
app_idx
)
;
settings.c:1847
store_app_key()
err
=
bt_mesh_add_core_settings_item
(
"mesh/appkey"
,
app
->
app_idx
)
;
settings.c:1851
store_app_key()
BT_ERR
(
"Failed to add 0x%03x to mesh/appkey"
,
app
->
app_idx
)
;
settings.c:1853
store_app_key()
BT_DBG
(
"AppKeyIndex 0x%03x"
,
key
->
app_idx
)
;
settings.c:2252
bt_mesh_store_app_key()
update
=
key_update_find
(
true
,
key
->
app_idx
,
&
free_slot
)
;
settings.c:2254
bt_mesh_store_app_key()
free_slot
->
key_idx
=
key
->
app_idx
;
settings.c:2267
bt_mesh_store_app_key()
BT_DBG
(
"AppKeyIndex 0x%03x"
,
key
->
app_idx
)
;
settings.c:2329
bt_mesh_clear_app_key()
update
=
key_update_find
(
true
,
key
->
app_idx
,
&
free_slot
)
;
settings.c:2331
bt_mesh_clear_app_key()
clear_app_key
(
key
->
app_idx
)
;
settings.c:2339
bt_mesh_clear_app_key()
free_slot
->
key_idx
=
key
->
app_idx
;
settings.c:2344
bt_mesh_clear_app_key()
key
->
app_idx
=
info
->
app_idx
;
test.c:85
bt_mesh_device_auto_enter_network()
bt_mesh
.
app_keys
[
i
]
.
app_idx
==
app_idx
)
{
transport.c:172
bt_mesh_app_key_get()
bt_mesh
.
p_app_keys
[
i
]
->
app_idx
==
app_idx
)
{
transport.c:185
bt_mesh_app_key_get()
key
->
app_idx
)
;
transport.c:859
sdu_recv()
rx
->
ctx
.
app_idx
=
key
->
app_idx
;
transport.c:863
sdu_recv()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
bt_mesh_app_key::app_idx
is written by 5 functions and is read by 18 functions:
app_key_set()
app_key_set()
bt_mesh_node_local_app_key_add()
bt_mesh_provisioner_local_app_key_add()
bt_mesh_device_auto_enter_network()
All items filtered out
bt_mesh_app_key::app_idx
appkey_exist()
app_key_set()
store_app_key()
bt_mesh_store_app_key()
bt_mesh_clear_app_key()
publish_retransmit()
bt_mesh_model_publish()
bt_mesh_app_key_del()
app_key_get()
provisioner_check_app_key()
provisioner_check_app_idx()
bt_mesh_provisioner_local_app_key_add()
bt_mesh_provisioner_local_app_key_get()
bt_mesh_provisioner_local_app_key_del()
bt_mesh_provisioner_local_net_key_del()
bt_mesh_app_key_get()
sdu_recv()
bt_mesh_fast_prov_app_key_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