Skip to content

Commit

Permalink
Merge pull request #533 from pennam/fix-4g-ota
Browse files Browse the repository at this point in the history
OTA: create TinyGSMClient in case of cellular connections
  • Loading branch information
pennam authored Mar 3, 2025
2 parents 55b2db6 + 3293d2b commit 07cbf50
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tls/utility/TLSClientOta.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 07cbf50

Please sign in to comment.