Implements the logic for handling network click requests, confirmations, and timeouts. More...
#include "core/network_clicks.hpp"#include "communication/serializer.hpp"#include "config/static_config.hpp"#include "internal/etl_array.hpp"#include "util/constants/config.hpp"#include "util/constants/timing.hpp"#include "util/debug/debug.hpp"#include "util/saturating_time.hpp"#include "util/time_keeper.hpp"
Namespaces | |
| namespace | NetworkClicks |
| Namespace-level storage and helpers for bridge-assisted click actions. | |
Functions | |
| auto | NetworkClicks::request (uint8_t clickableIndex, constants::ClickType clickType) -> RequestResult |
| Stubbed request path used when network clicks are compiled out. | |
| auto | NetworkClicks::confirm (uint8_t clickableIndex, constants::ClickType clickType) -> bool |
| Stubbed confirmation path used when network clicks are compiled out. | |
| auto | NetworkClicks::matchesCorrelationId (uint8_t clickableIndex, constants::ClickType clickType, uint8_t correlationId) -> bool |
| Stubbed correlation matcher used when network clicks are compiled out. | |
| auto | NetworkClicks::thereAreActiveNetworkClicks () -> bool |
| Reports no pending network clicks when the feature is compiled out. | |
| void | NetworkClicks::eraseNetworkClick (uint8_t clickableIndex, constants::ClickType clickType) |
| Stubbed erase path used when network clicks are compiled out. | |
| auto | NetworkClicks::isNetworkClickExpired (uint8_t clickableIndex, constants::ClickType clickType) -> bool |
| Reports every network click as expired when the feature is compiled out. | |
| auto | NetworkClicks::checkNetworkClickTimer (uint8_t clickableIndex, constants::ClickType clickType, bool failover) -> bool |
| Stubbed single-timer checker used when network clicks are compiled out. | |
| auto | NetworkClicks::checkAllNetworkClicksTimers (bool failover) -> bool |
| Stubbed timeout sweep used when network clicks are compiled out. | |
Implements the logic for handling network click requests, confirmations, and timeouts.
Copyright 2026 Jacopo Labardi
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.