Skip to content

Commit 07cbf50

Browse files
authored
Merge pull request #533 from pennam/fix-4g-ota
OTA: create TinyGSMClient in case of cellular connections
2 parents 55b2db6 + 3293d2b commit 07cbf50

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/tls/utility/TLSClientOta.h

+4
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@
9090
case NetworkAdapter::CATM1:
9191
return new GSMClient();
9292
#endif // BOARD_HAS_CATM1_NBIOT
93+
#ifdef BOARD_HAS_CELLULAR
94+
case NetworkAdapter::CELL:
95+
return new TinyGsmClient(modem, 1);
96+
#endif // BOARD_HAS_CELLULAR
9397
default:
9498
return nullptr;
9599
}

0 commit comments

Comments
 (0)