diff --git a/lib/uuid-log/src/uuid/log.h b/lib/uuid-log/src/uuid/log.h index 8fa64f31d..a0dba494d 100644 --- a/lib/uuid-log/src/uuid/log.h +++ b/lib/uuid-log/src/uuid/log.h @@ -309,7 +309,7 @@ class Handler { */ class Logger { public: - /** +/** * This is the maximum length of any log message. * * Determines the size of the buffer used for format string @@ -317,7 +317,11 @@ class Logger { * * @since 1.0.0 */ +#if defined(EMSESP_STANDALONE) + static constexpr size_t MAX_LOG_LENGTH = 500; +#else static constexpr size_t MAX_LOG_LENGTH = 255; +#endif /** * Create a new logger with the given name and logging facility. diff --git a/lib_standalone/AsyncMqttClient.h b/lib_standalone/AsyncMqttClient.h index 65e40b2c8..f1f36c209 100644 --- a/lib_standalone/AsyncMqttClient.h +++ b/lib_standalone/AsyncMqttClient.h @@ -77,13 +77,13 @@ class AsyncMqttClient { void disconnect(bool force = false) { } uint16_t subscribe(const char * topic, uint8_t qos) { - return 0; + return 1; } uint16_t unsubscribe(const char * topic) { - return 0; + return 1; } uint16_t publish(const char * topic, uint8_t qos, bool retain, const char * payload = nullptr, size_t length = 0, bool dup = false, uint16_t message_id = 0) { - return 0; + return 1; } const char * getClientId() {