|
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 MeshX Composition Builder and its C-wrapper. More...
#include <meshx_composition_builder.hpp>#include <meshx_composition.hpp>#include <meshx_device.hpp>#include <variants/meshx_relay_element.hpp>#include <variants/meshx_cwww_element.hpp>#include <variants/meshx_sensor_element.hpp>#include <variants/meshx_rgb_element.hpp>#include <variants/meshx_root_element.hpp>Functions | |
| bool | meshx_builder_is_active (void) |
| C-Wrapper Implementation. | |
| meshx_err_t | meshx_builder_bake (dev_struct_t *pdev, uint16_t cid, uint16_t pid, uint16_t vid) |
| Bakes the dynamic composition into the device structure. | |
| void | meshx_builder_add_element (meshx_element_type_t type, uint16_t count) |
| Adds elements of a specific type to the composition. | |
| void | meshx_builder_begin (void) |
| C-Friendly Builder functions. | |
| void | meshx_builder_commit (void) |
Implementation of MeshX Composition Builder and its C-wrapper.
| void meshx_builder_add_element | ( | meshx_element_type_t | type, |
| uint16_t | count ) |
Adds elements of a specific type to the composition.
| type | The type of element to add. |
| count | The number of elements of this type to add. |
| meshx_err_t meshx_builder_bake | ( | dev_struct_t * | pdev, |
| uint16_t | cid, | ||
| uint16_t | pid, | ||
| uint16_t | vid ) |
Bakes the dynamic composition into the device structure.
| pdev | Pointer to the device structure. |
| cid | Company ID. |
| pid | Product ID. |
| vid | Version ID. |
| void meshx_builder_begin | ( | void | ) |
C-Friendly Builder functions.
C-friendly builder lifecycle functions.
| void meshx_builder_commit | ( | void | ) |
| bool meshx_builder_is_active | ( | void | ) |
C-Wrapper Implementation.
Checks if a dynamic composition has been built.