BlueSync - BLE Time Sync for Zephyr
High-precision time synchronization for BLE Mesh networks
Loading...
Searching...
No Matches
bs_sm_handlers Struct Reference

Struct defining the callbacks of the state machine. More...

#include <bs_state_machine.h>

Data Fields

void(* bs_scan_wait_for_sync_cb )(void)
 This callback is called when entering in wait_for_sync state.
 
void(* bs_sync_cb )()
 This callback is called when entering in sync state.
 
void(* bs_update_cb )(void)
 This callback is called when entering in update state.
 
void(* bs_adv_cb )(void)
 This callback is called when entering in adv state.
 
void(* bs_stop_cb )(void)
 This callback is called when entering in stop state.
 

Detailed Description

Struct defining the callbacks of the state machine.

Definition at line 63 of file bs_state_machine.h.

Field Documentation

◆ bs_adv_cb

void(* bs_sm_handlers::bs_adv_cb) (void)

This callback is called when entering in adv state.

Definition at line 86 of file bs_state_machine.h.

◆ bs_scan_wait_for_sync_cb

void(* bs_sm_handlers::bs_scan_wait_for_sync_cb) (void)

This callback is called when entering in wait_for_sync state.

Definition at line 68 of file bs_state_machine.h.

◆ bs_stop_cb

void(* bs_sm_handlers::bs_stop_cb) (void)

This callback is called when entering in stop state.

Definition at line 92 of file bs_state_machine.h.

◆ bs_sync_cb

void(* bs_sm_handlers::bs_sync_cb) ()

This callback is called when entering in sync state.

Definition at line 74 of file bs_state_machine.h.

◆ bs_update_cb

void(* bs_sm_handlers::bs_update_cb) (void)

This callback is called when entering in update state.

Definition at line 80 of file bs_state_machine.h.


The documentation for this struct was generated from the following file: