Browse Source

Version bump

Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
v_master
Sara Damiano 5 years ago
parent
commit
5daa3efa82
10 changed files with 32 additions and 29 deletions
  1. +1
    -1
      .github/ISSUE_TEMPLATE.md
  2. +16
    -13
      README.md
  3. +1
    -1
      library.json
  4. +1
    -1
      library.properties
  5. +1
    -1
      src/TinyGsmClientBG96.h
  6. +1
    -1
      src/TinyGsmClientM95.h
  7. +1
    -1
      src/TinyGsmClientMC60.h
  8. +2
    -1
      src/TinyGsmCommon.h
  9. +5
    -5
      tools/Diagnostics/Diagnostics.ino
  10. +3
    -4
      tools/test_build/test_build.ino

+ 1
- 1
.github/ISSUE_TEMPLATE.md View File

@ -22,7 +22,7 @@ with your board before submitting any issues.
Main processor board: <!-- Uno, Zero, ESP32, Particle, etc -->
Modem: <!-- Brand, model, variant, firmware version -->
TinyGSM version: <!-- always try to use the latest (0.9.19) -->
TinyGSM version: <!-- always try to use the latest (0.10.0) -->
Code: <!-- Example name or paste in your code -->
### Scenario, steps to reproduce


+ 16
- 13
README.md View File

@ -47,7 +47,7 @@ TinyGSM also pulls data gently from the modem (whenever possible), so it can ope
- Neoway M590
- u-blox 2G, 3G, 4G, and LTE Cat1 Cellular Modems (many modules including LEON-G100, LISA-U2xx, SARA-G3xx, SARA-U2xx, TOBY-L2xx, LARA-R2xx, MPCI-L2xx)
- u-blox LTE-M Modems (SARA-R4xx, SARA-N4xx, _but NOT SARA-N2xx_)
- Sequans Monarch LTE Cat M1/NB1
- Sequans Monarch LTE Cat M1/NB1 (VZM20Q)
- Quectel BG96
- Quectel M95
- Quectel MC60 ***(alpha)***
@ -83,26 +83,29 @@ Watch this repo for new updates! And of course, contributions are welcome ;)
- SIM800, u-Blox, XBee _cellular_, ESP8266, and Sequans Monarch
- Note: only some device models or firmware revisions have this feature (SIM8xx R14.18, A7, etc.)
- Not yet supported on:
- Quectel modems, SIM7000, SIM5360/5320/7100/7500/7600
- Quectel modems, SIM7000, SIM5360/5320, SIM7100/7500/7600
- Not possible on:
- SIM900, A6/A7, M560, XBee _WiFi_
- SIM900, A6/A7, Neoway M590, XBee _WiFi_
**USSD**
- Sending USSD requests and decoding 7,8,16-bit responses
- Supported on:
- SIM800/SIM900, SIM7000
- Not yet supported on:
- Quectel modems, SIM5360/5320/7100/7500/7600, XBee
- All SIMCom modems, Quectel modems, most u-blox
- Not possible on:
- XBee, u-blox SARA R4/N4, ESP8266 (obviously)
**SMS**
- Only _sending_ SMS is supported, not receiving
- Supported on:
- SIM800/SIM900, SIM7000, XBee
- Not yet supported on:
- Quectel modems, SIM5360/5320/7100/7500/7600
- Supported on all cellular modules
**Voice Calls**
- Only Supported on SIM800 and A6/A7/A20
- Supported on:
- SIM800/SIM900, A6/A7, Quectel modems, u-blox
- Not yet supported on:
- SIM7000, SIM5360/5320/7100, SIM7500/7600/7800, VZM20Q (Monarch)
- Not possible on:
- XBee (any type), u-blox SARA R4/N4, Neoway M590, ESP8266 (obviously)
- Functions:
- Dial, hangup
- Receiving calls
- Incoming event (RING)
@ -111,9 +114,9 @@ Watch this repo for new updates! And of course, contributions are welcome ;)
**Location**
- GPS/GNSS
- SIM808 and SIM7000 only
- SIM808, SIM7000, SIM7500/7600/7800 only
- GSM location service
- SIM800, SIM and SIM7000 only
- SIM800, SIM7000, Quectel, u-blox
**Credits**
- Primary Authors/Contributors:


