From 3293d2b787ccccc5e3aaec7faeac03122d3e92bc Mon Sep 17 00:00:00 2001 From: pennam Date: Fri, 28 Feb 2025 12:18:52 +0100 Subject: [PATCH] OTA: create TinyGSMClient in case of cellular connections --- src/tls/utility/TLSClientOta.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/tls/utility/TLSClientOta.h b/src/tls/utility/TLSClientOta.h index 89925499b..1909e2775 100644 --- a/src/tls/utility/TLSClientOta.h +++ b/src/tls/utility/TLSClientOta.h @@ -90,6 +90,10 @@ case NetworkAdapter::CATM1: return new GSMClient(); #endif // BOARD_HAS_CATM1_NBIOT +#ifdef BOARD_HAS_CELLULAR + case NetworkAdapter::CELL: + return new TinyGsmClient(modem, 1); +#endif // BOARD_HAS_CELLULAR default: return nullptr; }