Testing updates for BG95SSL

Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
This commit is contained in:
Sara Damiano
2024-05-17 14:49:29 -04:00
parent 4858785469
commit 74734ef560
6 changed files with 23 additions and 4 deletions

View File

@@ -225,7 +225,8 @@ void loop() {
DBG("Phone number (USSD):", ussd_phone_num);
#endif
#if TINY_GSM_TEST_TCP && defined TINY_GSM_MODEM_HAS_TCP
#if TINY_GSM_TEST_TCP && defined TINY_GSM_MODEM_HAS_TCP && \
not defined(TINY_GSM_MODEM_BG95SSL)
TinyGsmClient client(modem, 0);
const int port = 80;
DBG("Connecting to", server);

View File

@@ -117,6 +117,10 @@ TinyGsm modem(debugger);
TinyGsm modem(SerialAT);
#endif
#if defined(TINY_GSM_MODEM_HAS_SSL)
#define USE_SSL
#endif
#ifdef USE_SSL
TinyGsmClientSecure client(modem);
const int port = 443;