21#ifndef LSH_CORE_CORE_NETWORK_CLICKS_HPP
22#define LSH_CORE_CORE_NETWORK_CLICKS_HPP
Defines enums for various click types and fallback behaviors.
Namespace-level storage and helpers for bridge-assisted click actions.
Definition network_clicks.cpp:36
auto confirm(uint8_t clickableIndex, constants::ClickType clickType) -> bool
Stubbed confirmation path used when network clicks are compiled out.
Definition network_clicks.cpp:500
auto thereAreActiveNetworkClicks() -> bool
Reports no pending network clicks when the feature is compiled out.
Definition network_clicks.cpp:521
RequestResult
Definition network_clicks.hpp:44
@ Accepted
The request frame has been accepted by the UART and the request-timeout window is now active.
@ TransportRejected
The UART rejected the outgoing request frame.
@ AlreadyPending
The same clickable/clickType pair already has one in-flight transaction.
auto checkAllNetworkClicksTimers(bool failover) -> bool
Stubbed timeout sweep used when network clicks are compiled out.
Definition network_clicks.cpp:559
auto isNetworkClickExpired(uint8_t clickableIndex, constants::ClickType clickType) -> bool
Reports every network click as expired when the feature is compiled out.
Definition network_clicks.cpp:538
auto matchesCorrelationId(uint8_t clickableIndex, constants::ClickType clickType, uint8_t correlationId) -> bool
Stubbed correlation matcher used when network clicks are compiled out.
Definition network_clicks.cpp:510
auto request(uint8_t clickableIndex, constants::ClickType clickType) -> RequestResult
Stubbed request path used when network clicks are compiled out.
Definition network_clicks.cpp:490
void eraseNetworkClick(uint8_t clickableIndex, constants::ClickType clickType)
Stubbed erase path used when network clicks are compiled out.
Definition network_clicks.cpp:529
auto checkNetworkClickTimer(uint8_t clickableIndex, constants::ClickType clickType, bool failover) -> bool
Stubbed single-timer checker used when network clicks are compiled out.
Definition network_clicks.cpp:548
ClickType
Clickable (like button) click types.
Definition click_types.hpp:36