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

Declares cold generated accessors for the selected static profile. More...

#include <stdint.h>
#include "util/constants/click_types.hpp"
Include dependency graph for static_config.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

auto lsh::core::static_config::getActuatorId (uint8_t actuatorIndex) noexcept -> uint8_t
 
auto lsh::core::static_config::getClickableId (uint8_t clickableIndex) noexcept -> uint8_t
 
auto lsh::core::static_config::getActuatorIndexById (uint8_t actuatorId) noexcept -> uint8_t
 
auto lsh::core::static_config::getClickableIndexById (uint8_t clickableId) noexcept -> uint8_t
 
auto lsh::core::static_config::getAutoOffActuatorIndex (uint8_t autoOffIndex) noexcept -> uint8_t
 
auto lsh::core::static_config::getAutoOffIndexByActuatorIndex (uint8_t actuatorIndex) noexcept -> uint8_t
 
auto lsh::core::static_config::getAutoOffTimer (uint8_t actuatorIndex) noexcept -> uint32_t
 
auto lsh::core::static_config::getIndicatorActuatorLinkCount (uint8_t indicatorIndex) noexcept -> uint8_t
 
auto lsh::core::static_config::setActuatorStateById (uint8_t actuatorId, bool state) noexcept -> bool
 
auto lsh::core::static_config::writeDetailsPayload () noexcept -> bool
 
auto lsh::core::static_config::runShortClick (uint8_t clickableIndex) noexcept -> bool
 
auto lsh::core::static_config::runLongClick (uint8_t clickableIndex) noexcept -> bool
 
auto lsh::core::static_config::runSuperLongClick (uint8_t clickableIndex) noexcept -> bool
 
auto lsh::core::static_config::runClick (uint8_t clickableIndex, constants::ClickType clickType) noexcept -> bool
 
auto lsh::core::static_config::runNetworkClickFallback (uint8_t clickableIndex, constants::ClickType clickType) noexcept -> bool
 
auto lsh::core::static_config::getNetworkClickSlotCount (uint8_t clickableIndex) noexcept -> uint8_t
 
auto lsh::core::static_config::getNetworkClickSlotIndex (uint8_t clickableIndex, constants::ClickType clickType) noexcept -> uint8_t
 
auto lsh::core::static_config::getNetworkClickClickableIndex (uint8_t slotIndex) noexcept -> uint8_t
 
auto lsh::core::static_config::getNetworkClickType (uint8_t slotIndex) noexcept -> constants::ClickType
 
auto lsh::core::static_config::isClickableConfigurationValid (uint8_t clickableIndex) noexcept -> bool
 
auto lsh::core::static_config::scanClickables (uint16_t elapsed_ms) noexcept -> uint8_t
 
auto lsh::core::static_config::turnOffAllActuators () noexcept -> bool
 
auto lsh::core::static_config::turnOffUnprotectedActuators () noexcept -> bool
 
auto lsh::core::static_config::checkPulseTimers (uint16_t elapsed_ms) noexcept -> bool
 
auto lsh::core::static_config::checkAutoOffTimers (uint32_t now_ms) noexcept -> bool
 
auto lsh::core::static_config::applyPackedActuatorStateByte (uint8_t byteIndex, uint8_t packedByte) noexcept -> bool
 
auto lsh::core::static_config::computeIndicatorState (uint8_t indicatorIndex) noexcept -> bool
 
void lsh::core::static_config::refreshIndicators () noexcept
 

Detailed Description

Declares cold generated accessors for the selected static profile.

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.