mirror of
https://github.com/vshymanskyy/TinyGSM.git
synced 2026-05-15 04:06:10 +00:00
Add support for Quectel BG96 (SSL/TLS/HTTPS/GPS/GNSS)
This commit is contained in:
2
.github/ISSUE_TEMPLATE.md
vendored
2
.github/ISSUE_TEMPLATE.md
vendored
@@ -25,7 +25,7 @@ with your board before submitting any issues.
|
||||
|
||||
Modem: <!-- Brand, model, variant, firmware version, ie Quectel BG96 Revision: BG96MAR02A07M1G -->
|
||||
Main processor board: <!-- Uno, Zero, ESP32, Particle, etc -->
|
||||
TinyGSM version: <!-- always try to use the latest (0.11.7) -->
|
||||
TinyGSM version: <!-- always try to use the latest (0.11.8) -->
|
||||
Code: <!-- Example name or paste in your code -->
|
||||
|
||||
### Scenario, steps to reproduce
|
||||
|
||||
@@ -78,6 +78,7 @@ TinyGSM also pulls data gently from the modem (whenever possible), so it can ope
|
||||
- u-blox LTE-M/NB-IoT Modems (SARA-R4xx, SARA-N4xx, _but NOT SARA-N2xx_)
|
||||
- Sequans Monarch LTE Cat M1/NB1 (VZM20Q)
|
||||
- Quectel BG96
|
||||
- Quectel BG95
|
||||
- Quectel M95
|
||||
- Quectel MC60 ***(alpha)***
|
||||
|
||||
@@ -110,6 +111,7 @@ Watch this repo for new updates! And of course, contributions are welcome ;)
|
||||
- ESP8266 - 5
|
||||
- Neoway M590 - 2
|
||||
- Quectel BG96 - 12
|
||||
- Quectel BG95 - 12
|
||||
- Quectel M95 - 6
|
||||
- Quectel MC60/MC60E - 6
|
||||
- Sequans Monarch - 6
|
||||
@@ -125,10 +127,10 @@ Watch this repo for new updates! And of course, contributions are welcome ;)
|
||||
- Not yet supported on any module, though it may be some day
|
||||
- SSL/TLS (HTTPS)
|
||||
- Supported on:
|
||||
- SIM800, SIM7000, u-Blox, XBee _cellular_, ESP8266, and Sequans Monarch
|
||||
- SIM800, SIM7000, u-Blox, XBee _cellular_, ESP8266, Sequans Monarch and Quectel BG95
|
||||
- Note: **only some device models or firmware revisions have this feature** (SIM8xx R14.18, A7, etc.)
|
||||
- Not yet supported on:
|
||||
- Quectel modems, SIM 5360/5320/7100, SIM 7500/7600/7800
|
||||
- Quectel BG96, SIM 5360/5320/7100, SIM 7500/7600/7800
|
||||
- Not possible on:
|
||||
- SIM900, A6/A7, Neoway M590, XBee _WiFi_
|
||||
- Like TCP, most modules support simultaneous connections
|
||||
@@ -158,7 +160,7 @@ Watch this repo for new updates! And of course, contributions are welcome ;)
|
||||
|
||||
**Location**
|
||||
- GPS/GNSS
|
||||
- SIM808, SIM7000, SIM7500/7600/7800, BG96, u-blox
|
||||
- SIM808, SIM7000, SIM7500/7600/7800, BG96, BG95, u-blox
|
||||
- NOTE: u-blox chips do _NOT_ have embedded GPS - this functionality only works if a secondary GPS is connected to primary cellular chip over I2C
|
||||
- GSM location service
|
||||
- SIM800, SIM7000, Quectel, u-blox
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"name": "TinyGSM",
|
||||
"version": "0.11.7",
|
||||
"version": "0.11.8",
|
||||
"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, BG95, ublox, Quectel, SIMCOM, AI Thinker, LTE, LTE-M",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Volodymyr Shymanskyy",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name=TinyGSM
|
||||
version=0.11.7
|
||||
version=0.11.8
|
||||
author=Volodymyr Shymanskyy
|
||||
maintainer=Volodymyr Shymanskyy
|
||||
sentence=A small Arduino library for GPRS modules, that just works.
|
||||
|
||||
@@ -77,6 +77,12 @@ typedef TinyGsmM95::GsmClientM95 TinyGsmClient;
|
||||
#include "TinyGsmClientBG96.h"
|
||||
typedef TinyGsmBG96 TinyGsm;
|
||||
typedef TinyGsmBG96::GsmClientBG96 TinyGsmClient;
|
||||
typedef TinyGsmBG96::GsmClientSecureBG96 TinyGsmClientSecure;
|
||||
|
||||
#elif defined(TINY_GSM_MODEM_SECURE_BG95)
|
||||
#include "TinyGsmClientSecureBG95.h"
|
||||
typedef TinyGsmBG95 TinyGsm;
|
||||
typedef TinyGsmBG95::GsmClientSecureBG95 TinyGsmClientSecure;
|
||||
|
||||
#elif defined(TINY_GSM_MODEM_A6) || defined(TINY_GSM_MODEM_A7)
|
||||
#include "TinyGsmClientA6.h"
|
||||
|
||||
1177
src/TinyGsmClientSecureBG95.h
Normal file
1177
src/TinyGsmClientSecureBG95.h
Normal file
File diff suppressed because it is too large
Load Diff
@@ -10,7 +10,7 @@
|
||||
#define SRC_TINYGSMCOMMON_H_
|
||||
|
||||
// The current library version number
|
||||
#define TINYGSM_VERSION "0.11.7"
|
||||
#define TINYGSM_VERSION "0.11.8"
|
||||
|
||||
#if defined(SPARK) || defined(PARTICLE)
|
||||
#include "Particle.h"
|
||||
|
||||
@@ -29,6 +29,11 @@ class TinyGsmTime {
|
||||
return thisModem().getNetworkTimeImpl(year, month, day, hour, minute,
|
||||
second, timezone);
|
||||
}
|
||||
bool getNetworkUTCTime(int* year, int* month, int* day, int* hour, int* minute,
|
||||
int* second, float* timezone) {
|
||||
return thisModem().getNetworkUTCTimeImpl(year, month, day, hour, minute,
|
||||
second, timezone);
|
||||
}
|
||||
|
||||
/*
|
||||
* CRTP Helper
|
||||
|
||||
Reference in New Issue
Block a user