39#include <zephyr/kernel.h>
void bluesync_set_role(bluesync_role_t role)
Sets the operational role of the BlueSync node.
uint64_t get_current_unix_time_us(void)
Gets the current synchronized UNIX time.
void bluesync_start_net_sync_with_unix_epoch_us(uint64_t unix_epoch_us)
Starts a synchronization round using a known UNIX epoch time.
void bluesync_start_net_sync(void)
Starts a BlueSync synchronization round as the time authority.
bluesync_role_t
Defines the operational roles for a BlueSync node.
void bluesync_init(void)
Initializes the BlueSync time synchronization module.
@ BLUESYNC_AUTHORITY_ROLE