1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2026-08-18 18:32:30 +02:00

Fix for PageNavigation

This commit is contained in:
Norbert Walter
2026-03-12 18:40:36 +00:00
parent 64f9058f85
commit 57272f3a44
2 changed files with 27 additions and 3 deletions
+3
View File
@@ -12,6 +12,7 @@
class NetworkClient {
public:
NetworkClient(size_t reserveSize = 0);
~NetworkClient();
bool fetchAndDecompressJson(const String& url);
JsonDocument& json();
@@ -20,6 +21,8 @@ public:
private:
DynamicJsonDocument _doc;
bool _valid;
uint8_t* _jsonRaw;
size_t _jsonRawLen;
int skipGzipHeader(const uint8_t* data, size_t len);
bool httpGetGzip(const String& url, uint8_t*& outData, size_t& outLen);