ESP-IDF
msg_cache
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
msg_cache
msg_cache variable
Syntax
Show:
Summary
Declaration
from
net.c:77
static
struct
{
uint32_t
src
:
15
,
seq
:
17
;
}
msg_cache
[
MYNEWT_VAL
(
BLE_MESH_MSG_CACHE_SIZE
)
]
;
Examples
References
from
examples
Code
Location
Referrer
}
msg_cache
[
MYNEWT_VAL
(
BLE_MESH_MSG_CACHE_SIZE
)
]
;
net.c:80
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
msg_cache
)
;
i
++
)
{
net.c:130
msg_cache_match()
if
(
msg_cache
[
i
]
.
src
==
SRC
(
pdu
->
om_data
)
&&
net.c:131
msg_cache_match()
msg_cache
[
i
]
.
seq
==
(
SEQ
(
pdu
->
om_data
)
&
BIT_MASK
(
17
)
)
)
{
net.c:132
msg_cache_match()
msg_cache
[
rx
->
msg_cache_idx
]
.
src
=
rx
->
ctx
.
addr
;
net.c:144
msg_cache_add()
msg_cache
[
rx
->
msg_cache_idx
]
.
seq
=
rx
->
seq
;
net.c:145
msg_cache_add()
msg_cache_next
%=
ARRAY_SIZE
(
msg_cache
)
;
net.c:146
msg_cache_add()
(
void
)
memset
(
msg_cache
,
0
,
sizeof
(
msg_cache
)
)
;
net.c:193
bt_mesh_net_create()
msg_cache
[
rx
.
msg_cache_idx
]
.
src
=
BT_MESH_ADDR_UNASSIGNED
;
net.c:856
bt_mesh_net_recv()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
msg_cache
is read by 4 functions:
All items filtered out
msg_cache
msg_cache_match()
msg_cache_add()
bt_mesh_net_create()
bt_mesh_net_recv()
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