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
57cd8f0c5c
Added all modems to examples, added debug with name, bump version
2018-09-19 10:16:37 -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
c5c3cd2af5
Back to virtual super class
2018-09-12 15:44:59 -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
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
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
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
Sara Damiano
99ddbeae62
Timeout cleanup
2018-09-07 13:48:31 -04:00
Sara Damiano
9659018409
Timeout cleanup
2018-09-07 13:16:04 -04:00
Sara Damiano
078bc6d0fc
Merge branch 'original'
2018-09-05 17:42:03 -04:00
Sara Damiano
df6ab6675b
Added unsupported wifi fxns
2018-09-05 17:09:54 -04:00
Volodymyr Shymanskyy
f4e30b2804
Merge branch 'master' of https://github.com/vshymanskyy/TinyGSM
2018-06-11 00:56:41 +03:00
Volodymyr Shymanskyy
4c994651b3
Override Client.write(const char*)
2018-06-11 00:56:23 +03:00
SRGDamia1
8ddb4c39fc
Mostly whitespace changes
2018-05-16 13:07:34 -04:00
SRGDamia1
2a08a828b1
Better support for Cellular XBEE3 modules
...
Also some minor documentation and naming changes for consistency.
2018-05-16 12:54:57 -04:00
SRGDamia1
cdcdd15a80
Minor realignment with vshymanskyy
2018-05-15 17:25:34 -04:00
SRGDamia1
a3914083bc
Clean up
2018-05-15 15:42:34 -04:00
SRGDamia1
f3323f1136
Moved fxns from Wifi connect to init for ESP
2018-03-27 14:51:01 -04:00
SRGDamia1
179432fe63
Merge updates from original version
...
Conflicts:
library.json
library.properties
src/TinyGsmClientA6.h
src/TinyGsmClientESP8266.h
src/TinyGsmClientM590.h
src/TinyGsmClientSIM800.h
src/TinyGsmClientU201.h
src/TinyGsmClientXBee.h
2018-03-15 16:47:43 -04:00
Volodymyr Shymanskyy
8255673424
Cleanup
2018-03-14 22:23:15 +02:00
Volodymyr Shymanskyy
4f9182919f
Make modem.stream public. Make user and pass optional in gprsConnect()
2018-03-14 01:15:43 +02:00
SRGDamia1
542d46d051
Debug on by default if define output
2018-02-23 15:00:39 -05:00
SRGDamia1
9f82293d70
Fixed JSON
2018-02-23 14:30:58 -05:00
SRGDamia1
55ac0cd9ae
Keeping changes I like from other branches
2018-02-23 14:12:29 -05:00
SRGDamia1
a52c19837e
Added ESP getRegStatus, fixed same for XBee
2018-02-20 19:23:34 -05:00
SRGDamia1
bec8f16d13
Rename classes for A6, ESP, M590 and XBee
2018-02-20 11:33:19 -05:00
Sara Damiano
12de2c425e
Merge pull request #10 from dawidcieszynski/master
...
Skip stream timeouts, et al.
2018-02-19 11:28:49 -05:00
SRGDamia1
e18b1659e3
Added some outs for if XBee fails to get to commandMode
2018-02-16 17:20:21 -05:00
Dawid Cieszynski
2238b6a05b
add timeout to streamSkipUntil
2017-11-11 21:23:52 +01:00
SRGDamia1
1bae64ca13
4 is not an acceptable status
2017-11-09 16:48:05 -05:00
SRGDamia1
7399ef69a2
Increased maintain time again
2017-11-09 15:12:58 -05:00
SRGDamia1
29dd7fd472
Added timeout to read
2017-11-09 12:35:28 -05:00
SRGDamia1
f899aeb126
re-shortened maintain
...
problem was new lines, not time.
2017-10-30 14:14:09 -04:00
SRGDamia1
f272a4895d
Initialized to prevent compiler warning.
2017-10-27 12:53:02 -04:00
SRGDamia1
1f1dfc9c7f
Removed extra GSM_NL around "ALREADY CONNECT"
2017-10-26 16:33:30 -04:00
SRGDamia1
6a04def5f3
Removed extra wait for 'connect' b/c it is before the ok
2017-10-26 16:15:37 -04:00
SRGDamia1
5cba94408d
Fixed mux closed
2017-10-26 13:26:02 -04:00