LSH-Core
Deterministic firmware core for Controllino-based Labo Smart Home nodes
 
Loading...
Searching...
No Matches
network_clicks.cpp File Reference

Implements the logic for handling network click requests, confirmations, and timeouts. More...

Include dependency graph for network_clicks.cpp:

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.
 

Detailed Description

Implements the logic for handling network click requests, confirmations, and timeouts.

Author
Jacopo Labardi (labodj)

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.