BlueSync - BLE Time Sync for Zephyr
High-precision time synchronization for BLE Mesh networks
Loading...
Searching...
No Matches
bluesync_statistic.h
Go to the documentation of this file.
1/*
2 * Copyright 2025 Tobias Moullet
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *
16 * File: bluesync_statistic.h
17 * Description: File implementing the required method to have statistic (interface)
18 *
19 * Project: BlueSync - BLE Time Sync for Zephyr
20 * Repository: https://github.com/Tobi15/zephyr-bluesync-ble
21 */
22
23#ifndef ZEPHYR_BLUESYNC_SRC_STATISTIC_BLUESYNC_STATISTIC_H_
24#define ZEPHYR_BLUESYNC_SRC_STATISTIC_BLUESYNC_STATISTIC_H_
25
26#include <stdint.h>
27
28#include "../bluesync.h"
29
39void statistic_bluesync_status(bluesync_timestamps_t *elem_master, bluesync_timestamps_t *elem_slave, size_t size);
40
48
55
56
57#endif /* ZEPHYR_BLUESYNC_SRC_STATISTIC_BLUESYNC_STATISTIC_H_*/
void bluesync_statistic_init()
Initialize the BlueSync statistics module.
void bluesync_statistic_deinit()
Deinitialize the BlueSync statistics module.
void statistic_bluesync_status(bluesync_timestamps_t *elem_master, bluesync_timestamps_t *elem_slave, size_t size)
Analyze and log synchronization statistics based on a series of timestamps.