Commit Graph

135 Commits

Author SHA1 Message Date
Sara Damiano
db456b5345 Fixes 2019-05-20 12:38:37 -04:00
Sara Damiano
9201cbde86 Fix SIMCOM length read/confirmed/requested 2019-05-20 10:45:08 -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
96c1fed3ef Typo 2019-05-17 17:15:31 -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
ea8d43df88 Added Sequans modem name 2019-05-14 17:26:49 -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
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
80f77495f1 Quick close on SIM800 2019-01-28 16:31:56 -05: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
4af1305c04 Removed un-necessary sock check, shortened SIM800 ping 2018-10-08 18:03:52 -04:00
Sara Damiano
9dee2ede57 formatting fix 2018-10-08 18:00:25 -04: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
0e905afa6e Added extra "ping" for data to read() of SIM800 2018-10-02 15:09:19 -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
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.
2018-09-24 15:46:14 -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
Sara Damiano
8fc44de0c7 Updates to examples 2018-09-19 13:00:00 -04:00
Sara Damiano
57cd8f0c5c Added all modems to examples, added debug with name, bump version 2018-09-19 10:16:37 -04:00
Sara Damiano
118ecb6078 Turned off some XBee debugging 2018-09-14 10:48:46 -04:00
Sara Damiano
ea7f69cd05 Pull back changes 2018-09-14 10:44:18 -04:00
Sara Damiano
b8d804b443 Creating a super-class for modems 2018-09-13 18:13:18 -04:00
Sara Damiano
0004bebf16 Moved stream write and stream skip into common 2018-09-13 17:08:09 -04:00
Sara Damiano
ed9b87d896 Added very minor code comments 2018-09-13 16:43:08 -04:00
Sara Damiano
84811fb9d5 Removed default stream 2018-09-12 17:41:16 -04:00
Sara Damiano
115b6c1a4a Extra comment blocks removed from SIM800 2018-09-12 15:43:04 -04:00
Sara Damiano
34104d18fe Removed default stream 2018-09-12 14:49:38 -04:00
Sara Damiano
78cd41f8e2 Rename 2018-09-10 15:51:15 -04:00
Sara Damiano
63ed6fafb7 Some class cleaning 2018-09-10 15:25:13 -04:00
Sara Damiano
56dca5185b Added virtual master class 2018-09-07 18:15:42 -04:00
Sara Damiano
1e7a3f2cd3 Merge branch 'original' 2018-09-07 14:21:50 -04:00
Sara Damiano
9997d61bed Cleaned out big comment dividers 2018-09-07 14:18:00 -04:00
Sara Damiano
cf6ff9fd2b White space change 2018-09-07 14:11:54 -04:00
Sara Damiano
f8c3a2de61 Added wifi fxns as shells where unsupported
Allows more flexibility downstream
2018-09-07 13:50:54 -04:00