24#define LIB_VERSION "1.0.0"
42#define LOG_LEVEL_MAPPING \
46#define GLOBAL_LOG_LEVEL PRINT_LEVEL_ERROR
47#define LOG_PASS_CODE_STR "[12345678]"
72#define TIME_WIFI_NEXT_SCAN 2000
73#define TIME_WIFI_SCAN_END 4000
75#define TIMEOUT_WIFI_RECONNECT 10000
76#define TIMEOUT_WIFI_RESTART 30000
78#define LENGTH_WIFI_CRED_SSID 32
79#define LENGTH_WIFI_CRED_PASSWORD 64
80#define LENGTH_MAC_ADDRESS 13
81#define LENGTH_IP_ADDRESS 16
84#define LENGTH_CHIP_ID LENGTH_MAC_ADDRESS
85#define LENGTH_DEVICE_NAME 32
86#define LENGTH_PRODUCT_ID LENGTH_DEVICE_NAME
88#define TIME_MILLIS_ROLLOVER 0xFF000000
91#define LENGTH_HTTP_URL 150
92#define LENGTH_HTTP_PACKET 1024
93#define HTTP_RING_BUFFER_SIZE 4
96#define MQTT_TOPIC_OTA_STR "topicOTA/ESP32"
98#define LENGTH_MQTT_TOPIC 100
99#define LENGTH_MQTT_PAYLOAD 1024
100#define MQTT_MAX_SUBSCRIBE_TOPICS 4
102#define LENGTH_MQTT_URI LENGTH_HTTP_URL
103#define LENGTH_MQTT_USERNAME 32
104#define LENGTH_MQTT_PASSWORD 32
106#define MQTT_PUB_RING_BUFFER_SIZE 5
107#define MQTT_SUB_RING_BUFFER_SIZE 3
110#define LENGTH_AWS_TOPIC LENGTH_MQTT_TOPIC
111#define LENGTH_AWS_PAYLOAD LENGTH_MQTT_PAYLOAD
112#define AWS_MAX_SUBSCRIBE_TOPICS 3
113#define AWS_MAX_PUBLISH_RETRY 3
115#define AWS_PUB_RING_BUFFER_SIZE 3
116#define AWS_SUB_RING_BUFFER_SIZE 3
118#define LENGTH_AWS_JOB_ACTION 32
119#define AWS_MAX_JOBS 3
121#define AWS_MAX_SHADOWS_ELEMETS 5
122#define LENGTH_AWS_SHADOW_KEY 16
123#define LENGTH_AWS_SHADOW_BUFFER 32
125#define LENGTH_THING_NAME LENGTH_DEVICE_NAME
127#define LENGTH_ROOT_CA_MAX 1300u
128#define LENGTH_CERTIFICATE_MAX 1400u
129#define LENGTH_PRIVATE_KEY_MAX 1800u
132#define BLE_PAYLOAD_SIZE 256
134#define TIMEOUT_BLE_AUTH 30000
135#define TIMEOUT_BLE_RX 5000
137#define BLE_TX_RING_BUFFER_SIZE 3
138#define BLE_RX_RING_BUFFER_SIZE 3
141#define TASK_SYSTEM_PRIORITY 5
142#define TASK_SYSTEM_STACK_SIZE (6 * 1024)
144#define TASK_MQTT_PRIORITY 6
145#define TASK_MQTT_STACK_SIZE (6 * 1024)
148#define FLASH_APP_DATA_SIZE 256
151#define LENGTH_OTA_URL LENGTH_HTTP_URL
logLevels_et
Levels of debug messages for printing.
Definition: lib_config.h:33
@ PRINT_LEVEL_NONE
Definition: lib_config.h:34
@ PRINT_LEVEL_DEBUG
Definition: lib_config.h:38
@ PRINT_LEVEL_VERBOSE
Definition: lib_config.h:36
@ PRINT_LEVEL_MAX
Definition: lib_config.h:39
@ PRINT_LEVEL_ERROR
Definition: lib_config.h:35
@ PRINT_LEVEL_INFO
Definition: lib_config.h:37
menusLibModule_et
An enum to represent Library modules.
Definition: lib_config.h:54