Add QIMODE to M95

This commit is contained in:
Sara Damiano
2019-08-29 13:36:32 -04:00
parent a55dbaa7db
commit 1ddbfb99dd
5 changed files with 10 additions and 4 deletions

View File

@@ -23,7 +23,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.9) -->
TinyGSM version: <!-- always try to use the latest (0.9.10) -->
Code: <!-- Example name or paste in your code -->
### Scenario, steps to reproduce

View File

@@ -1,6 +1,6 @@
{
"name": "TinyGSM",
"version": "0.9.9",
"version": "0.9.10",
"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":

View File

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

View File

@@ -352,6 +352,12 @@ TINY_GSM_MODEM_WAIT_FOR_NETWORK()
return false;
}
// Select TCP/IP transfer mode
sendAT(GF("+QIMODE=0"));
if (waitResponse() != 1) {
return false;
}
//Enable multiple TCP/IP connections
sendAT(GF("+QIMUX=1"));
if (waitResponse() != 1) {

View File

@@ -10,7 +10,7 @@
#define TinyGsmCommon_h
// The current library version number
#define TINYGSM_VERSION "0.9.9"
#define TINYGSM_VERSION "0.9.10"
#if defined(SPARK) || defined(PARTICLE)
#include "Particle.h"