The latest development version of this page may be more current than this released 2.3-beta.2 version.

Frame Statistics

The frame statistic API allows for monitoring the number of received frames over different interfaces, as well as the number of planned and succeeded transmission and relaying attempts.

This API aids users in estimating the efficiency of advertiser configuration parameters and the scanning capabilities of devices. The number of monitored parameters can be easily extended through client values.

Applications can read and clear 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.