Home
last modified time | relevance | path

Searched refs:msg_cache (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/
Dnet.c65 } msg_cache[CONFIG_BLE_MESH_MSG_CACHE_SIZE]; variable
115 for (i = 0; i < ARRAY_SIZE(msg_cache); i++) { in msg_cache_match()
116 if (msg_cache[i].src == SRC(pdu->data) && in msg_cache_match()
117 msg_cache[i].seq == (SEQ(pdu->data) & BIT_MASK(17))) { in msg_cache_match()
128 msg_cache[rx->msg_cache_idx].src = rx->ctx.addr; in msg_cache_add()
129 msg_cache[rx->msg_cache_idx].seq = rx->seq; in msg_cache_add()
130 msg_cache_next %= ARRAY_SIZE(msg_cache); in msg_cache_add()
138 for (i = 0; i < ARRAY_SIZE(msg_cache); i++) { in bt_mesh_msg_cache_clear()
139 if (msg_cache[i].src >= unicast_addr && in bt_mesh_msg_cache_clear()
140 msg_cache[i].src < unicast_addr + elem_num) { in bt_mesh_msg_cache_clear()
[all …]