MeshX 0.3
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_gen_light_cli_cb_param Struct Reference

Callback parameters for Generic Light 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 Light 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_light_cli.h>

Collaboration diagram for meshx_gen_light_cli_cb_param:
Collaboration graph

Data Fields

int err_code
 
meshx_ctx_t ctx
 
meshx_model_t model
 
meshx_gen_light_cli_evt_t evt
 
meshx_gen_light_client_status_cb_t status
 

Detailed Description

Callback parameters for Generic Light 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 Light 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.

Definition at line 449 of file meshx_ble_mesh_light_cli.h.

Field Documentation

◆ ctx

meshx_ctx_t meshx_gen_light_cli_cb_param::ctx

Context of the received messages

Definition at line 452 of file meshx_ble_mesh_light_cli.h.

◆ err_code

int meshx_gen_light_cli_cb_param::err_code

Error code

Definition at line 451 of file meshx_ble_mesh_light_cli.h.

◆ evt

meshx_gen_light_cli_evt_t meshx_gen_light_cli_cb_param::evt

Event type of the received message

Definition at line 454 of file meshx_ble_mesh_light_cli.h.

◆ model

meshx_model_t meshx_gen_light_cli_cb_param::model

Pointer to Generic Light Client Models

Definition at line 453 of file meshx_ble_mesh_light_cli.h.

◆ status

meshx_gen_light_client_status_cb_t meshx_gen_light_cli_cb_param::status

Value of the received Generic Messages

Definition at line 455 of file meshx_ble_mesh_light_cli.h.


The documentation for this struct was generated from the following file: