diff --git a/library.json b/library.json index 7b3b318..e583071 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "HaierProtocol", - "version": "0.9.20", + "version": "0.9.21", "description": "A library to control Haier AC using serial protocol", "keywords": "haier, air-conditioner, uart, serial", "repository": diff --git a/src/protocol/haier_protocol.cpp b/src/protocol/haier_protocol.cpp index 8edefbf..414816a 100644 --- a/src/protocol/haier_protocol.cpp +++ b/src/protocol/haier_protocol.cpp @@ -7,7 +7,7 @@ namespace haier_protocol { constexpr std::chrono::milliseconds MESSAGE_COOLDOWN_INTERVAL = std::chrono::milliseconds(400); -constexpr std::chrono::milliseconds DEFAULT_ANSWER_TIMEOUT = std::chrono::milliseconds(150); +constexpr std::chrono::milliseconds DEFAULT_ANSWER_TIMEOUT = std::chrono::milliseconds(200); ProtocolHandler::ProtocolHandler(ProtocolStream &stream) noexcept : transport_(stream), message_handlers_map_(),