Commit Graph

523 Commits

Author SHA1 Message Date
Sara Damiano
b381fa5c74 Version Bump
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2021-11-24 17:21:52 -05:00
Sara Damiano
f8c8e2c432 Added support for commands without _CUR for ESP
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2021-11-24 14:02:11 -05:00
Sara Damiano
47793e0ad9 Fix #578
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2021-11-24 10:34:53 -05:00
Sara Damiano
cce063cf88 Format after PR
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2021-11-24 10:34:29 -05:00
Sara Damiano
feb3a22629 Merge pull request #597 from wifixcort/master
Update TinyGsmClientSIM800.h
2021-11-24 10:30:52 -05:00
fco.rivas
2f0b7978be Update TinyGsmClientSIM800.h
implementation of audio capabilities
2021-10-14 16:23:50 -06:00
Lukas_Skywalker
b3fc9eedae Add phone call implementation for SIM7600 2021-10-09 21:02:16 +02:00
Sara Damiano
09e679e943 Merge pull request #554 from IoTThinks/IoTThinks-patch-implement-peek
To implement peek()
2021-07-06 11:39:12 -04:00
Ivo Smits
a092bfa636 Fix incorrect memory access in Sequans Monarch code
The mux value is corrected if it is out of the supported range, but the uncorrected value was used to store the connection object. This caused subsequent dereferences of the corrected mux index to access incorrect data or dereference a null pointer.
2021-06-17 22:40:22 +02:00
IoTThinks.com
4d722a34f2 To implement peek()
To implement peek() as in https://github.com/vshymanskyy/TinyGSM/issues/396
2021-06-15 09:53:01 +07:00
Sara Damiano
a5a2ce3453 Correctly bump version, modify workflow
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2021-05-24 14:51:17 -04:00
Sara Damiano
8b25d8c1d9 Merge pull request #530 from Orange-OpenSource/fix-monarch
TinyGsmClientSequansMonarch.h: use data mode
2021-05-24 14:18:29 -04:00
Sara Damiano
c9ebf60e3c Fix compiler warnings
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2021-05-19 11:31:43 -04:00
Francesco Stefanni
a0d246be80 Added ublox method to set technology
Added missing TinyGSM.h
2021-05-18 08:13:33 +02:00
Sara Damiano
6e10a3a009 Fix crash on SIM7000SSL
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2021-05-17 12:23:29 -04:00
Sara Damiano
60a88ef89e Fix BG96 unused argument
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2021-05-14 17:24:42 -04:00
Sara Damiano
4f9d284030 remove sapbr commands from 7000SSL
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2021-05-14 14:17:37 -04:00
Sara Damiano
4dc0fa2abd add some missing tags
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2021-05-14 14:14:38 -04:00
Sara Damiano
07b402721d Add gsm location to 70xx series.
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2021-05-14 11:44:21 -04:00
Sara Damiano
6e64e867ec Got 7000SSL and 7080 sort of working again
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2021-05-14 10:37:57 -04:00
Sara Damiano
b5c5a62b2d Change 7000SSL to check available/state for all mux
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2021-05-11 17:18:06 -04:00
Sara Damiano
644085b30e Merge branch 'master' of https://github.com/vshymanskyy/TinyGSM into v_master 2021-05-11 17:13:23 -04:00
Sara Damiano
0879deab70 Split SIM7000, add SIM7070, NTP
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2021-05-11 16:40:32 -04:00
unknown
243afe7245 fix bug for ussd answers over 127 chars 2021-05-05 16:53:19 +03:00
Sara Damiano
93fc96d9ec sim7000 syntax fix
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2021-04-29 15:43:21 -04:00
Sara Damiano
9128baeb27 xbee fixes
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2021-04-29 15:20:51 -04:00
Sara Damiano
459106a854 re-write some of xbee to minimize flash writes
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2021-04-29 14:32:41 -04:00
Sara Damiano
68a03b3ba0 Add (unused) argument for XBee modem get connected
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2021-04-29 12:37:11 -04:00
Sara Damiano
9af0acc18b Fix IP from string in MC60
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2021-04-29 12:14:33 -04:00
Sara Damiano
4fc428c945 Fix #511, ignore response to set timezone in ublox
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2021-04-28 15:30:58 -04:00
Fabrice Fontaine
38a712500e TinyGsmClientSequansMonarch.h: use data mode
Use data mode instead of text mode to be able to send any content such
as raw binary. This will allow us to use TinyGSM with ArduinoBearSSL and
ArduinoMqtt.

