Commit Graph

17 Commits

Author SHA1 Message Date
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
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
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
1dc5dc2b49 Remove debug line
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-03-02 15:04:58 -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
7235f76efa Fix get modem name
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-02-19 19:24:46 -05:00
Sara Damiano
62516d26a3 Need more truth-checks
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-02-18 22:20:07 -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
dd5cc6bcc8 Missed a junk debug print
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-02-13 18:40:50 -05:00
Sara Damiano
ceea4d250d Hopefully done with everything in the location
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-02-13 18:38:29 -05:00
Sara Damiano
43391944df Really got location working
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-02-13 17:33:26 -05:00
Sara Damiano
be81985c83 Many sub templates to inherit from! 2020-02-11 16:03:44 -05:00