esp-idf/components/bt/esp_ble_mesh
lly cd58874a9b 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-11 02:29:18 +00:00
..
api ble_mesh: Support reliable sending when publishing [Zephyr] 2020-05-11 02:29:18 +00:00
btc ble_mesh: Fix node not erase info completely 2020-04-30 06:42:54 +00:00
mesh_common ble_mesh: Optimize net_buf_simple routines [Zephyr] 2020-05-11 02:29:18 +00:00
mesh_core ble_mesh: Rework msg_cache [Zephyr] 2020-05-11 02:29:18 +00:00
mesh_models Merge branch 'bugfix/ble_mesh_add_missing_cpp' into 'master' 2020-04-27 11:47:44 +08:00
Kconfig.in ble_mesh: Remove BLE_MESH_MAX_STORED_NODES option 2020-04-26 06:25:08 +00:00
README.md Provide BLE Mesh documentation 2019-10-30 17:01:18 +08:00

ESP-BLE-MESH Component

This is Espressif Bluetooth Low Energy Mesh component folder.

This component is a part of Espressif IoT Development Framework (ESP-IDF). For the latest documentation please refer to ESP-IDF Programming Guide.

The ESP-BLE-MESH networking enables many-to-many (m:m) device communications and is optimized for creating large-scale device networks.

ESP-BLE-MESH Documentation

ESP-BLE-MESH Examples

  • Refer to ESP-BLE-MESH Examples of Getting Started for the tutorials of ESP BLE Mesh examples.