|
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.
|
Header file for the MeshX BLE Mesh Sensor Server module. More...
Go to the source code of this file.
Data Structures | |
| struct | meshx_sensor_srv_status_t |
| struct | meshx_sensor_server_state_change_t |
| struct | meshx_sensor_server_cb_param_t |
| Sensor Server Model callback parameters. More... | |
Macros | |
| #define | MESHX_BLE_MESH_SENSOR_DATA_MAX_LEN 128 |
Functions | |
| meshx_err_t | meshx_plat_sensor_srv_init (void) |
| Initialize Sensor Server module. | |
| meshx_err_t | meshx_plat_sensor_srv_create (meshx_ptr_t p_model, meshx_ptr_t *p_pub, meshx_ptr_t *p_sensor_srv) |
| Create a Sensor Server instance. | |
| meshx_err_t | meshx_plat_sensor_srv_delete (meshx_ptr_t *p_pub) |
| Delete a Sensor Server instance. | |
| meshx_err_t | meshx_plat_sensor_srv_send_status (const meshx_model_t *p_model, const meshx_ctx_t *p_ctx, const meshx_sensor_server_state_change_t *state_change) |
| Send a status message from the Sensor Server. | |
Header file for the MeshX BLE Mesh Sensor Server module.
Copyright (c) 2024 - 2025 MeshX
| #define MESHX_BLE_MESH_SENSOR_DATA_MAX_LEN 128 |
| meshx_err_t meshx_plat_sensor_srv_create | ( | meshx_ptr_t | p_model, |
| meshx_ptr_t * | p_pub, | ||
| meshx_ptr_t * | p_sensor_srv ) |
Create a Sensor Server instance.
| meshx_err_t meshx_plat_sensor_srv_delete | ( | meshx_ptr_t * | p_pub | ) |
Delete a Sensor Server instance.
| meshx_err_t meshx_plat_sensor_srv_init | ( | void | ) |
Initialize Sensor Server module.
| meshx_err_t meshx_plat_sensor_srv_send_status | ( | const meshx_model_t * | p_model, |
| const meshx_ctx_t * | p_ctx, | ||
| const meshx_sensor_server_state_change_t * | state_change ) |
Send a status message from the Sensor Server.