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
54fdf32d7f
Renamed doc folder
2018-10-08 15:02:15 -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
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
e652dd8676
Turn pragma on while testing Travis
2018-09-24 11:38:02 -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
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
d0fdf1d11f
Oops! Fixed over-shortened XBee buffer!
2018-09-20 12:35:54 -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
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
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
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
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
71709c84af
Merge M95 version from marabesi fork
2018-09-07 16:26:09 -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
e9b1e16a3e
Pull some updates from upstream
...
(cherry picked from commit da6732b5a9
)
2018-09-07 14:03:04 -04:00
SRGDamia1
6e2a793bca
Added timeout to read
...
(cherry picked from commit 29dd7fd472
)
2018-09-07 13:59:05 -04:00
Sara Damiano
f8c3a2de61
Added wifi fxns as shells where unsupported
...
Allows more flexibility downstream
2018-09-07 13:50:54 -04:00