ESP8266 (AT commands interface, similar to GSM modems)
Digi XBee WiFi and Cellular (using XBee command mode)
Neoway M590, M590E
Sequans Monarch LTE Cat M1/NB1 (VZM20Q)
Quectel BG96
Quectel M95
Quectel MC60
Quectel M10, UG95
SIMCom SIM7020, SIM7020E
Telit GL865
ZTE MG2639
Hi-Link HLK-RM04
WIS800C, compatible to SIM900A, SIM800L, SIM800C
Releases v1.2.4
Initial public release to add support to many boards / modules besides MKRGSM 1400 / SARA U201
Currently Supported Boards
nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense, Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, NINA_B302_ublox, NINA_B112_ublox, etc.. Currently SSL WebClient is not working.
Adafruit SAMD51 (M4): Metro M4, Grand Central M4, ItsyBitsy M4, Feather M4 Express, Trellis M4, Metro M4 AirLift Lite, MONSTER M4SK Express, Hallowing M4, etc.
Seeeduino: WIO Terminal, Grove UI Wireless
Teensy (4.1, 4.0, 3.6, 3.5, 3,2, 3.1, 3.0, LC)
ESP32 including ESP32-S2 (ESP32-S2 Saola, AI-Thinker ESP-12K, etc.)
ESP8266.
STM32F/L/H/G/WB/MP1 boards (with 32+K Flash)
Arduino Mega, Leonardo, etc. UNO, Nano to use Hardware Serial port
Hi, has there been any checking into the SMS functionality? I did a direct swap out of my working code that uses MKRGSM.h with the new lib (I'm using a MKRGSM1400, so the defaults in defines.h work (UBLOX) and ran the code. (a small change was highlighted in compile required with gsmAccess.begin() to include baudRateSerialGSM, PINNUMBER. (using Hologram SIM, PINNUMBER is null). SENDS from the MKR are working. Receives not so.
Using 115200 or 9600 baud rate, no change. (nothing received on SMS). I am using Holograms messaging to send SMS characters (1 at a time) for testing.
At baudrate of 115200 SMS available wasnt receiving anything. At 9600, nothing either.
I swapped back to just using MKRGSM.h, with 9600 baudrate on Serial (but no setting for gsmAccess.begin(), and SMS is working both ways (all characters previously sent via hologram were received) so its not a hardware / antenna issue.
I didnt see any configuration requirements in the defines.h file for SMS. Maybe I missed something needed for SMS?
(I had to uncomment out the GSM_RESETN/GSM_DTR to get gprs to connect btw).
hologram sim.
GPRS connects - sends - but not receiving
code snippets.
(in defines.h, these lines uncommented)
// Optional usage of GSM_RESETN and GSM_DTR. Need to be here only when true. Default is false
#define UBLOX_USING_RESET_PIN true
#define UBLOX_USING_LOW_POWER_MODE true
in main code using 9600 or 115200, no change to sms receives
#include "defines.h" // new 03.26 GSM info. Used new GSM library. Dont include MKRGSM
// also has different syntax for gsmAccess.begin (see connectGSM)
unsigned long baudRateSerialGSM = 9600;
// Include the GSM library
// #include <MKRGSM.h>
..
..
connect works here.
bool connectGSM() {
// 02.17 copied from github and modified to fit.
// https://github.com/arduino-libraries/MKRGSM/issues/66
// re-call of this will cause arduino mqtt to disconnect.
gprs.setTimeout(180000);
gsmAccess.setTimeout(180000);
boolean connected = false;
while (!connected) {
if ((gsmAccess.begin(baudRateSerialGSM, PINNUMBER) == GSM_READY) &&
// if ((gsmAccess.begin() == GSM_READY) &&
(gprs.attachGPRS(GPRS_APN, GPRS_LOGIN, GPRS_PASSWORD) == GPRS_READY)) {
connected = true;
}
else {
delay(1000);
}
}
return connected;
}
Thanks for testing the new library and posting the bug.
I'd appreciate it if you can repost this on GSM_Generic library Issues so that it's easier to follow up and more suitable. If not possible, please inform so that I'll copy and create the issue myself.