+ 1
- 1
library.json View File

@ -1,6 +1,6 @@
{
"name": "TinyGSM",
"version": "0.9.19",
"version": "0.10.0",
"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",
"authors":


+ 1
- 1
library.properties View File

@ -1,5 +1,5 @@
name=TinyGSM
version=0.9.19
version=0.10.0
author=Volodymyr Shymanskyy
maintainer=Volodymyr Shymanskyy
sentence=A small Arduino library for GPRS modules, that just works.


+ 1
- 1
src/TinyGsmClientBG96.h View File

@ -113,7 +113,7 @@ class TinyGsmBG96
public:
virtual int connect(const char *host, uint16_t port, int timeout_s) {
int connect(const char* host, uint16_t port, int timeout_s) {
stop();
TINY_GSM_YIELD();
rx.clear();


+ 1
- 1
src/TinyGsmClientM95.h View File

@ -114,7 +114,7 @@ class TinyGsmM95
public:
virtual int connect(const char *host, uint16_t port, int timeout_s) {
int connect(const char* host, uint16_t port, int timeout_s) {
stop();
TINY_GSM_YIELD();
rx.clear();


+ 1
- 1
src/TinyGsmClientMC60.h View File

@ -116,7 +116,7 @@ class TinyGsmMC60
public:
virtual int connect(const char *host, uint16_t port, int timeout_s) {
int connect(const char* host, uint16_t port, int timeout_s) {
stop();
TINY_GSM_YIELD();
rx.clear();


+ 2
- 1
src/TinyGsmCommon.h View File

@ -10,7 +10,7 @@
#define SRC_TINYGSMCOMMON_H_
// The current library version number
#define TINYGSM_VERSION "0.9.19"
#define TINYGSM_VERSION "0.10.0"
#if defined(SPARK) || defined(PARTICLE)
#include "Particle.h"
@ -118,6 +118,7 @@ uint32_t TinyGsmAutoBaud(T& SerialAT, uint32_t minimum = 9600,
}
}
}
SerialAT.begin(minimum);
return 0;
}


+ 5
- 5
tools/Diagnostics/Diagnostics.ino View File

@ -48,7 +48,7 @@
#define TINY_GSM_RX_BUFFER 1024
// See all AT commands, if wanted
//#define DUMP_AT_COMMANDS
// #define DUMP_AT_COMMANDS
// Define the serial console for debug prints, if needed
#define TINY_GSM_DEBUG SerialMon
@ -58,10 +58,10 @@
#define GSM_AUTOBAUD_MAX 115200
// Add a reception delay - may be needed for a fast processor at a slow baud rate
//#define TINY_GSM_YIELD() { delay(2); }
// #define TINY_GSM_YIELD() { delay(2); }
// Uncomment this if you want to use SSL
//#define USE_SSL
// #define USE_SSL
#define TINY_GSM_USE_GPRS true
#define TINY_GSM_USE_WIFI false
@ -236,8 +236,8 @@ void loop() {
client.find("\r\n\r\n");
// Read data
unsigned long timeout = millis();
unsigned long bytesReceived = 0;
uint32_t timeout = millis();
uint32_t bytesReceived = 0;
while (client.connected() && millis() - timeout < 10000L) {
while (client.available()) {
char c = client.read();


+ 3
- 4
tools/test_build/test_build.ino View File

@ -3,7 +3,7 @@
* DO NOT USE THIS - this is just a compilation test!
*
**************************************************************/
// #define TINY_GSM_MODEM_SIM800
#define TINY_GSM_MODEM_SIM800
#include <TinyGsmClient.h>
@ -20,13 +20,12 @@ char resource[] = "something";
void setup() {
Serial.begin(115200);
delay(3000);
modem.restart();
}
void loop() {
// Test the basic functions
modem.init();
// modem.init();
modem.begin();
modem.setBaud(115200);
modem.testAT();
@ -62,7 +61,7 @@ void loop() {
modem.gprsConnect("YourAPN", "", "");
#endif
#if defined(TINY_GSM_MODEM_HAS_WIFI)
modem.networkConnect("YourSSID", "YourPWD");
modem.networkConnect("YourSSID", "YourWiFiPass");
modem.waitForNetwork();
#endif


Loading…
Cancel
Save