Commit Graph

81 Commits

Author SHA1 Message Date
Sara Damiano
4ad29b59c4 check ip in connection with correct local ip fxn
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-01-31 17:15:22 -05:00
Sara Damiano
a00428ea92 Merge pull request #27 from beegee-tokyo/master
BG96
2020-01-31 17:12:23 -05:00
Sara Damiano
d85e83f049 Fixes to BG96
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2020-01-31 17:03:10 -05:00
Bernd Giesecke
a27d39c7f9 Fix BG96 bugs
- bool isGprsConnected() is now returning correct status     
- bool modemGetConnected() is now working as expected
2019-11-23 12:28:28 +08:00
Sara Damiano
bfd6055c46 NOT factory resetting in init 2019-09-26 16:38:15 -04: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
a55dbaa7db Extra braces 2019-08-28 19:36:53 -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
4debf545b1 Add missing mux 2019-05-24 23:30:32 -04:00
Sara Damiano
3d78292261 modemRead MUST end with sock_available correct 2019-05-24 23:24:32 -04:00
Sara Damiano
66a65e2686 Add prev_check variable for BG96 2019-05-24 19:26:47 -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
6e550e566a Just assume we'll miss URC's on BG96 2019-05-24 19:14:23 -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
62182e11c9 Missing brace 2019-05-22 13:10:31 -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
99a5b3938c Removed recursive calls to maitain (shouldn't I have leared) 2019-05-17 10:50:44 -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
43cd516d1f (Hopefully) better wait for close on SARA R410 2019-05-08 13:08:40 -04:00
Sara Damiano
f7aa4a6c6a Tacked in some maintains to hopefully reduce missed URC's 2019-05-07 16:18:54 -04:00
Sara Damiano
a63fd05fed A few debug prints, look for "+RECEIVE" from SIMCOM's 2019-05-07 15:39:36 -04:00
Sara Damiano
d5520757e4 Make sure that modemRead is properly maintaining sock_available 2019-05-07 14:23:32 -04:00
Sara Damiano
e18c5dacbd Fix https://github.com/vshymanskyy/TinyGSM/issues/266 2019-05-06 15:03:23 -04:00
Sara Damiano
19c377b68a Version bump. Also print version in init for debugging 2019-03-19 10:39:57 -04:00
Sara Damiano
69d178f98c Fix ambiguous overload for empty ip address for ESP's 2019-03-11 14:14:18 -04:00
Sara Damiano
831171c15c SARA R410 also "forget" to notify about incoming data 2019-01-28 15:18:29 -05:00
Sara Damiano
0a6927932f Propogate fixes to stop 2019-01-26 10:59:08 -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
312d486a43 Allowing read() to continue after socket close if data is still available
Only for modules that buffer the data internally
2018-10-02 15:13:17 -04:00
Sara Damiano
8e057f32ae Removed extra delay in testAT, not sure why it was there 2018-09-27 15:14:42 -04:00
Sara Damiano
be4baa2a7d Buffer size to common 2018-09-24 16:02:07 -04:00
Sara Damiano
69c1824539 Fixed modem name request on ublox 2018-09-24 15:08:57 -04:00
Sara Damiano
e652dd8676 Turn pragma on while testing Travis 2018-09-24 11:38:02 -04:00