It should be noted that for an unclear reason GSM_NL must be set to '\n'
instead of '\r\n' to avoid "CME ERROR: operation not supported" in this
mode with the Monarch GMS01Q.

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
2021-04-28 21:28:48 +02:00
Sara Damiano
b22aa854d6 Merge branch 'master' of https://github.com/vshymanskyy/TinyGSM into v_master 2021-04-28 15:27:22 -04:00
Sara Damiano
a9f723130c Fix #508, GPS on 7600
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2021-04-28 15:27:08 -04:00
Sara Damiano
772f33636e Merge pull request #503 from Orange-OpenSource/fix-sequans-monarch
src/TinyGsmModem.tpp: fix registration state
2021-04-28 15:17:41 -04:00
Sara Damiano
75104a49c3 Call modem get connected for modems w/o buffer
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2021-04-28 13:53:47 -04:00
Sara Damiano
51f4da58e5 Merge pull request #520 from I-Connect/patch-1
Added NTPServerSync() and related methods to Sim7000 implementation
2021-04-28 13:08:59 -04:00
Bascy
750108ee09 Added NTPServerSync() and related methoeds 2021-04-14 00:52:06 +02:00
Francesco Stefanni
c1d6abaff7 Supported SNI (fix by kyriazis) 2021-04-07 11:24:39 +02:00
Francesco Stefanni
7f19c69554 sim7000: added fix on read 2021-03-18 08:06:14 +01:00
Francesco Stefanni
28f7e7b298 Some improvements 2021-03-17 15:19:04 +01:00
Francesco Stefanni
f0abeef22d Supported root certificates 2021-03-17 15:17:13 +01:00
Francesco Stefanni
b8a54d37e0 Some improvements to sim7000 2021-03-17 14:27:43 +01:00
Francesco Stefanni
57895868f2 Added missing waitResponse() 2021-03-17 08:36:09 +01:00
Francesco Stefanni
57514b7c4d Supported factory reset for sim7000 2021-03-12 15:27:57 +01:00
Francesco Stefanni
7cf19beb44 A deep debug of sim7000 2021-03-12 15:26:35 +01:00
Francesco Stefanni
0be9622e9c Removed some debug print 2021-03-12 10:38:47 +01:00
Francesco Stefanni
81f583a80f SIM7000: TLS + some refinements 2021-03-12 10:11:58 +01:00
Francesco Stefanni
f20293905f SIM7000: added methods to get some connection preferences, plus the
current connection technology
2021-03-10 08:55:38 +01:00
Fabrice Fontaine
1291a4407d src/TinyGsmModem.tpp: fix registration state
As specified in the ETSI standards (e.g. ETSI TS 127 001), CREG and
CEREG responses can contain optional parameters:

+CEREG:         <n>,<stat>[,<tac>,<ci>[,<AcT>]]

For example, the Monarch GMS01Q returns the following response:

+CEREG: 2,1,"3982","00DF3B03",7

This results in TinyGSM setting state as '7' instead of 1 preventing
any connection.

Fix this by picking the next integer after the first ',' which will
always works (with or without optional parameters)

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
2021-03-05 18:59:29 +01:00
Fabrice Fontaine
eb9c1f7786 src/TinyGsmClientSequansMonarch.h: fix connection handling
There is an issue in the handling of +SQNSS answer: the
sock->sock_connected state will always be set to the state of the last
socket. This will prevent any communication.

Fix this issue by checking that muxNo is equal to mux before updating.

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
2021-03-05 16:47:35 +01:00