no message

This commit is contained in:
Julien Lazarewicz
2026-03-29 23:46:22 +02:00
parent 8b93e08e15
commit 3fdf508a5c
3 changed files with 239 additions and 283 deletions

View File

@@ -39,23 +39,22 @@ constexpr uint32_t SERIAL_DEBUG_BAUD = 115200U;
// Enable Thingsboard library debug
#define THINGSBOARD_ENABLE_DEBUG false
// WIFI parameters
constexpr char WIFI_SSID[] = "thingsboard";
constexpr char WIFI_PASSWORD[] = "thingsboard";
// Module actionneur Thingsboard token access
// Doit être modifié suivant binome
constexpr char TOKEN[] = "1voazulw2mqr9avkdonw";
constexpr char device_id[] = "LAZ";
// Thingsboard server IP address
constexpr char THINGSBOARD_SERVER[] = "10.42.0.1";
constexpr char MQTT_SERVER[] = "10.42.0.2";
// MQTT port used to communicate with the server, 1883 is the default unencrypted MQTT port,
// whereas 8883 would be the default encrypted SSL MQTT port
#if ENCRYPTED
constexpr uint16_t THINGSBOARD_PORT = 8883U;
#else
constexpr uint16_t THINGSBOARD_PORT = 1883U;
constexpr uint16_t THINGSBOARD_PORT = 1884U;
#endif
#if ENCRYPTED