mirror of
				https://github.com/KevinMidboe/TinyGSM.git
				synced 2025-10-29 18:00:18 +00:00 
			
		
		
		
	Merge branch 'master' into v_master
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/ISSUE_TEMPLATE.md
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/ISSUE_TEMPLATE.md
									
									
									
									
										vendored
									
									
								
							| @@ -22,7 +22,7 @@ with your board before submitting any issues. | |||||||
|  |  | ||||||
| Main processor board: <!-- Uno, Zero, ESP32, Particle, etc --> | Main processor board: <!-- Uno, Zero, ESP32, Particle, etc --> | ||||||
| Modem: <!-- Brand, model, variant, firmware version --> | Modem: <!-- Brand, model, variant, firmware version --> | ||||||
| TinyGSM version: <!-- always try to use the latest (0.10.0) --> | TinyGSM version: <!-- always try to use the latest (0.10.1) --> | ||||||
| Code: <!-- Example name or paste in your code --> | Code: <!-- Example name or paste in your code --> | ||||||
|  |  | ||||||
| ### Scenario, steps to reproduce | ### Scenario, steps to reproduce | ||||||
|   | |||||||
| @@ -114,7 +114,8 @@ Watch this repo for new updates! And of course, contributions are welcome ;) | |||||||
|  |  | ||||||
| **Location** | **Location** | ||||||
| - GPS/GNSS | - GPS/GNSS | ||||||
|     - SIM808, SIM7000, SIM7500/7600/7800 only |     - SIM808, SIM7000, SIM7500/7600/7800, BG96, u-blox | ||||||
|  |     - NOTE:  u-blox chips do NOT have embedded GPS - this function only works if a secondary GPS is connected to primary cellular chip over I2C | ||||||
| - GSM location service | - GSM location service | ||||||
|     - SIM800, SIM7000, Quectel, u-blox |     - SIM800, SIM7000, Quectel, u-blox | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| { | { | ||||||
|   "name": "TinyGSM", |   "name": "TinyGSM", | ||||||
|   "version": "0.10.0", |   "version": "0.10.1", | ||||||
|   "description": "A small Arduino library for GPRS modules, that just works. Includes examples for Blynk, MQTT, File Download, and Web Client. Supports many GSM, LTE, and WiFi modules with AT command interfaces.", |   "description": "A small Arduino library for GPRS modules, that just works. Includes examples for Blynk, MQTT, File Download, and Web Client. Supports many GSM, LTE, and WiFi modules with AT command interfaces.", | ||||||
|   "keywords": "GSM, AT commands, AT, SIM800, SIM900, A6, A7, M590, ESP8266, SIM7000, SIM800A, SIM800C, SIM800L, SIM800H, SIM808, SIM868, SIM900A, SIM900D, SIM908, SIM968, M95, MC60, MC60E, BG96, ublox, Quectel, SIMCOM, AI Thinker, LTE, LTE-M", |   "keywords": "GSM, AT commands, AT, SIM800, SIM900, A6, A7, M590, ESP8266, SIM7000, SIM800A, SIM800C, SIM800L, SIM800H, SIM808, SIM868, SIM900A, SIM900D, SIM908, SIM968, M95, MC60, MC60E, BG96, ublox, Quectel, SIMCOM, AI Thinker, LTE, LTE-M", | ||||||
|   "authors": |   "authors": | ||||||
|   | |||||||
| @@ -1,5 +1,5 @@ | |||||||
| name=TinyGSM | name=TinyGSM | ||||||
| version=0.10.0 | version=0.10.1 | ||||||
| author=Volodymyr Shymanskyy | author=Volodymyr Shymanskyy | ||||||
| maintainer=Volodymyr Shymanskyy | maintainer=Volodymyr Shymanskyy | ||||||
| sentence=A small Arduino library for GPRS modules, that just works. | sentence=A small Arduino library for GPRS modules, that just works. | ||||||
|   | |||||||
| @@ -130,6 +130,7 @@ class TinyGsmA6 : public TinyGsmModem<TinyGsmA6>, | |||||||
|  protected: |  protected: | ||||||
|   bool initImpl(const char* pin = NULL) { |   bool initImpl(const char* pin = NULL) { | ||||||
|     DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION); |     DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION); | ||||||
|  |     DBG(GF("### TinyGSM Compiled Module:  TinyGsmClientA6")); | ||||||
|  |  | ||||||
|     if (!testAT()) { return false; } |     if (!testAT()) { return false; } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -161,6 +161,7 @@ class TinyGsmBG96 : public TinyGsmModem<TinyGsmBG96>, | |||||||
|  protected: |  protected: | ||||||
|   bool initImpl(const char* pin = NULL) { |   bool initImpl(const char* pin = NULL) { | ||||||
|     DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION); |     DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION); | ||||||
|  |     DBG(GF("### TinyGSM Compiled Module:  TinyGsmClientBG96")); | ||||||
|  |  | ||||||
|     if (!testAT()) { return false; } |     if (!testAT()) { return false; } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -139,6 +139,7 @@ class TinyGsmESP8266 : public TinyGsmModem<TinyGsmESP8266>, | |||||||
|  protected: |  protected: | ||||||
|   bool initImpl(const char* pin = NULL) { |   bool initImpl(const char* pin = NULL) { | ||||||
|     DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION); |     DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION); | ||||||
|  |     DBG(GF("### TinyGSM Compiled Module:  TinyGsmClientESP8266")); | ||||||
|  |  | ||||||
|     if (!testAT()) { return false; } |     if (!testAT()) { return false; } | ||||||
|     if (pin && strlen(pin) > 0) { |     if (pin && strlen(pin) > 0) { | ||||||
|   | |||||||
| @@ -119,6 +119,7 @@ class TinyGsmM590 : public TinyGsmModem<TinyGsmM590>, | |||||||
|  protected: |  protected: | ||||||
|   bool initImpl(const char* pin = NULL) { |   bool initImpl(const char* pin = NULL) { | ||||||
|     DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION); |     DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION); | ||||||
|  |     DBG(GF("### TinyGSM Compiled Module:  TinyGsmClientM590")); | ||||||
|  |  | ||||||
|     if (!testAT()) { return false; } |     if (!testAT()) { return false; } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -158,6 +158,7 @@ class TinyGsmM95 : public TinyGsmModem<TinyGsmM95>, | |||||||
|  protected: |  protected: | ||||||
|   bool initImpl(const char* pin = NULL) { |   bool initImpl(const char* pin = NULL) { | ||||||
|     DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION); |     DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION); | ||||||
|  |     DBG(GF("### TinyGSM Compiled Module:  TinyGsmClientM95")); | ||||||
|  |  | ||||||
|     if (!testAT()) { return false; } |     if (!testAT()) { return false; } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -157,6 +157,7 @@ class TinyGsmMC60 : public TinyGsmModem<TinyGsmMC60>, | |||||||
|  protected: |  protected: | ||||||
|   bool initImpl(const char* pin = NULL) { |   bool initImpl(const char* pin = NULL) { | ||||||
|     DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION); |     DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION); | ||||||
|  |     DBG(GF("### TinyGSM Compiled Module:  TinyGsmClientMC60")); | ||||||
|  |  | ||||||
|     if (!testAT()) { return false; } |     if (!testAT()) { return false; } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -155,6 +155,7 @@ class TinyGsmSim5360 : public TinyGsmModem<TinyGsmSim5360>, | |||||||
|  protected: |  protected: | ||||||
|   bool initImpl(const char* pin = NULL) { |   bool initImpl(const char* pin = NULL) { | ||||||
|     DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION); |     DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION); | ||||||
|  |     DBG(GF("### TinyGSM Compiled Module:  TinyGsmClientSIM5360")); | ||||||
|  |  | ||||||
|     if (!testAT()) { return false; } |     if (!testAT()) { return false; } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -153,6 +153,7 @@ class TinyGsmSim7000 : public TinyGsmModem<TinyGsmSim7000>, | |||||||
|  protected: |  protected: | ||||||
|   bool initImpl(const char* pin = NULL) { |   bool initImpl(const char* pin = NULL) { | ||||||
|     DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION); |     DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION); | ||||||
|  |     DBG(GF("### TinyGSM Compiled Module:  TinyGsmClientSIM7000")); | ||||||
|  |  | ||||||
|     if (!testAT()) { return false; } |     if (!testAT()) { return false; } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -159,6 +159,7 @@ class TinyGsmSim7600 : public TinyGsmModem<TinyGsmSim7600>, | |||||||
|  protected: |  protected: | ||||||
|   bool initImpl(const char* pin = NULL) { |   bool initImpl(const char* pin = NULL) { | ||||||
|     DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION); |     DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION); | ||||||
|  |     DBG(GF("### TinyGSM Compiled Module:  TinyGsmClientSIM7600")); | ||||||
|  |  | ||||||
|     if (!testAT()) { return false; } |     if (!testAT()) { return false; } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -155,6 +155,7 @@ class TinyGsmSim800 : public TinyGsmModem<TinyGsmSim800>, | |||||||
|  protected: |  protected: | ||||||
|   bool initImpl(const char* pin = NULL) { |   bool initImpl(const char* pin = NULL) { | ||||||
|     DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION); |     DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION); | ||||||
|  |     DBG(GF("### TinyGSM Compiled Module:  TinyGsmClientSIM800")); | ||||||
|  |  | ||||||
|     if (!testAT()) { return false; } |     if (!testAT()) { return false; } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -218,6 +218,7 @@ class TinyGsmSaraR4 : public TinyGsmModem<TinyGsmSaraR4>, | |||||||
|  protected: |  protected: | ||||||
|   bool initImpl(const char* pin = NULL) { |   bool initImpl(const char* pin = NULL) { | ||||||
|     DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION); |     DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION); | ||||||
|  |     DBG(GF("### TinyGSM Compiled Module:  TinyGsmClientSaraR4")); | ||||||
|  |  | ||||||
|     if (!testAT()) { return false; } |     if (!testAT()) { return false; } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -192,6 +192,7 @@ class TinyGsmSequansMonarch | |||||||
|  protected: |  protected: | ||||||
|   bool initImpl(const char* pin = NULL) { |   bool initImpl(const char* pin = NULL) { | ||||||
|     DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION); |     DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION); | ||||||
|  |     DBG(GF("### TinyGSM Compiled Module:  TinyGsmClientSequansMonarch")); | ||||||
|  |  | ||||||
|     if (!testAT()) { return false; } |     if (!testAT()) { return false; } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -174,6 +174,7 @@ class TinyGsmUBLOX : public TinyGsmModem<TinyGsmUBLOX>, | |||||||
|  protected: |  protected: | ||||||
|   bool initImpl(const char* pin = NULL) { |   bool initImpl(const char* pin = NULL) { | ||||||
|     DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION); |     DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION); | ||||||
|  |     DBG(GF("### TinyGSM Compiled Module:  TinyGsmClientUBLOX")); | ||||||
|  |  | ||||||
|     if (!testAT()) { return false; } |     if (!testAT()) { return false; } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -322,6 +322,7 @@ class TinyGsmXBee : public TinyGsmModem<TinyGsmXBee>, | |||||||
|  |  | ||||||
|   bool initImpl(const char* pin = NULL) { |   bool initImpl(const char* pin = NULL) { | ||||||
|     DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION); |     DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION); | ||||||
|  |     DBG(GF("### TinyGSM Compiled Module:  TinyGsmClientXBee")); | ||||||
|  |  | ||||||
|     if (resetPin >= 0) { |     if (resetPin >= 0) { | ||||||
|       pinMode(resetPin, OUTPUT); |       pinMode(resetPin, OUTPUT); | ||||||
|   | |||||||
| @@ -10,7 +10,7 @@ | |||||||
| #define SRC_TINYGSMCOMMON_H_ | #define SRC_TINYGSMCOMMON_H_ | ||||||
|  |  | ||||||
| // The current library version number | // The current library version number | ||||||
| #define TINYGSM_VERSION "0.10.0" | #define TINYGSM_VERSION "0.10.1" | ||||||
|  |  | ||||||
| #if defined(SPARK) || defined(PARTICLE) | #if defined(SPARK) || defined(PARTICLE) | ||||||
| #include "Particle.h" | #include "Particle.h" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user