30 lines
516 B
C
30 lines
516 B
C
#ifndef DEFINES_H
|
|
#define DEFINES_H
|
|
|
|
|
|
|
|
#define GENERAL_MESSAGES_MAX_LOG_LINES 5000 //The number of lines of general status log we keep in the general status window (avoids fucking up because you know.... RAM)
|
|
#define MQTT_CLIENT_RECONNECT_TIMEOUT 5000 //Time in ms between reconnect attemps to MQTT broker when connection is lost
|
|
|
|
//#define USE_TOPIC_PREFIX
|
|
#define FORCE_FLOAT_REPRESENTATION
|
|
|
|
enum eOtarcikGeneralReturns
|
|
{
|
|
RET_OK = 0,
|
|
RET_GENERAL_ERROR,
|
|
|
|
|
|
|
|
RET_MAX_ERROR
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // DEFINES_H
|
|
|
|
|
|
|