18 lines
481 B
C
18 lines
481 B
C
#ifndef CONFIG_H
|
|
#define CONFIG_H
|
|
|
|
// MQTT broker settings (leave MQTT server values as needed)
|
|
#define MQTT_SERVER "192.168.1.10"
|
|
#define MQTT_PORT 1883
|
|
#define MQTT_TOPIC_CMD "dcc/command"
|
|
#define MQTT_TOPIC_STATUS "dcc/status"
|
|
#define MQTT_TOPIC_RESPONSE "dcc/response"
|
|
|
|
// Pin used for simulated DCC output (adjust as needed)
|
|
#define DCC_OUTPUT_PIN 27
|
|
|
|
// Access point SSID shown when no WiFi credentials are configured
|
|
#define DEFAULT_AP_SSID "DCC_Config"
|
|
|
|
#endif // CONFIG_H
|