Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
statistic.h
Go to the documentation of this file.
1
5/*
6 * Copyright (c) 2023 Nordic Semiconductor ASA
7 *
8 * SPDX-License-Identifier: Apache-2.0
9 */
10
11#ifndef ZEPHYR_INCLUDE_BLUETOOTH_MESH_STATISTIC_H_
12#define ZEPHYR_INCLUDE_BLUETOOTH_MESH_STATISTIC_H_
13
14#include <stdint.h>
15
23#ifdef __cplusplus
24extern "C" {
25#endif
26
51
57
61
62#ifdef __cplusplus
63}
64#endif
69#endif /* ZEPHYR_INCLUDE_BLUETOOTH_MESH_STATISTIC_H_ */
void bt_mesh_stat_get(struct bt_mesh_statistic *st)
Get mesh frame handling statistic.
void bt_mesh_stat_reset(void)
Reset mesh frame handling statistic.
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
The structure that keeps statistics of mesh frames handling.
Definition statistic.h:28
uint32_t tx_friend_planned
Counter of frames that were initiated to send over friend bearer.
Definition statistic.h:47
uint32_t tx_adv_relay_succeeded
Counter of frames that succeeded relaying over advertiser bearer.
Definition statistic.h:41
uint32_t tx_adv_relay_planned
Counter of frames that were initiated to relay over advertiser bearer.
Definition statistic.h:39
uint32_t tx_local_planned
Counter of frames that were initiated to send over advertiser bearer locally.
Definition statistic.h:43
uint32_t rx_loopback
Received frames over loopback.
Definition statistic.h:33
uint32_t rx_adv
All received frames passed basic validation and decryption.
Definition statistic.h:31
uint32_t tx_local_succeeded
Counter of frames that succeeded to send over advertiser bearer locally.
Definition statistic.h:45
uint32_t tx_friend_succeeded
Counter of frames that succeeded to send over friend bearer.
Definition statistic.h:49
uint32_t rx_proxy
Received frames over proxy.
Definition statistic.h:35
uint32_t rx_uknown
Received over unknown interface.
Definition statistic.h:37