Frame statistic
The frame statistic API allows monitoring the number of received frames over different interfaces, and the number of planned and succeeded transmission and relaying attempts.
The API helps the user to estimate the efficiency of the advertiser configuration parameters and the scanning ability of the device. The number of the monitored parameters can be easily extended by customer values.
An application can read out and clean up statistics at any time.
API reference
- group bt_mesh_stat
Statistic.
Functions
-
void bt_mesh_stat_get(struct bt_mesh_statistic *st)
Get mesh frame handling statistic.
- Parameters:
st – BLE mesh statistic.
-
void bt_mesh_stat_reset(void)
Reset mesh frame handling statistic.
-
struct bt_mesh_statistic
The structure that keeps statistics of mesh frames handling.
-
void bt_mesh_stat_get(struct bt_mesh_statistic *st)