Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

Commit

Permalink
v.1.0.5
Browse files Browse the repository at this point in the history
### Releases v1.0.5

1. Add more modem supports.
  • Loading branch information
khoih-prog authored Mar 21, 2020
1 parent f62ac3d commit 7086b87
Show file tree
Hide file tree
Showing 13 changed files with 224 additions and 14 deletions.
70 changes: 68 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,45 @@

[![arduino-library-badge](https://www.ardu-badge.com/badge/BlynkGSM_Manager.svg?)](https://www.ardu-badge.com/BlynkGSM_Manager)

### Releases v1.0.5

1. Add more modem supports. Thanks to new [TinyGSM library v0.10.1+](https://github.com/vshymanskyy/TinyGSM).

## Supported modems

- SIMCom SIM800 series (SIM800A, SIM800C, SIM800L, SIM800H, SIM808, SIM868)
- SIMCom SIM900 series (SIM900A, SIM900D, SIM908, SIM968)
- SIMCom WCDMA/HSPA/HSPA+ Modules (SIM5360, SIM5320, SIM5300E, SIM5300EA)
- SIMCom LTE Modules (SIM7100E, SIM7500E, SIM7500A, SIM7600C, SIM7600E)
- SIMCom SIM7000E CAT-M1/NB-IoT Module
- AI-Thinker A6, A6C, A7, A20
- ESP8266 (AT commands interface, similar to GSM modems)
- Digi XBee WiFi and Cellular (using XBee command mode)
- 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 (VZM20Q)
- Quectel BG96
- Quectel M95
- Quectel MC60 ***(alpha)***

### Supported boards/modules
- Arduino MKR GSM 1400
- GPRSbee
- Microduino GSM
- Adafruit FONA (Mini Cellular GSM Breakout)
- Adafruit FONA 800/808 Shield
- Industruino GSM
- RAK WisLTE ***(alpha)***
- ... other modules, based on supported modems. Some boards require [**special configuration**](https://github.com/vshymanskyy/TinyGSM/wiki/Board-configuration).

More modems may be supported later:
- [ ] Quectel M10, UG95
- [ ] SIMCom SIM7020
- [ ] Telit GL865
- [ ] ZTE MG2639
- [ ] Hi-Link HLK-RM04

### Releases v1.0.4

1. Enhance Config Portal GUI.
Expand All @@ -14,11 +53,11 @@ By design, Blynk user can run ESP32/ESP8266 boards with either WiFi or GSM/GPRS
- You can update GSM Modem and Blynk Credentials any time you need to change via Configure Portal. Data are saved in SPIFFS or configurable locations in EEPROM.

## Prerequisite
1. [`Arduino IDE 1.8.10 or later` for Arduino](https://www.arduino.cc/en/Main/Software)
1. [`Arduino IDE 1.8.12 or later` for Arduino](https://www.arduino.cc/en/Main/Software)
2. [`ESP32 core 1.0.4 or later`](https://github.com/espressif/arduino-esp32/releases) for ESP32 (Use Arduino Board Manager)
3. [`ESP8266 core 2.6.3 or later`](https://github.com/esp8266/Arduino/releases) for ES82662 (Use Arduino Board Manager)
3. [`Blynk library 0.6.1 or later`](https://github.com/blynkkk/blynk-library/releases)
4. [`TinyGSM library 0.7.9 or later`](https://github.com/vshymanskyy/TinyGSM)
4. [`TinyGSM library 0.10.1 or later`](https://github.com/vshymanskyy/TinyGSM)

#### Use Arduino Library Manager

Expand Down Expand Up @@ -139,6 +178,29 @@ Please take a look at examples, as well.
// Select your modem:
#define TINY_GSM_MODEM_SIM800
//#define TINY_GSM_MODEM_SIM808
//#define TINY_GSM_MODEM_SIM868
//#define TINY_GSM_MODEM_SIM900
//#define TINY_GSM_MODEM_SIM5300
//#define TINY_GSM_MODEM_SIM5320
//#define TINY_GSM_MODEM_SIM5360
//#define TINY_GSM_MODEM_SIM7000
//#define TINY_GSM_MODEM_SIM7100
//#define TINY_GSM_MODEM_SIM7500
//#define TINY_GSM_MODEM_SIM7600
//#define TINY_GSM_MODEM_SIM7800
//#define TINY_GSM_MODEM_UBLOX
//#define TINY_GSM_MODEM_SARAR4
//#define TINY_GSM_MODEM_M95
//#define TINY_GSM_MODEM_BG96
//#define TINY_GSM_MODEM_A6
//#define TINY_GSM_MODEM_A7
//#define TINY_GSM_MODEM_M590
//#define TINY_GSM_MODEM_MC60
//#define TINY_GSM_MODEM_MC60E
//#define TINY_GSM_MODEM_XBEE
//#define TINY_GSM_MODEM_SEQUANS_MONARCH
// Increase RX buffer if needed
#define TINY_GSM_RX_BUFFER 1024
Expand Down Expand Up @@ -395,6 +457,9 @@ gprs apn = rogers-core-appl1.apn
[10738] Ready (ping: 315ms).
BGBGBGBGBGBGBGBGBGBG BGBGBGBGBGBGBGBGBGBG BGBGBGBGBGBGBGBGBGBG BGBGBGBGBGBGBGBGBGBG
```
### Releases v1.0.5

1. Add more modem supports. Thanks to new [TinyGSM library v0.10.1+](https://github.com/vshymanskyy/TinyGSM).

### Releases v1.0.4

Expand Down Expand Up @@ -428,6 +493,7 @@ BGBGBGBGBGBGBGBGBGBG BGBGBGBGBGBGBGBGBGBG BGBGBGBGBGBGBGBGBGBG BGBGBGBGBGBGBGBGB
### Contributions and thanks

1. Thanks to [Mike Kranidis](https://community.blynk.cc/u/mikekgr) and [Mike Kranidis @ GitHub](https://github.com/mikekgr) for initial testing the library and giving reasons, advices to start this library.
2. Thanks to [Volodymyr Shymanskyy](https://github.com/vshymanskyy) for the [TinyGSM library](https://github.com/vshymanskyy/TinyGSM) this library depends on.

## Contributing

Expand Down
27 changes: 26 additions & 1 deletion examples/ESP32_GSM/ESP32_GSM.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Forked from Blynk library v0.6.1 https://github.com/blynkkk/blynk-library/releases
Built by Khoi Hoang https://github.com/khoih-prog/BlynkGSM_ESPManager
Licensed under MIT license
Version: 1.0.4
Version: 1.0.5
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -15,6 +15,7 @@
1.0.2 K Hoang 08/02/2020 Enable GSM/GPRS and WiFi running simultaneously
1.0.3 K Hoang 18/02/2020 Add checksum. Add clearConfigData()
1.0.4 K Hoang 14/03/2020 Enhance Config Portal GUI. Reduce code size.
1.0.5 K Hoang 20/03/2020 Add more modem supports. See the list in README.md
*****************************************************************************************************************************/

#ifndef ESP32
Expand All @@ -37,6 +38,30 @@

// Select your modem:
#define TINY_GSM_MODEM_SIM800
//#define TINY_GSM_MODEM_SIM808
//#define TINY_GSM_MODEM_SIM868
//#define TINY_GSM_MODEM_SIM900
//#define TINY_GSM_MODEM_SIM5300
//#define TINY_GSM_MODEM_SIM5320
//#define TINY_GSM_MODEM_SIM5360
//#define TINY_GSM_MODEM_SIM7000
//#define TINY_GSM_MODEM_SIM7100
//#define TINY_GSM_MODEM_SIM7500
//#define TINY_GSM_MODEM_SIM7600
//#define TINY_GSM_MODEM_SIM7800
//#define TINY_GSM_MODEM_UBLOX
//#define TINY_GSM_MODEM_SARAR4
//#define TINY_GSM_MODEM_M95
//#define TINY_GSM_MODEM_BG96
//#define TINY_GSM_MODEM_A6
//#define TINY_GSM_MODEM_A7
//#define TINY_GSM_MODEM_M590
//#define TINY_GSM_MODEM_MC60
//#define TINY_GSM_MODEM_MC60E
//#define TINY_GSM_MODEM_XBEE
//#define TINY_GSM_MODEM_SEQUANS_MONARCH


// Increase RX buffer if needed
#define TINY_GSM_RX_BUFFER 1024

Expand Down
26 changes: 25 additions & 1 deletion examples/ESP8266_GSM/ESP8266_GSM.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Forked from Blynk library v0.6.1 https://github.com/blynkkk/blynk-library/releases
Built by Khoi Hoang https://github.com/khoih-prog/BlynkGSM_ESPManager
Licensed under MIT license
Version: 1.0.4
Version: 1.0.5
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -15,6 +15,7 @@
1.0.2 K Hoang 08/02/2020 Enable GSM/GPRS and WiFi running simultaneously
1.0.3 K Hoang 18/02/2020 Add checksum. Add clearConfigData()
1.0.4 K Hoang 14/03/2020 Enhance Config Portal GUI. Reduce code size.
1.0.5 K Hoang 20/03/2020 Add more modem supports. See the list in README.md
*****************************************************************************************************************************/

#ifndef ESP8266
Expand All @@ -36,6 +37,29 @@

// Select your modem:
#define TINY_GSM_MODEM_SIM800
//#define TINY_GSM_MODEM_SIM808
//#define TINY_GSM_MODEM_SIM868
//#define TINY_GSM_MODEM_SIM900
//#define TINY_GSM_MODEM_SIM5300
//#define TINY_GSM_MODEM_SIM5320
//#define TINY_GSM_MODEM_SIM5360
//#define TINY_GSM_MODEM_SIM7000
//#define TINY_GSM_MODEM_SIM7100
//#define TINY_GSM_MODEM_SIM7500
//#define TINY_GSM_MODEM_SIM7600
//#define TINY_GSM_MODEM_SIM7800
//#define TINY_GSM_MODEM_UBLOX
//#define TINY_GSM_MODEM_SARAR4
//#define TINY_GSM_MODEM_M95
//#define TINY_GSM_MODEM_BG96
//#define TINY_GSM_MODEM_A6
//#define TINY_GSM_MODEM_A7
//#define TINY_GSM_MODEM_M590
//#define TINY_GSM_MODEM_MC60
//#define TINY_GSM_MODEM_MC60E
//#define TINY_GSM_MODEM_XBEE
//#define TINY_GSM_MODEM_SEQUANS_MONARCH

// Increase RX buffer if needed
#define TINY_GSM_RX_BUFFER 1024

Expand Down
26 changes: 25 additions & 1 deletion examples/TTGO_TCALL_GSM/TTGO_TCALL_GSM.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Forked from Blynk library v0.6.1 https://github.com/blynkkk/blynk-library/releases
Built by Khoi Hoang https://github.com/khoih-prog/BlynkGSM_ESPManager
Licensed under MIT license
Version: 1.0.4
Version: 1.0.5
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -15,6 +15,7 @@
1.0.2 K Hoang 08/02/2020 Enable GSM/GPRS and WiFi running simultaneously
1.0.3 K Hoang 18/02/2020 Add checksum. Add clearConfigData()
1.0.4 K Hoang 14/03/2020 Enhance Config Portal GUI. Reduce code size.
1.0.5 K Hoang 20/03/2020 Add more modem supports. See the list in README.md
*****************************************************************************************************************************/

#ifndef ESP32
Expand All @@ -35,6 +36,29 @@

// Select your modem:
#define TINY_GSM_MODEM_SIM800
//#define TINY_GSM_MODEM_SIM808
//#define TINY_GSM_MODEM_SIM868
//#define TINY_GSM_MODEM_SIM900
//#define TINY_GSM_MODEM_SIM5300
//#define TINY_GSM_MODEM_SIM5320
//#define TINY_GSM_MODEM_SIM5360
//#define TINY_GSM_MODEM_SIM7000
//#define TINY_GSM_MODEM_SIM7100
//#define TINY_GSM_MODEM_SIM7500
//#define TINY_GSM_MODEM_SIM7600
//#define TINY_GSM_MODEM_SIM7800
//#define TINY_GSM_MODEM_UBLOX
//#define TINY_GSM_MODEM_SARAR4
//#define TINY_GSM_MODEM_M95
//#define TINY_GSM_MODEM_BG96
//#define TINY_GSM_MODEM_A6
//#define TINY_GSM_MODEM_A7
//#define TINY_GSM_MODEM_M590
//#define TINY_GSM_MODEM_MC60
//#define TINY_GSM_MODEM_MC60E
//#define TINY_GSM_MODEM_XBEE
//#define TINY_GSM_MODEM_SEQUANS_MONARCH

// Increase RX buffer if needed
#define TINY_GSM_RX_BUFFER 1024

Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "BlynkGSM_Manager",
"version": "1.0.4",
"version": "1.0.5",
"description": "Build a smartphone app for your project in minutes. Blynk allows creating IoT solutions easily. It supports WiFi, BLE, Bluetooth, Ethernet, GSM, USB, Serial. Works with many boards like ESP8266, ESP32, Arduino UNO, Nano, Due, Mega, Zero, MKR100, Yun, Raspberry Pi, Particle, Energia, ARM mbed, Intel Edison/Galileo/Joule, BBC micro:bit, DFRobot, RedBearLab, Microduino, LinkIt ONE ...",
"keywords": "sensors, control, device, smartphone, mobile, app, web, cloud, communication, protocol, iot, m2m, wifi, ble, bluetooth, ethernet, usb, serial, gsm, gprs, 3g, data, esp8266, http",
"authors":
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=BlynkGSM_Manager
version=1.0.4
version=1.0.5
author=Khoi Hoang
license=MIT
maintainer=Khoi Hoang <[email protected]>
Expand Down
35 changes: 34 additions & 1 deletion src/Adapters/BlynkGsm_ESP32M.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Forked from Blynk library v0.6.1 https://github.com/blynkkk/blynk-library/releases
Built by Khoi Hoang https://github.com/khoih-prog/BlynkGSM_ESPManager
Licensed under MIT license
Version: 1.0.4
Version: 1.0.5
Original Blynk Library author:
@file BlynkSimpleESP8266.h
Expand All @@ -23,6 +23,7 @@
1.0.2 K Hoang 08/02/2020 Enable GSM/GPRS and WiFi running simultaneously
1.0.3 K Hoang 18/02/2020 Add checksum. Add clearConfigData()
1.0.4 K Hoang 14/03/2020 Enhance Config Portal GUI. Reduce code size.
1.0.5 K Hoang 20/03/2020 Add more modem supports. See the list in README.md
*****************************************************************************************************************************/
#ifndef ESP32
#error This code is designed to run on ESP32, not ESP8266 nor Arduino AVR platform! Please check your Tools->Board setting.
Expand All @@ -38,10 +39,34 @@
#ifndef BLYNK_INFO_CONNECTION
#if defined(TINY_GSM_MODEM_SIM800)
#define BLYNK_INFO_CONNECTION "SIM800"
#elif defined(TINY_GSM_MODEM_SIM808)
#define BLYNK_INFO_CONNECTION "SIM808"
#elif defined(TINY_GSM_MODEM_SIM868)
#define BLYNK_INFO_CONNECTION "SIM868"
#elif defined(TINY_GSM_MODEM_SIM900)
#define BLYNK_INFO_CONNECTION "SIM900"
#elif defined(TINY_GSM_MODEM_SIM5300)
#define BLYNK_INFO_CONNECTION "SIM5300"
#elif defined(TINY_GSM_MODEM_SIM5320)
#define BLYNK_INFO_CONNECTION "SIM5320"
#elif defined(TINY_GSM_MODEM_SIM5360)
#define BLYNK_INFO_CONNECTION "SIM5360"
#elif defined(TINY_GSM_MODEM_SIM7000)
#define BLYNK_INFO_CONNECTION "SIM7000"
#elif defined(TINY_GSM_MODEM_SIM7100)
#define BLYNK_INFO_CONNECTION "SIM7100"
#elif defined(TINY_GSM_MODEM_SIM7500)
#define BLYNK_INFO_CONNECTION "SIM7500"
#elif defined(TINY_GSM_MODEM_SIM7600)
#define BLYNK_INFO_CONNECTION "SIM7600"
#elif defined(TINY_GSM_MODEM_SIM7800)
#define BLYNK_INFO_CONNECTION "SIM7800"
#elif defined(TINY_GSM_MODEM_UBLOX)
#define BLYNK_INFO_CONNECTION "UBLOX"
#elif defined(TINY_GSM_MODEM_SARAR4)
#define BLYNK_INFO_CONNECTION "SARAR4"
#elif defined(TINY_GSM_MODEM_M95)
#define BLYNK_INFO_CONNECTION "M95"
#elif defined(TINY_GSM_MODEM_BG96)
#define BLYNK_INFO_CONNECTION "BG96"
#elif defined(TINY_GSM_MODEM_A6)
Expand All @@ -50,8 +75,16 @@
#define BLYNK_INFO_CONNECTION "A7"
#elif defined(TINY_GSM_MODEM_M590)
#define BLYNK_INFO_CONNECTION "M590"
#elif defined(TINY_GSM_MODEM_MC60)
#define BLYNK_INFO_CONNECTION "MC60"
#elif defined(TINY_GSM_MODEM_MC60)
#define BLYNK_INFO_CONNECTION "MC60"
#elif defined(TINY_GSM_MODEM_MC60E)
#define BLYNK_INFO_CONNECTION "MC60E"
#elif defined(TINY_GSM_MODEM_XBEE)
#define BLYNK_INFO_CONNECTION "XBEE"
#elif defined(TINY_GSM_MODEM_SEQUANS_MONARCH)
#define BLYNK_INFO_CONNECTION "SEQUANS_MONARCH"
#else
#define BLYNK_INFO_CONNECTION "TinyGSM"
#endif
Expand Down
Loading

0 comments on commit 7086b87

Please sign in to comment.