Bluetooth: Mesh: add statistic module

PR adds the statistic module to estimate frame handling.
The module helps to understand the ratio of
the received\relayed\dropped\transmited frames.
That shows the efficiency of the current configuration\implementation.

Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
This commit is contained in:
Aleksandr Khromykh 2023-06-29 16:14:27 +02:00 committed by Carles Cufí
commit 7199425792
11 changed files with 213 additions and 23 deletions

View file

@ -1666,4 +1666,12 @@ config BT_MESH_DEBUG_USE_ID_ADDR
endif # BT_MESH_LOG_LEVEL_DBG
config BT_MESH_STATISTIC
bool "The frame handling statistics [EXPERIMENTAL]"
select EXPERIMENTAL
help
The module gathers statistics of received, relayed, and transmitted
frames. This helps to estimate the quality of the communication and
the sufficiency of configured advertiser instances.
endif # BT_MESH