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_config_internal.h File Reference

Internal configuration settings for MeshX. More...

#include "meshx_config.h"
Include dependency graph for meshx_config_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CONFIG_MESHX_DEFAULT   1
 Mandatory Fixed Configs.
 
#define CONFIG_ENABLE_SERVER_COMMON   1
 
#define CONFIG_ENABLE_PROVISIONING   1
 
#define CONFIG_ENABLE_CONFIG_SERVER   1
 
#define CONFIG_CID_ID   0x7908
 Application Main.
 
#define CONFIG_PID_ID   0x4
 
#define CONFIG_PRODUCT_NAME   "all_in_one"
 
#define CONFIG_MAX_ELEMENT_COUNT   5
 Total Element Count in the Composition.
 
#define CONFIG_ENABLE_GEN_ONOFF_CLIENT   1
 Relay Server Counts.
 
#define CONFIG_ENABLE_GEN_ONOFF_SERVER   1
 Gen OnOff Client Counts.
 
#define CONFIG_TXCM_ENABLE
 Light CTL Server Counts.
 

Detailed Description

Internal configuration settings for MeshX.

This header file defines default configuration macros for MeshX, including mandatory fixed configurations, element counts, server and client counts, and enabling various features such as unit testing and light servers. It also includes error checks to ensure valid configuration settings.

Definition in file meshx_config_internal.h.

Macro Definition Documentation

◆ CONFIG_CID_ID

#define CONFIG_CID_ID   0x7908

Application Main.

Note
: This needs to be defined based on platform

Definition at line 33 of file meshx_config_internal.h.

◆ CONFIG_ENABLE_CONFIG_SERVER

#define CONFIG_ENABLE_CONFIG_SERVER   1

Definition at line 21 of file meshx_config_internal.h.

◆ CONFIG_ENABLE_GEN_ONOFF_CLIENT

#define CONFIG_ENABLE_GEN_ONOFF_CLIENT   1

Relay Server Counts.

Relay Client Counts

CWWW Server Counts

CWWW Client Counts

Gen OnOff Server Counts

Definition at line 88 of file meshx_config_internal.h.

◆ CONFIG_ENABLE_GEN_ONOFF_SERVER

#define CONFIG_ENABLE_GEN_ONOFF_SERVER   1

Gen OnOff Client Counts.

Definition at line 96 of file meshx_config_internal.h.

◆ CONFIG_ENABLE_PROVISIONING

#define CONFIG_ENABLE_PROVISIONING   1

Definition at line 20 of file meshx_config_internal.h.

◆ CONFIG_ENABLE_SERVER_COMMON

#define CONFIG_ENABLE_SERVER_COMMON   1

Definition at line 19 of file meshx_config_internal.h.

◆ CONFIG_MAX_ELEMENT_COUNT

#define CONFIG_MAX_ELEMENT_COUNT   5

Total Element Count in the Composition.

Note
The number shall be number of elements + 1 (to include root model)

Definition at line 49 of file meshx_config_internal.h.

◆ CONFIG_MESHX_DEFAULT

#define CONFIG_MESHX_DEFAULT   1

Mandatory Fixed Configs.

Definition at line 18 of file meshx_config_internal.h.

◆ CONFIG_PID_ID

#define CONFIG_PID_ID   0x4

Definition at line 37 of file meshx_config_internal.h.

◆ CONFIG_PRODUCT_NAME

#define CONFIG_PRODUCT_NAME   "all_in_one"

Definition at line 41 of file meshx_config_internal.h.

◆ CONFIG_TXCM_ENABLE

#define CONFIG_TXCM_ENABLE
Value:
CONFIG_RELAY_CLIENT_COUNT \
|| CONFIG_LIGHT_CWWW_CLIENT_COUNT

Light CTL Server Counts.

Light CTL Client Counts

Gen OnOff Client Enable

Gen OnOff Server Enable

Gen Light Server

Gen Light Client

Enable Unit Test

Element Level config check

Model Level Config Check

Definition at line 201 of file meshx_config_internal.h.

201#define CONFIG_TXCM_ENABLE \
202 CONFIG_RELAY_CLIENT_COUNT \
203 || CONFIG_LIGHT_CWWW_CLIENT_COUNT