From 6decaf83fc2b1e751876a76d72c4370b3b66a507 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 9 May 2022 14:53:39 +0200 Subject: fix(minion): properly read request data length --- minion/src/wifi_module.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'minion/src/wifi_module.hpp') diff --git a/minion/src/wifi_module.hpp b/minion/src/wifi_module.hpp index 5de898e..43999d6 100644 --- a/minion/src/wifi_module.hpp +++ b/minion/src/wifi_module.hpp @@ -115,5 +115,7 @@ private: */ auto _read(uint64_t timeout, char *response_out) noexcept -> ResponseStatus; + void _read_buffer(char *buffer_out, size_t length, char stop_char) noexcept; + auto _read_byte() noexcept -> char; }; -- cgit v1.2.3-18-g5258