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
dfa731388a
Added power off to common
And implemented for ublox
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
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
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
SRGDamia1
f3323f1136
Moved fxns from Wifi connect to init for ESP
7 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
SRGDamia1
55ac0cd9ae
Keeping changes I like from other branches
7 years ago
SRGDamia1
a52c19837e
Added ESP getRegStatus, fixed same for XBee
7 years ago
SRGDamia1
bec8f16d13
Rename classes for A6, ESP, M590 and XBee
7 years ago
SRGDamia1
e18b1659e3
Added some outs for if XBee fails to get to commandMode
7 years ago
Dawid Cieszynski
2238b6a05b
add timeout to streamSkipUntil
7 years ago
SRGDamia1
1bae64ca13
4 is not an acceptable status
7 years ago
SRGDamia1
7399ef69a2
Increased maintain time again
7 years ago
SRGDamia1
29dd7fd472
Added timeout to read
7 years ago
SRGDamia1
f899aeb126
re-shortened maintain
problem was new lines, not time.
7 years ago
SRGDamia1
f272a4895d
Initialized to prevent compiler warning.
7 years ago
SRGDamia1
1f1dfc9c7f
Removed extra GSM_NL around "ALREADY CONNECT"
7 years ago
SRGDamia1
6a04def5f3
Removed extra wait for 'connect' b/c it is before the ok
7 years ago
SRGDamia1
5cba94408d
Fixed mux closed
7 years ago
SRGDamia1
2444373357
Added mux check for esp socket close
7 years ago
SRGDamia1
28903e76a5
Removed GSM_NL around socket close for ESP
7 years ago