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
39
void
statistic_bluesync_status
(
bluesync_timestamps_t
*elem_master,
bluesync_timestamps_t
*elem_slave,
size_t
size);
40
47
void
bluesync_statistic_init
();
48
54
void
bluesync_statistic_deinit
();
55
56
57
#endif
/* ZEPHYR_BLUESYNC_SRC_STATISTIC_BLUESYNC_STATISTIC_H_*/
bluesync_statistic_init
void bluesync_statistic_init()
Initialize the BlueSync statistics module.
Definition
bluesync_statistic_bsim.c:114
bluesync_statistic_deinit
void bluesync_statistic_deinit()
Deinitialize the BlueSync statistics module.
Definition
bluesync_statistic_bsim.c:128
statistic_bluesync_status
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.
Definition
bluesync_statistic_bsim.c:75
bluesync_timestamps_t
Definition
bluesync.h:50
src
statistic
bluesync_statistic.h
Generated by
1.9.8