|
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.
|
Implementation of Generic Level Model classes for MeshX. This file contains the implementation of the Generic Level Server and Client models for the MeshX BLE mesh framework. More...
#include <generic_model/meshx_model_level.hpp>Functions | |
| if (!el_state) | |
| if (memcmp(&model_state, el_state, sizeof(meshx_gen_level_model_state_t)) !=0) | |
Variables | |
| **This function is called by the parent element when a state change request *is received It validates the request and returns a result to the element * | Note |
| Handle state change request from element. | |
| **This function is called by the parent element when a state change request *is received It validates the request and returns a result to the element not the model layer **return * | MESHX_SUCCESS |
| else | |
Implementation of Generic Level Model classes for MeshX. This file contains the implementation of the Generic Level Server and Client models for the MeshX BLE mesh framework.
Key Features:
| if | ( | ! | el_state | ) |
| if | ( | memcmp(&,, | meshx_gen_level_model_state_t | ) |
| else |
| return MESHX_SUCCESS |
| * * This function is called by the parent element when a state change request* is received It validates the request and returns a result to the element* Note |
Handle state change request from element.