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_cli_cb_param Struct Reference

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>

Collaboration diagram for meshx_gen_cli_cb_param:
Collaboration graph

Data Fields

int err_code
 
meshx_ctx_t ctx
 
meshx_model_t model
 
meshx_gen_cli_evt_t evt
 
meshx_gen_client_status_cb_t status
 

Detailed Description

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.

Definition at line 283 of file meshx_ble_mesh_gen_cli.h.

Field Documentation

◆ ctx

meshx_ctx_t meshx_gen_cli_cb_param::ctx

Context of the received messages

Definition at line 286 of file meshx_ble_mesh_gen_cli.h.

◆ err_code

int meshx_gen_cli_cb_param::err_code

Error code

Definition at line 285 of file meshx_ble_mesh_gen_cli.h.

◆ evt

meshx_gen_cli_evt_t meshx_gen_cli_cb_param::evt

Event type of the received message

Definition at line 288 of file meshx_ble_mesh_gen_cli.h.

◆ model

meshx_model_t meshx_gen_cli_cb_param::model

Pointer to Generic Client Models

Definition at line 287 of file meshx_ble_mesh_gen_cli.h.

◆ status

meshx_gen_client_status_cb_t meshx_gen_cli_cb_param::status

Value of the received Generic Messages

Definition at line 289 of file meshx_ble_mesh_gen_cli.h.


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