mirror of
				https://github.com/KevinMidboe/TinyGSM.git
				synced 2025-10-29 18:00:18 +00:00 
			
		
		
		
	Adjust test build to remove unimplemented errors
This commit is contained in:
		| @@ -48,15 +48,21 @@ void loop() { | |||||||
| // Test the calling functions | // Test the calling functions | ||||||
| #if defined(TINY_GSM_MODEM_HAS_CALLING) | #if defined(TINY_GSM_MODEM_HAS_CALLING) | ||||||
|   modem.callNumber(String("+380000000000")); |   modem.callNumber(String("+380000000000")); | ||||||
|  |  #if not defined(TINY_GSM_MODEM_SEQUANS_MONARCH) | ||||||
|   modem.callAnswer(); |   modem.callAnswer(); | ||||||
|  |   #endif | ||||||
|   modem.callHangup(); |   modem.callHangup(); | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
| // Test the SMS functions | // Test the SMS functions | ||||||
| #if defined(TINY_GSM_MODEM_HAS_SMS) | #if defined(TINY_GSM_MODEM_HAS_SMS) | ||||||
|  |  #if not defined(TINY_GSM_MODEM_XBEE) && not defined(TINY_GSM_MODEM_SARAR4) | ||||||
|   modem.sendUSSD("*111#"); |   modem.sendUSSD("*111#"); | ||||||
|  |   #endif | ||||||
|   modem.sendSMS(String("+380000000000"), String("Hello from ")); |   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); |   modem.sendSMS_UTF16("+380000000000", "Hello", 5); | ||||||
|  |   #endif | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
| // Test the GSM location functions | // Test the GSM location functions | ||||||
| @@ -147,9 +153,4 @@ void loop() { | |||||||
| #if defined(TINY_GSM_MODEM_HAS_WIFI) | #if defined(TINY_GSM_MODEM_HAS_WIFI) | ||||||
|   modem.networkDisconnect(); |   modem.networkDisconnect(); | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
|   // Test battery and temperature functions |  | ||||||
|   // modem.getBattVoltage(); |  | ||||||
|   // modem.getBattPercent(); |  | ||||||
|   // modem.getTemperature(); |  | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user