From cca1418882eca7dfcb65a1fcb56165865a47062e Mon Sep 17 00:00:00 2001 From: Sara Damiano Date: Mon, 17 Feb 2020 16:46:09 -0500 Subject: [PATCH] Adjust test build to remove unimplemented errors --- tools/test_build/test_build.ino | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tools/test_build/test_build.ino b/tools/test_build/test_build.ino index 1309349..08e6743 100644 --- a/tools/test_build/test_build.ino +++ b/tools/test_build/test_build.ino @@ -48,15 +48,21 @@ void loop() { // Test the calling functions #if defined(TINY_GSM_MODEM_HAS_CALLING) modem.callNumber(String("+380000000000")); + #if not defined(TINY_GSM_MODEM_SEQUANS_MONARCH) modem.callAnswer(); + #endif modem.callHangup(); #endif // Test the SMS functions #if defined(TINY_GSM_MODEM_HAS_SMS) + #if not defined(TINY_GSM_MODEM_XBEE) && not defined(TINY_GSM_MODEM_SARAR4) modem.sendUSSD("*111#"); + #endif modem.sendSMS(String("+380000000000"), String("Hello from ")); + #if not defined(TINY_GSM_MODEM_XBEE) && not defined(TINY_GSM_MODEM_M590) && not defined(TINY_GSM_MODEM_SARAR4) modem.sendSMS_UTF16("+380000000000", "Hello", 5); + #endif #endif // Test the GSM location functions @@ -147,9 +153,4 @@ void loop() { #if defined(TINY_GSM_MODEM_HAS_WIFI) modem.networkDisconnect(); #endif - - // Test battery and temperature functions - // modem.getBattVoltage(); - // modem.getBattPercent(); - // modem.getTemperature(); }