MeshX 0.4
This repository provides an implementation for Bluetooth Low Energy (BLE) Mesh network nodes. The project allows you to create BLE mesh nodes that can communicate with each other, enabling the development of smart home solutions or other IoT-based applications.
Loading...
Searching...
No Matches
meshx_model_power_onoff.hpp File Reference

Implementation of Generic Power OnOff Model for MeshX. More...

Go to the source code of this file.

Data Structures

struct  meshx_gen_power_onoff_model_state
 Structure to hold the Power OnOff model state. More...
struct  meshx_gen_power_onoff_send_params
 Structure to hold the parameters for sending a Generic Power OnOff message. More...
struct  meshx_power_onoff_cli_el_msg
 Structure to hold the Power OnOff Server to parent element message. The structure is used by the on_model_cb function to send the Power OnOff state change notification to the parent element. More...
class  meshXGenericPowerOnOffClientModel
 A template class for creating Generic Power OnOff Client models. More...
struct  meshx_power_onoff_srv_el_msg
 Structure to hold the Power OnOff Server to parent element message. The structure is used by the on_model_cb function to send the Power OnOff state change notification to the parent element. More...
class  meshXGenericPowerOnOffServerModel
 A template class for creating Generic Power OnOff Server models. More...
class  meshXGenericPowerOnOffSetupServerModel
 A template class for creating Generic Power OnOff Setup Server models. More...

Macros

#define MESHX_GEN_POWER_ONOFF_CLIENT_MODEL_TEMPLATE_PROTO
#define MESHX_GEN_POWER_ONOFF_CLIENT_MODEL_TEMPLATE_PARAMS
#define MESHX_GEN_POWER_ONOFF_SERVER_MODEL_TEMPLATE_PROTO
#define MESHX_GEN_POWER_ONOFF_SERVER_MODEL_TEMPLATE_PARAMS
#define MESHX_GEN_POWER_ONOFF_SETUP_SERVER_MODEL_TEMPLATE_PROTO
#define MESHX_GEN_POWER_ONOFF_SETUP_SERVER_MODEL_TEMPLATE_PARAMS

Typedefs

using meshx_gen_power_onoff_model_state_t = struct meshx_gen_power_onoff_model_state
using meshx_gen_power_onoff_send_params_t = struct meshx_gen_power_onoff_send_params
using meshx_power_onoff_cli_el_msg_t = struct meshx_power_onoff_cli_el_msg
using meshx_power_onoff_srv_el_msg_t = struct meshx_power_onoff_srv_el_msg

Detailed Description

Implementation of Generic Power OnOff Model for MeshX.

This file contains the implementation of the Generic Power OnOff model, which provides standard Power OnOff model functionality in the MeshX BLE mesh framework.

Key Features:

  • Implements Bluetooth SIG-defined Generic Power OnOff model
  • Inherits from meshXClientModel, meshXServerModel templates
  • Provides standard Power OnOff control operations
  • Integrates with MeshX transmission control
Author
Pranjal Chanda
Date
2024-2025

Macro Definition Documentation

◆ MESHX_GEN_POWER_ONOFF_CLIENT_MODEL_TEMPLATE_PARAMS

#define MESHX_GEN_POWER_ONOFF_CLIENT_MODEL_TEMPLATE_PARAMS

◆ MESHX_GEN_POWER_ONOFF_CLIENT_MODEL_TEMPLATE_PROTO

#define MESHX_GEN_POWER_ONOFF_CLIENT_MODEL_TEMPLATE_PROTO

◆ MESHX_GEN_POWER_ONOFF_SERVER_MODEL_TEMPLATE_PARAMS

#define MESHX_GEN_POWER_ONOFF_SERVER_MODEL_TEMPLATE_PARAMS

◆ MESHX_GEN_POWER_ONOFF_SERVER_MODEL_TEMPLATE_PROTO

#define MESHX_GEN_POWER_ONOFF_SERVER_MODEL_TEMPLATE_PROTO

◆ MESHX_GEN_POWER_ONOFF_SETUP_SERVER_MODEL_TEMPLATE_PARAMS

#define MESHX_GEN_POWER_ONOFF_SETUP_SERVER_MODEL_TEMPLATE_PARAMS

◆ MESHX_GEN_POWER_ONOFF_SETUP_SERVER_MODEL_TEMPLATE_PROTO

#define MESHX_GEN_POWER_ONOFF_SETUP_SERVER_MODEL_TEMPLATE_PROTO

Typedef Documentation

◆ meshx_gen_power_onoff_model_state_t

◆ meshx_gen_power_onoff_send_params_t

◆ meshx_power_onoff_cli_el_msg_t

◆ meshx_power_onoff_srv_el_msg_t