Sara Damiano
62182e11c9
Missing brace
5 years ago
Sara Damiano
880c4614e4
Added battery and temperature functions
5 years ago
Sara Damiano
09725ba8e6
Fixed upcase, other XBee fixes
5 years ago
Sara Damiano
e35e4afce0
Fix typos, tweak to timeout
5 years ago
Sara Damiano
7f7a7563cf
Ensure that ALL variants of read respect timeout
5 years ago
Sara Damiano
db456b5345
Fixes
5 years ago
Sara Damiano
ff4fa1e042
Clarify units of timeouts
5 years ago
Sara Damiano
4ba8306880
Implement connect with timeout, XBee improvements
5 years ago
Sara Damiano
70ca06dc9d
Moved begin above init, reset historic buffer sizes
5 years ago
Sara Damiano
9a3d408923
Moved modem functions to pre-processor macros
5 years ago
Sara Damiano
85d309621d
Condensed client functions into pre-processor macros
5 years ago
Sara Damiano
f2aca3b6b6
Removed parent class
5 years ago
Sara Damiano
7bbe045c78
Trying to work better with the "async" close on the UBLOX SARA R410
5 years ago
Sara Damiano
d5520757e4
Make sure that modemRead is properly maintaining sock_available
5 years ago
Sara Damiano
19c377b68a
Version bump. Also print version in init for debugging
6 years ago
Sara Damiano
8961005ea5
Gave sizes to some ints
6 years ago
Sara Damiano
943c9a1fdd
Removed extra check for connection in available.
6 years ago
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.
6 years ago
Sara Damiano
8e057f32ae
Removed extra delay in testAT, not sure why it was there
6 years ago
Sara Damiano
be4baa2a7d
Buffer size to common
6 years ago
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.
6 years ago
Sara Damiano
69c1824539
Fixed modem name request on ublox
6 years ago
Sara Damiano
e652dd8676
Turn pragma on while testing Travis
6 years ago
Sara Damiano
57cd8f0c5c
Added all modems to examples, added debug with name, bump version
6 years ago
Sara Damiano
0004bebf16
Moved stream write and stream skip into common
6 years ago
Sara Damiano
ed9b87d896
Added very minor code comments
6 years ago
Sara Damiano
84811fb9d5
Removed default stream
6 years ago
Sara Damiano
c5c3cd2af5
Back to virtual super class
6 years ago
Sara Damiano
34104d18fe
Removed default stream
6 years ago
Sara Damiano
78cd41f8e2
Rename
6 years ago
Sara Damiano
5d3cc777b4
Fix compiler errors
6 years ago
Sara Damiano
63ed6fafb7
Some class cleaning
6 years ago
Sara Damiano
56dca5185b
Added virtual master class
6 years ago
Sara Damiano
9997d61bed
Cleaned out big comment dividers
6 years ago
Sara Damiano
e9b1e16a3e
Pull some updates from upstream
(cherry picked from commit da6732b5a9
)
6 years ago
SRGDamia1
6e2a793bca
Added timeout to read
(cherry picked from commit 29dd7fd472
)
7 years ago
Sara Damiano
f8c3a2de61
Added wifi fxns as shells where unsupported
Allows more flexibility downstream
6 years ago
Sara Damiano
99ddbeae62
Timeout cleanup
6 years ago
Sara Damiano
9659018409
Timeout cleanup
6 years ago
Sara Damiano
da6732b5a9
Pull some updates from upstream
6 years ago
Sara Damiano
df6ab6675b
Added unsupported wifi fxns
6 years ago
Volodymyr Shymanskyy
4c994651b3
Override Client.write(const char*)
6 years ago
SRGDamia1
8ddb4c39fc
Mostly whitespace changes
6 years ago
SRGDamia1
2a08a828b1
Better support for Cellular XBEE3 modules
Also some minor documentation and naming changes for consistency.
6 years ago
SRGDamia1
cdcdd15a80
Minor realignment with vshymanskyy
6 years ago
SRGDamia1
a3914083bc
Clean up
6 years ago
Volodymyr Shymanskyy
8255673424
Cleanup
7 years ago
Volodymyr Shymanskyy
4f9182919f
Make modem.stream public. Make user and pass optional in gprsConnect()
7 years ago
SRGDamia1
542d46d051
Debug on by default if define output
7 years ago
SRGDamia1
9f82293d70
Fixed JSON
7 years ago