Sara Damiano
daf1063344
fix annoying sequans warning
...
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org >
2022-05-02 13:28:13 -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
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
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
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
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
Adrian Cervera Andes
a51cfda25d
Added pin parameter on restart() (necessary for init() with pin)
2021-01-29 15:02:35 +01:00
Sara Damiano
4cfabb14eb
Version bump
2020-10-30 11:10:24 -04:00
Sara Damiano
6203ebd27c
Merge pull request #389 from adrianca88/set_phone_functionality
...
Added setPhoneFunctionality method
2020-10-01 14:04:31 -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
234a20e894
Catching CMS error on debug
...
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org >
2020-06-22 17:13:24 -04:00
Adrian Cervera Andes
5fbd80b3b2
Fixed bad reference and added not implemented
2020-04-30 16:49:45 +02: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
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
dbd677e6e7
Fix several potential null pointers
...
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org >
2020-04-15 08:34:44 -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
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
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
Sara Damiano
7b40ee2f33
Check possible mux numbers
...
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org >
2020-02-18 17:54:04 -05:00
Sara Damiano
6e7ea5aced
Handle URC's related to automatic time updates
...
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org >
2020-02-18 15:54:13 -05:00
Sara Damiano
5296cd58cb
Stop does not need to be virtual at this time
2020-02-17 17:22:39 -05:00
Sara Damiano
a483b288b6
Only use CME_Error if debug
...
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org >
2020-02-17 14:37:12 -05:00
Sara Damiano
2616a3d642
Change from switch case to required define
...
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org >
2020-02-17 13:07:01 -05:00
Sara Damiano
bb91fffb31
Rename so *I* don't screw them up
...
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org >
2020-02-17 11:10:58 -05:00
Sara Damiano
3102de00c3
Size a few more things
...
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org >
2020-02-17 10:57:44 -05:00
Sara Damiano
cbcf7734bb
Removed some non-ascii characters
...
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org >
2020-02-13 17:34:46 -05:00
Sara Damiano
be81985c83
Many sub templates to inherit from!
2020-02-11 16:03:44 -05:00
Sara Damiano
41531c339b
Reorder some functions
2020-02-11 11:08:03 -05:00
Sara Damiano
06c31aa856
Replace *most* toInt and toFloat's
...
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org >
2020-02-07 17:42:02 -05:00
Sara Damiano
24a57d7fd3
Fixes around cmee
...
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org >
2020-02-07 14:12:25 -05:00
Sara Damiano
944f651865
Changed some format penalties
...
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org >
2020-02-07 13:18:36 -05:00
Sara Damiano
d3d1083d8f
CRTP!!!! Totally untested
...
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org >
2020-02-06 15:20:44 -05:00
Sara Damiano
7d6aba266c
Merge pull request #26 from AlexIII/master
...
crtp
2020-01-31 17:16:29 -05:00
Sara Damiano
d85e83f049
Fixes to BG96
...
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org >
2020-01-31 17:03:10 -05:00
Sara Damiano
033092f8fe
Set CFUN in Sequans init - else fails
...
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org >
2020-01-24 11:41:24 -05:00
Sara Damiano
6a60e3be76
Some tweaks to Sequans
...
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org >
2020-01-23 11:07:13 -05:00
Alexander Chernoskutov
587be978b6
remove vitrual dtors
2019-12-03 11:32:33 +05:00
Sara Damiano
6c0ec95a7e
Oops, fixed some signed/unsigned comparisons
2019-09-05 13:23:46 -04:00
Sara Damiano
05bee3294a
some extra casting around size_t
2019-09-05 12:03:00 -04:00
Sara Damiano
dac86a22cd
Fix all Wextra warnings
2019-08-27 16:39:29 -04:00
Sara Damiano
1e15d1db6a
Explicit destructors
2019-07-17 10:31:54 -04:00
Sara Damiano
af4dcc2bb5
Add wildly preliminary SIM5360
2019-07-16 16:07:17 -04:00
Sara Damiano
86356f5323
Add stop with timeout and implement where applicable
2019-06-11 16:00:35 -04:00
Sara Damiano
015c2b4144
Extra yield in waitResponse
2019-05-30 15:50:24 -04:00
Sara Damiano
3d78292261
modemRead MUST end with sock_available correct
2019-05-24 23:24:32 -04:00
Sara Damiano
52e19b73ff
don't set sock_available just to count it back to 0
2019-05-24 19:15:56 -04:00
Sara Damiano
fa5ca6e67c
Version bump and debug print
2019-05-23 15:59:59 -04:00
Sara Damiano
fcb3d5b010
De-increment sock available as we read out of sock
2019-05-23 15:32:24 -04:00
Sara Damiano
880c4614e4
Added battery and temperature functions
2019-05-22 12:03:09 -04:00