Zephyr API 3.6.99
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
100
114
118
119#ifdef __cplusplus
120}
121#endif
126#endif /* ZEPHYR_INCLUDE_BLUETOOTH_MESH_STATISTIC_H_ */
int bt_mesh_stat_lpn_timing_get(struct bt_mesh_lpn_timing *timing)
Get measured LPN friendship poll timing.
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.
void bt_mesh_stat_lpn_timing_reset(void)
Reset measured LPN friendship poll timing statistics.
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
Measured LPN friendship timing derived from timestamps.
Definition statistic.h:72
uint32_t recv_delay_max_us
Maximum measured ReceiveDelay in microseconds.
Definition statistic.h:80
uint32_t recv_win_min_us
Minimum measured ReceiveWindow in microseconds.
Definition statistic.h:87
uint32_t cnt_failed
Total number of failed poll-response cycles (no response within window).
Definition statistic.h:98
uint32_t recv_delay_min_us
Minimum measured ReceiveDelay in microseconds.
Definition statistic.h:78
uint32_t recv_delay_us
Measured ReceiveDelay for the last poll cycle in microseconds.
Definition statistic.h:76
uint32_t recv_win_expected_us
Expected ReceiveWindow in microseconds.
Definition statistic.h:94
uint32_t recv_win_max_us
Maximum measured ReceiveWindow in microseconds.
Definition statistic.h:89
uint32_t cnt
Total number of completed poll-response cycles.
Definition statistic.h:96
uint32_t recv_win_us
Measured ReceiveWindow for the last poll cycle in microseconds.
Definition statistic.h:85
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