21#ifndef LSH_CORE_COMMUNICATION_BRIDGE_SYNC_HPP
22#define LSH_CORE_COMMUNICATION_BRIDGE_SYNC_HPP
30void tick(uint16_t elapsed_ms);
void onRequestDetailsServed()
Record that REQUEST_DETAILS has just been served.
Definition bridge_sync.cpp:151
auto allowsMutatingCommands() -> bool
Return whether inbound bridge commands may mutate controller state.
Definition bridge_sync.cpp:203
void begin()
Mark the bridge as out of sync and send the initial BOOT.
Definition bridge_sync.cpp:73
auto allowsStateRequests() -> bool
Return whether REQUEST_STATE may be served safely right now.
Definition bridge_sync.cpp:190
void tick(uint16_t elapsed_ms)
Advance the bridge synchronization state machine.
Definition bridge_sync.cpp:104
void restartFromBridgeBoot()
Re-open the handshake after the bridge explicitly requested a runtime resync.
Definition bridge_sync.cpp:88
void onRequestStateServed()
Record that REQUEST_STATE has just been served.
Definition bridge_sync.cpp:170