|
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.
|
Callback parameters for Generic Client Model events. This structure is used to pass information about the received messages and their context to the application. It includes the context, model pointer, event type, and status values. The status values are encapsulated in a union to handle different types of status messages that the Generic Client Model can receive. Each status type corresponds to a specific operation code (opcode) defined in the BLE Mesh specification, allowing the application to handle them appropriately. More...
#include <meshx_ble_mesh_gen_cli.h>
Data Fields | |
| uint8_t | err_code |
| meshx_ctx_t | ctx |
| meshx_model_t | model |
| meshx_gen_cli_evt_t | evt |
| meshx_gen_client_status_cb_t | status |
Callback parameters for Generic Client Model events. This structure is used to pass information about the received messages and their context to the application. It includes the context, model pointer, event type, and status values. The status values are encapsulated in a union to handle different types of status messages that the Generic Client Model can receive. Each status type corresponds to a specific operation code (opcode) defined in the BLE Mesh specification, allowing the application to handle them appropriately.
| meshx_ctx_t meshx_gen_cli_cb_param::ctx |
Context of the received messages
| uint8_t meshx_gen_cli_cb_param::err_code |
Error code
| meshx_gen_cli_evt_t meshx_gen_cli_cb_param::evt |
Event type of the received message
| meshx_model_t meshx_gen_cli_cb_param::model |
Pointer to Generic Client Models
| meshx_gen_client_status_cb_t meshx_gen_cli_cb_param::status |
Value of the received Generic Messages