Commit Graph

524 Commits

Author SHA1 Message Date
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
Sara Damiano
b0e363c536 Merge pull request #488 from adrianca88/SIM808_bt_support
First SIM808 bluetooth support commit. Template class and basic functionality
2021-02-08 13:58:14 -05:00
Adrian Cervera Andes
54c25cce23 First SIM808 support commit. Added template base class and some basic functionality 2021-01-31 12:11:11 +01:00
Adrian Cervera Andes
a51cfda25d Added pin parameter on restart() (necessary for init() with pin) 2021-01-29 15:02:35 +01:00
moto
ba778adb74 use CEREG first for BG96
I refered TinyGsmClientSaraR4.h for this patch.
2020-12-03 10:34:29 +09:00
Markus Schmidleitner
23742b4b9c disable memory optimizations on ATmega4809 2020-11-06 15:17:34 +01:00
Sara Damiano
4cfabb14eb Version bump 2020-10-30 11:10:24 -04:00
Sara Damiano
594fd3bdf9 Removed un-needed Ethernet include 2020-10-30 10:57:30 -04:00
Sara Damiano
399bc7532f Merge pull request #438 from galizki/mc60_batch_of_fixes
FIX for issue #371: MC60 is not working with this library
2020-10-30 10:43:20 -04:00
Giulio Tranchida
6b03e0c140 passage variables by reference 2020-10-03 10:51:25 +02:00
Sara Damiano
6203ebd27c Merge pull request #389 from adrianca88/set_phone_functionality
Added setPhoneFunctionality method
2020-10-01 14:04:31 -04:00
Mikhail Galitskiy
d4afe7a744 FIX for issue #371: MC60 is not working with this library 2020-09-06 17:35:42 +03:00
Sara Damiano
ad437a5a51 Version bump
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-08-07 17:13:28 -04:00
Sara Damiano
b49c214d01 Add SSLOPT to SIM800 with preprocessor flag to use
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-08-07 16:33:57 -04:00
Sara Damiano
31205166a7 catch result of cipopen on 7600
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-08-07 16:08:19 -04:00
Sara Damiano
fc254ef157 Merge branch 'v_master' 2020-07-23 15:08:09 -04:00
Sara Damiano
e1c9c2517b Deactivate contexts on Monarch
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-07-23 15:06:22 -04:00
Sara Damiano
cd002c5adf Merge pull request #405 from lewisxhe/master
Added GNSS setMode and getMode method
2020-07-22 11:51:59 -04:00
Sara Damiano
234a20e894 Catching CMS error on debug
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-06-22 17:13:24 -04:00
lewis he
c40ca2144b Added GNSS setMode and getMode method 2020-06-05 15:12:56 +08:00
Sara Damiano
56446bc42f Static cast size in additon
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-05-05 12:26:22 -04:00
Adrian Cervera Andes
5fbd80b3b2 Fixed bad reference and added not implemented 2020-04-30 16:49:45 +02:00
Adrian Cervera Andes
868e2bedf9 Added setPhoneFunctionalityImpl function 2020-04-30 16:22:09 +02:00
Adrián Cervera Andés
61878aa9f3 Fixed problem with streamGetFloatLength and streamGetIntLength functions 2020-04-26 18:00:14 +02:00
Sara Damiano
ad42db2131 Decreased boot wait for SIM7000
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-04-19 15:16:33 -04:00
Sara Damiano
8c5850ef7b Accept "RDY" or "SMS Ready" from SIM7000
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-04-15 23:49:57 -04:00
Sara Damiano
fb3f8583a3 Some more null pointer checks, fix #186
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-04-15 15:42:55 -04:00
Sara Damiano
335c2e8e63 Fix CCID for SIM800, fixes #336
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-04-15 09:16:56 -04:00
Sara Damiano
e47e3e3879 Fix some extra whitespace that crept in
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-04-15 08:57:41 -04:00
Sara Damiano
90dde6861b Fix get battery voltage, fixes #369
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-04-15 08:48:31 -04:00
Sara Damiano
5a6936b37a Made internal stream public again, fixing #373
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-04-15 08:41:33 -04:00
Sara Damiano
9f2068cecb Fix QTEMP on M95, fixes #377
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-04-15 08:36:11 -04:00
Sara Damiano
dbd677e6e7 Fix several potential null pointers
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-04-15 08:34:44 -04:00
Sara Damiano
eb9358f440 Check GPRS status on SIM7000
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-04-14 21:38:15 -04:00
Sara Damiano
564846c872 Added debug print with compiled client file name
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-03-08 10:56:57 -04:00
Sara Damiano
1dc5dc2b49 Remove debug line
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-03-02 15:04:58 -05:00
Sara Damiano
924ac1d19e Longer wait on BG96 stop
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-03-02 14:51:15 -05:00
Sara Damiano
f0dbb403b9 Need to clear Rx at end of dump
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-02-28 13:58:25 -05:00
Sara Damiano
2cd2806ead Small fix to BG96, remove debug
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-02-28 13:09:39 -05:00
Sara Damiano
379d6e2a8a **My** pet library thought those utils were public, Oops!
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-02-20 15:04:36 -05:00
Sara Damiano
8636624a3a Fix GSMLocationTime, XBee, A6
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-02-20 14:58:06 -05:00
Sara Damiano
7c0928fa71 Fix GsmLocationTime
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-02-20 14:53:27 -05:00
Sara Damiano
18ae639241 Add new functions 19Feb20's XBee firmware
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-02-20 14:05:28 -05:00
Sara Damiano
fc973f691e Fix Sequans name and factory reset
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-02-20 13:56:39 -05:00
Sara Damiano
811105f968 CCLK isn't local on BG96, use QLTS=2
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-02-20 12:17:01 -05:00
Sara Damiano
7235f76efa Fix get modem name
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-02-19 19:24:46 -05:00
Sara Damiano
6fc0c269cb Alt now a float
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-02-19 19:10:16 -05:00
Sara Damiano
9751b6011a Convert ddmm.mmmm to -ddd.dddddd for consistency
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-02-19 19:00:47 -05:00
Sara Damiano
ba780e5ad1 Choose HDOP iinstead of PDOP
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-02-19 18:40:45 -05:00
Sara Damiano
75d228c545 Tag temp fxns protected as they should be
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-02-19 18:40:09 -05:00