Commit Graph

110 Commits

Author SHA1 Message Date
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
Adrian Cervera Andes
5fbd80b3b2 Fixed bad reference and added not implemented 2020-04-30 16:49:45 +02: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
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
7b40ee2f33 Check possible mux numbers
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-02-18 17:54:04 -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
be81985c83 Many sub templates to inherit from! 2020-02-11 16:03:44 -05:00
Sara Damiano
915660ceaf Specify int sizes 2020-02-11 11:11:05 -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
Alexander Chernoskutov
587be978b6 remove vitrual dtors 2019-12-03 11:32:33 +05:00
Sara Damiano
f339fe91f0 Fix last nagging compiler warnings 2019-09-11 15:15:17 -04:00
Sara Damiano
05bee3294a some extra casting around size_t 2019-09-05 12:03:00 -04:00
Sara Damiano
2092163a36 Check for non-empty pin 2019-08-28 13:04:44 -04:00
Sara Damiano
be6304d830 Fixed ESP socket status 2019-08-27 16:39:58 -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
86356f5323 Add stop with timeout and implement where applicable 2019-06-11 16:00:35 -04:00
Sara Damiano
9fd4a52bc3 longer wait for CIPCLOSE on esp 2019-05-30 15:57:55 -04:00
Sara Damiano
015c2b4144 Extra yield in waitResponse 2019-05-30 15:50:24 -04:00
Sara Damiano
bb72c826c1 Don't look for new line before IPD on ESP 2019-05-30 14:02:03 -04:00
Sara Damiano
880c4614e4 Added battery and temperature functions 2019-05-22 12:03:09 -04:00
Sara Damiano
09725ba8e6 Fixed upcase, other XBee fixes 2019-05-20 16:13:05 -04:00
Sara Damiano
e35e4afce0 Fix typos, tweak to timeout 2019-05-20 13:49:12 -04:00
Sara Damiano
7f7a7563cf Ensure that ALL variants of read respect timeout 2019-05-20 13:12:09 -04:00
Sara Damiano
2e03cdeaba Correct non-ssl connection 2019-05-20 10:37:30 -04:00
Sara Damiano
ff4fa1e042 Clarify units of timeouts 2019-05-20 10:24:27 -04:00
Sara Damiano
4ba8306880 Implement connect with timeout, XBee improvements 2019-05-20 09:21:08 -04:00
Sara Damiano
70ca06dc9d Moved begin above init, reset historic buffer sizes 2019-05-17 16:40:01 -04:00
Sara Damiano
9a3d408923 Moved modem functions to pre-processor macros 2019-05-17 13:53:38 -04:00
Sara Damiano
85d309621d Condensed client functions into pre-processor macros 2019-05-17 12:23:35 -04:00
Sara Damiano
de4162907d Added destructors 2019-05-16 12:15:48 -04:00
Sara Damiano
f2aca3b6b6 Removed parent class 2019-05-14 16:20:48 -04:00
Sara Damiano
7bbe045c78 Trying to work better with the "async" close on the UBLOX SARA R410 2019-05-08 18:25:49 -04:00
Sara Damiano
d5520757e4 Make sure that modemRead is properly maintaining sock_available 2019-05-07 14:23:32 -04:00
Sara Damiano
19c377b68a Version bump. Also print version in init for debugging 2019-03-19 10:39:57 -04:00
Sara Damiano
05c394bffb Corrected set baud for ESP 2019-02-20 12:09:22 -05:00
Sara Damiano
8961005ea5 Gave sizes to some ints 2019-01-25 14:57:40 -05:00
Sara Damiano
943c9a1fdd Removed extra check for connection in available. 2018-10-08 17:56:42 -04:00
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.
2018-10-02 15:32:38 -04:00