OVMS3-idf/components/bt/esp_ble_mesh/mesh_core
lly 489d32663b ble_mesh: Rework msg_cache [Zephyr]
Changes the behavior of the message cache to optimize for cache
capacity. Previously, the message cache's primary function was to avoid
decrypting messages multiple times, although the cache's main function
in the spec is to avoid message rebroadcasting. Optimizing for minimal
decryption causes us to fill the network cache faster, which in turn
causes more cache misses, potentially outweighing the advantage.

Now stores src + seq in message cache instead of field hash value. This
cuts cache size in two, while including more of the sequence number than
before.

Adds messages to the cache only after the packet is successfully
decrypted. This reduces noise in the cache, and ensures that no
invalid deobfuscations are added.

Additionally, this fixes a bug where multiple calls to net_decrypt with
the same packet failed, as the message cache found its own entry from
the previous call.
2020-05-13 03:40:30 +00:00
..
bluedroid_host ble_mesh: Support BLE advertising simultaneously 2020-04-30 08:23:24 +00:00
include ble_mesh: Support reliable sending when publishing [Zephyr] 2020-05-13 03:40:30 +00:00
nimble_host ble_mesh: Support BLE advertising simultaneously 2020-04-30 08:23:24 +00:00
storage ble_mesh: Add ESP BLE Mesh implementation 2020-02-03 12:03:36 +08:00
access.c ble_mesh: Add comment explaining use of byte order [Zephyr] 2020-05-13 03:40:30 +00:00
access.h ble_mesh: Add missing #ifdef __cplusplus 2020-05-06 11:19:05 +08:00
adv.c ble_mesh: Support BLE advertising simultaneously 2020-04-30 08:23:24 +00:00
adv.h ble_mesh: Segmented TX to groups [Zephyr] 2020-05-13 03:40:30 +00:00
beacon.c ble_mesh: Remove BLE_MESH_MAX_STORED_NODES option 2020-04-30 11:47:12 +00:00
beacon.h ble_mesh: Add missing #ifdef __cplusplus 2020-05-06 11:19:05 +08:00
cfg_cli.c ble_mesh: Add ESP BLE Mesh implementation 2020-02-03 12:03:36 +08:00
cfg_srv.c ble_mesh: Use 24-bit functions [Zephyr] 2020-05-13 03:40:30 +00:00
crypto.c ble_mesh: Add ESP BLE Mesh implementation 2020-02-03 12:03:36 +08:00
crypto.h ble_mesh: Add missing #ifdef __cplusplus 2020-05-06 11:19:05 +08:00
foundation.h ble_mesh: Add missing #ifdef __cplusplus 2020-05-06 11:19:05 +08:00
friend.c ble_mesh: Use 24-bit functions [Zephyr] 2020-05-13 03:40:30 +00:00
friend.h ble_mesh: Add missing #ifdef __cplusplus 2020-05-06 11:19:05 +08:00
health_cli.c ble_mesh: Add ESP BLE Mesh implementation 2020-02-03 12:03:36 +08:00
health_srv.c ble_mesh: Add ESP BLE Mesh implementation 2020-02-03 12:03:36 +08:00
lpn.c ble_mesh: Add ESP BLE Mesh implementation 2020-02-03 12:03:36 +08:00
lpn.h ble_mesh: Add missing #ifdef __cplusplus 2020-05-06 11:19:05 +08:00
main.c ble_mesh: Fix provisioning buffer initialization [Zephyr] 2020-05-13 03:40:30 +00:00
mesh.h ble_mesh: Add missing #ifdef __cplusplus 2020-05-06 11:19:05 +08:00
net.c ble_mesh: Rework msg_cache [Zephyr] 2020-05-13 03:40:30 +00:00
net.h ble_mesh: Add missing #ifdef __cplusplus 2020-05-06 11:19:05 +08:00
prov.c ble_mesh: Check device uuid when init provisioning 2020-05-13 03:40:30 +00:00
prov.h ble_mesh: Add missing #ifdef __cplusplus 2020-05-06 11:19:05 +08:00
provisioner_main.c Merge branch 'bugfix/ble_mesh_compile_error_o2_v3.3' into 'release/v3.3' 2020-05-06 18:15:28 +08:00
provisioner_main.h Merge branch 'bugfix/ble_mesh_add_missing_cpp_v3.3' into 'release/v3.3' 2020-05-06 18:16:20 +08:00
provisioner_prov.c ble_mesh: Add length check for some mesh operations 2020-05-06 11:33:41 +08:00
provisioner_prov.h ble_mesh: Add missing #ifdef __cplusplus 2020-05-06 11:19:05 +08:00
proxy_client.c ble_mesh: Add length check for some mesh operations 2020-05-06 11:33:41 +08:00
proxy_client.h ble_mesh: Add missing #ifdef __cplusplus 2020-05-06 11:19:05 +08:00
proxy_server.c ble_mesh: GATT Proxy Spec 1.0.1 changes [Zephyr] 2020-05-13 03:40:30 +00:00
proxy_server.h ble_mesh: Add missing #ifdef __cplusplus 2020-05-06 11:19:05 +08:00
settings.c ble_mesh: Use 24-bit functions [Zephyr] 2020-05-13 03:40:30 +00:00
settings.h ble_mesh: Add missing #ifdef __cplusplus 2020-05-06 11:19:05 +08:00
test.c ble_mesh: Add ble mesh white list test function 2020-04-26 06:44:45 +00:00
test.h ble_mesh: Add missing #ifdef __cplusplus 2020-05-06 11:19:05 +08:00
transport.c ble_mesh: Segmented TX to groups [Zephyr] 2020-05-13 03:40:30 +00:00
transport.h ble_mesh: Add missing #ifdef __cplusplus 2020-05-06 11:19:05 +08:00