Commit Graph

546 Commits

Author SHA1 Message Date
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
5c0736284b Fixed ublox name, again. 2018-09-25 18:03:47 -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
2d1d9deccd Fix missing quote 2018-09-24 11:54:32 -04:00
Sara Damiano
e652dd8676 Turn pragma on while testing Travis 2018-09-24 11:38:02 -04:00
Sara Damiano
c508f00145 Attempting to find source of Travis errors 2018-09-24 11:25:01 -04:00
Sara Damiano
dfa731388a Added power off to common
And implemented for ublox
2018-09-24 10:05:51 -04:00
Sara Damiano
746b68d9f5 ublox is getting name from modem
also removed some extra docs
2018-09-24 08:46:49 -04:00
Sara Damiano
3dca3fcad0 Merge branch original 2018-09-20 16:11:40 -04:00
Sara Damiano
03d57a1d71 Fixed bugs in XBee
Thanks to @Mikelanner

Should fix https://github.com/vshymanskyy/TinyGSM/issues/204
2018-09-20 16:04:27 -04:00
Sara Damiano
81c31afe5c Merge branch 'master' into original 2018-09-20 12:54:27 -04:00
Sara Damiano
d0fdf1d11f Oops! Fixed over-shortened XBee buffer! 2018-09-20 12:35:54 -04:00
Sara Damiano
4ea3999c50 Back in line?! 2018-09-19 13:01:57 -04:00
Sara Damiano
8fc44de0c7 Updates to examples 2018-09-19 13:00:00 -04:00
Sara Damiano
bb1a603160 Added a few modems to ReadMe 2018-09-19 11:52:47 -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
2423b9fdf2 Added extra responses for AI for XBee 2018-09-19 09:44:46 -04:00
Sara Damiano
837a189806 Merge branch original 2018-09-15 21:43:22 -04:00
Sara Damiano
68b5b261c3 Added HS responses for XBee3's 2018-09-15 21:40:03 -04:00
Sara Damiano
7c314b684c Added/updated some pdfs 2018-09-15 18:14:38 -04:00
Sara Damiano
118ecb6078 Turned off some XBee debugging 2018-09-14 10:48:46 -04:00
Sara Damiano
4ab5a8c182 Turned off some XBee debugging 2018-09-14 10:45:39 -04:00
Sara Damiano
ea7f69cd05 Pull back changes 2018-09-14 10:44:18 -04:00
Sara Damiano
c9a39f51ab Updated keywords 2018-09-13 18:14:59 -04:00
Sara Damiano
4ea6f872e4 Fixed typos 2018-09-13 18:14:09 -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
06b54e8463 Oops, removed implemented BG96 fxn 2018-09-13 16:51:24 -04:00
Sara Damiano
81d1a0b740 Corrected name of ublox 2018-09-13 16:48:24 -04:00
Sara Damiano
30072cf173 Checking for connected socket 2018-09-13 16:48:12 -04:00
Sara Damiano
9ff666a855 Updated BG96 to match other Quectels where applicable 2018-09-13 16:47:33 -04:00
Sara Damiano
9f25adc2db Reordered some functions in the XBee 2018-09-13 16:45:48 -04:00
Sara Damiano
ed9b87d896 Added very minor code comments 2018-09-13 16:43:08 -04:00
Sara Damiano
48a61cc5c2 Fix and smooth functionality across Quectel modules 2018-09-13 16:34:29 -04:00
Sara Damiano
84811fb9d5 Removed default stream 2018-09-12 17:41:16 -04:00
Sara Damiano
6e2cce0b73 Merge branch 'super2' 2018-09-12 17:24:13 -04:00
Sara Damiano
c5c3cd2af5 Back to virtual super class 2018-09-12 15:44:59 -04:00
Sara Damiano
2876deb028 Fix setup vs enable sleep in XBee 2018-09-12 15:43:54 -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
844d59aeab Made class not-purely-virtual
Made all default functions return 0/false and print an error message.
2018-09-11 13:10:31 -04:00
Sara Damiano
78cd41f8e2 Rename 2018-09-10 15:51:15 -04:00
Sara Damiano
5d3cc777b4 Fix compiler errors 2018-09-10 15:34:04 -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
fc9922904d Merge branch 'marabesi-master' 2018-09-07 16:27:09 -04:00