Adrian Cervera Andes
a51cfda25d
Added pin parameter on restart() (necessary for init() with pin)
4 years ago
Sara Damiano
4cfabb14eb
Version bump
4 years ago
Sara Damiano
234a20e894
Catching CMS error on debug
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
4 years ago
Adrian Cervera Andes
5fbd80b3b2
Fixed bad reference and added not implemented
4 years ago
Sara Damiano
fb3f8583a3
Some more null pointer checks, fix #186
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
4 years ago
Sara Damiano
5a6936b37a
Made internal stream public again, fixing #373
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
4 years ago
Sara Damiano
564846c872
Added debug print with compiled client file name
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
5 years ago
Sara Damiano
8636624a3a
Fix GSMLocationTime, XBee, A6
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
5 years ago
Sara Damiano
5296cd58cb
Stop does not need to be virtual at this time
5 years ago
Sara Damiano
a483b288b6
Only use CME_Error if debug
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
5 years ago
Sara Damiano
2616a3d642
Change from switch case to required define
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
5 years ago
Sara Damiano
bb91fffb31
Rename so *I* don't screw them up
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
5 years ago
Sara Damiano
3102de00c3
Size a few more things
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
5 years ago
Sara Damiano
be81985c83
Many sub templates to inherit from!
5 years ago
Sara Damiano
915660ceaf
Specify int sizes
5 years ago
Sara Damiano
41531c339b
Reorder some functions
5 years ago
Sara Damiano
06c31aa856
Replace *most* toInt and toFloat's
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
5 years ago
Sara Damiano
24a57d7fd3
Fixes around cmee
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
5 years ago
Sara Damiano
efb6450045
Refixed the CBC error found by @VinceKezel
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
5 years ago
Sara Damiano
944f651865
Changed some format penalties
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
5 years ago
Sara Damiano
d3d1083d8f
CRTP!!!! Totally untested
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
5 years ago
Alexander Chernoskutov
587be978b6
remove vitrual dtors
5 years ago
Sara Damiano
bfd6055c46
NOT factory resetting in init
5 years ago
Sara Damiano
735c8b7069
Fix A6 warning
5 years ago
Sara Damiano
05bee3294a
some extra casting around size_t
5 years ago
Sara Damiano
dac86a22cd
Fix all Wextra warnings
5 years ago
Sara Damiano
86356f5323
Add stop with timeout and implement where applicable
5 years ago
Sara Damiano
015c2b4144
Extra yield in waitResponse
5 years ago
Sara Damiano
62182e11c9
Missing brace
5 years ago
Sara Damiano
880c4614e4
Added battery and temperature functions
5 years ago
Sara Damiano
09725ba8e6
Fixed upcase, other XBee fixes
5 years ago
Sara Damiano
e35e4afce0
Fix typos, tweak to timeout
5 years ago
Sara Damiano
7f7a7563cf
Ensure that ALL variants of read respect timeout
5 years ago
Sara Damiano
db456b5345
Fixes
5 years ago
Sara Damiano
ff4fa1e042
Clarify units of timeouts
5 years ago
Sara Damiano
4ba8306880
Implement connect with timeout, XBee improvements
5 years ago
Sara Damiano
70ca06dc9d
Moved begin above init, reset historic buffer sizes
5 years ago
Sara Damiano
9a3d408923
Moved modem functions to pre-processor macros
5 years ago
Sara Damiano
85d309621d
Condensed client functions into pre-processor macros
5 years ago
Sara Damiano
de4162907d
Added destructors
5 years ago
Sara Damiano
f2aca3b6b6
Removed parent class
5 years ago
Sara Damiano
7bbe045c78
Trying to work better with the "async" close on the UBLOX SARA R410
5 years ago
Sara Damiano
d5520757e4
Make sure that modemRead is properly maintaining sock_available
5 years ago
Sara Damiano
19c377b68a
Version bump. Also print version in init for debugging
6 years ago
Sara Damiano
8961005ea5
Gave sizes to some ints
6 years ago
Sara Damiano
943c9a1fdd
Removed extra check for connection in available.
6 years ago
Sara Damiano
e68ea1db12
Read timeout for modules that immediately spit out data (no buffer)
They do need a millis() based timeout so that data left in the buffer after the socket closes can still be read in but the maintain doesn't sit and wait forever.
6 years ago
Sara Damiano
8e057f32ae
Removed extra delay in testAT, not sure why it was there
6 years ago
Sara Damiano
be4baa2a7d
Buffer size to common
6 years ago
Sara Damiano
1aad1a9a1d
Clean-up of timeouts
For loggers that return data "immediately" (unbuffered, data sent w/o request) read will "maintain" and look for any incoming data as long as the socket is open. Use timedRead if you want a timeout.
For modems that buffer the response and wait for you to request data, read will stop if socket closes OR if there is no longer any data in the modem's response buffer.
6 years ago