|
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.
|
Internal configuration settings for MeshX. More...
#include "meshx_config.h"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_SENSOR_SERVER_COUNT 1 |
| Relay Server Counts. | |
| #define | CONFIG_ENABLE_GEN_ONOFF_CLIENT 1 |
| Gen OnOff Server Counts. | |
| #define | CONFIG_ENABLE_GEN_ONOFF_SERVER 1 |
| Gen OnOff Client Counts. | |
| #define | CONFIG_ENABLE_GEN_LEVEL_CLIENT 1 |
| Gen Level Client Enable. | |
| #define | CONFIG_ENABLE_GEN_LEVEL_SERVER 1 |
| Gen Level Server Enable. | |
| #define | CONFIG_ENABLE_GEN_POWER_ONOFF_CLIENT 1 |
| Gen Power OnOff Client Enable. | |
| #define | CONFIG_ENABLE_GEN_POWER_ONOFF_SERVER 1 |
| Gen Power OnOff Server Enable. | |
| #define | CONFIG_ENABLE_GEN_POWER_ONOFF_SETUP_SERVER 1 |
| Gen Power OnOff Setup Server Enable. | |
| #define | CONFIG_ENABLE_GEN_POWER_LEVEL_CLIENT 1 |
| Gen Power Level Client Enable. | |
| #define | CONFIG_ENABLE_GEN_POWER_LEVEL_SERVER 1 |
| Gen Power Level Server Enable. | |
| #define | CONFIG_ENABLE_GEN_POWER_LEVEL_SETUP_SERVER 1 |
| Gen Power Level Setup Server Enable. | |
| #define | CONFIG_ENABLE_GEN_DEF_TRANS_TIME_CLIENT 1 |
| Gen Default Transition Time Client Enable. | |
| #define | CONFIG_ENABLE_GEN_DEF_TRANS_TIME_SERVER 1 |
| Gen Default Transition Time Server Enable. | |
| #define | CONFIG_ENABLE_GEN_BATTERY_CLIENT 1 |
| Gen Battery Client Enable. | |
| #define | CONFIG_ENABLE_GEN_BATTERY_SERVER 1 |
| Gen Battery Server Enable. | |
| #define | CONFIG_ENABLE_GEN_LOCATION_CLIENT 1 |
| Gen Location Client Enable. | |
| #define | CONFIG_ENABLE_GEN_LOCATION_SERVER 1 |
| Gen Location Server Enable. | |
| #define | CONFIG_ENABLE_GEN_LOCATION_SETUP_SERVER 1 |
| Gen Location Setup Server Enable. | |
| #define | CONFIG_ENABLE_GEN_PROPERTY_CLIENT 1 |
| Gen Property Client Enable. | |
| #define | CONFIG_ENABLE_GEN_ADMIN_PROPERTY_SERVER 1 |
| Gen Admin Property Server Enable. | |
| #define | CONFIG_ENABLE_GEN_MANU_PROP_SERVER 1 |
| Gen Manufacturer Property Server Enable. | |
| #define | CONFIG_ENABLE_GEN_USER_PROPERTY_SERVER 1 |
| Gen User Property Server Enable. | |
| #define | CONFIG_ENABLE_GEN_CLIENT_PROPERTY_SERVER 1 |
| Gen Client Property Server Enable. | |
| #define | CONFIG_ENABLE_SENSOR_SERVER 1 |
| Light CTL Server Counts. | |
| #define | CONFIG_TXCM_ENABLE |
| Enable Unit Test. | |
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.
| #define CONFIG_CID_ID 0x7908 |
Application Main.
| #define CONFIG_ENABLE_CONFIG_SERVER 1 |
| #define CONFIG_ENABLE_GEN_ADMIN_PROPERTY_SERVER 1 |
Gen Admin Property Server Enable.
| #define CONFIG_ENABLE_GEN_BATTERY_CLIENT 1 |
Gen Battery Client Enable.
| #define CONFIG_ENABLE_GEN_BATTERY_SERVER 1 |
Gen Battery Server Enable.
| #define CONFIG_ENABLE_GEN_CLIENT_PROPERTY_SERVER 1 |
Gen Client Property Server Enable.
| #define CONFIG_ENABLE_GEN_DEF_TRANS_TIME_CLIENT 1 |
Gen Default Transition Time Client Enable.
| #define CONFIG_ENABLE_GEN_DEF_TRANS_TIME_SERVER 1 |
Gen Default Transition Time Server Enable.
| #define CONFIG_ENABLE_GEN_LEVEL_CLIENT 1 |
Gen Level Client Enable.
| #define CONFIG_ENABLE_GEN_LEVEL_SERVER 1 |
Gen Level Server Enable.
| #define CONFIG_ENABLE_GEN_LOCATION_CLIENT 1 |
Gen Location Client Enable.
| #define CONFIG_ENABLE_GEN_LOCATION_SERVER 1 |
Gen Location Server Enable.
| #define CONFIG_ENABLE_GEN_LOCATION_SETUP_SERVER 1 |
Gen Location Setup Server Enable.
| #define CONFIG_ENABLE_GEN_MANU_PROP_SERVER 1 |
Gen Manufacturer Property Server Enable.
| #define CONFIG_ENABLE_GEN_ONOFF_CLIENT 1 |
Gen OnOff Server Counts.
| #define CONFIG_ENABLE_GEN_ONOFF_SERVER 1 |
Gen OnOff Client Counts.
| #define CONFIG_ENABLE_GEN_POWER_LEVEL_CLIENT 1 |
Gen Power Level Client Enable.
| #define CONFIG_ENABLE_GEN_POWER_LEVEL_SERVER 1 |
Gen Power Level Server Enable.
| #define CONFIG_ENABLE_GEN_POWER_LEVEL_SETUP_SERVER 1 |
Gen Power Level Setup Server Enable.
| #define CONFIG_ENABLE_GEN_POWER_ONOFF_CLIENT 1 |
Gen Power OnOff Client Enable.
| #define CONFIG_ENABLE_GEN_POWER_ONOFF_SERVER 1 |
Gen Power OnOff Server Enable.
| #define CONFIG_ENABLE_GEN_POWER_ONOFF_SETUP_SERVER 1 |
Gen Power OnOff Setup Server Enable.
| #define CONFIG_ENABLE_GEN_PROPERTY_CLIENT 1 |
Gen Property Client Enable.
| #define CONFIG_ENABLE_GEN_USER_PROPERTY_SERVER 1 |
Gen User Property Server Enable.
| #define CONFIG_ENABLE_PROVISIONING 1 |
| #define CONFIG_ENABLE_SENSOR_SERVER 1 |
Light CTL Server Counts.
Light CTL Client Counts
Gen OnOff Client Enable
Gen OnOff Server Enable
Gen Light Server
Gen Light Client
Sensor Server Enable
| #define CONFIG_ENABLE_SERVER_COMMON 1 |
| #define CONFIG_MAX_ELEMENT_COUNT 5 |
Total Element Count in the Composition.
| #define CONFIG_MESHX_DEFAULT 1 |
Mandatory Fixed Configs.
| #define CONFIG_PID_ID 0x4 |
| #define CONFIG_PRODUCT_NAME "all_in_one" |
| #define CONFIG_SENSOR_SERVER_COUNT 1 |
Relay Server Counts.
Relay Client Counts
CWWW Server Counts
CWWW Client Counts
Sensor Server Counts
| #define CONFIG_TXCM_ENABLE |
Enable Unit Test.
Element Level config check
Model Level Config Check