|
BlueSync - BLE Time Sync for Zephyr
High-precision time synchronization for BLE Mesh networks
|


Go to the source code of this file.
Functions | |
| 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. | |
| void | bluesync_statistic_init () |
| Initialize the BlueSync statistics module. | |
| void | bluesync_statistic_deinit () |
| Deinitialize the BlueSync statistics module. | |
| void bluesync_statistic_deinit | ( | ) |
Deinitialize the BlueSync statistics module.
This function cleans up and close files
Definition at line 128 of file bluesync_statistic_bsim.c.
| void bluesync_statistic_init | ( | ) |
Initialize the BlueSync statistics module.
This should be called once at system startup or before beginning a series of synchronization evaluations. It opens needed files.
Definition at line 114 of file bluesync_statistic_bsim.c.
| 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.
This function stores master and slave timestamp pairs into a CSV file.
| elem_master | Pointer to the array of master timestamps. |
| elem_slave | Pointer to the array of local timestamps captured by the slave. |
| size | Number of timestamp pairs to process. |
Definition at line 75 of file bluesync_statistic_bsim.c.