You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 29, 2023. It is now read-only.
### Releases v1.1.0
1. Fix issue with slow browsers or network
2. Remove hard-code if possible
3. Improve debug messages by adding functions to display `error/state messages` instead of `cryptic error/state number`
4. Clean up
to apply the better and faster **asynchronous** feature of the **powerful**[ESPAsyncTCP Library](https://github.com/me-no-dev/ESPAsyncTCP) without SSL to Teensy 4.1 using LwIP-based [QNEthernet Library](https://github.com/ssilverman/QNEthernet), and will be the base for future or current and more advanced Async libraries, such as [AsyncHTTPRequest_Generic](https://github.com/khoih-prog/AsyncHTTPRequest_Generic), [AsyncHTTPRequest_Generic](https://github.com/khoih-prog/AsyncHTTPRequest_Generic), [AsyncMQTT_Generic](https://github.com/khoih-prog/AsyncMQTT_Generic), Teensy41_AsyncWebServer, Teensy41_AsyncUDP, Teensy41_AsyncDNSServer, Teensy41_AsyncTCP_SSL, etc.
61
+
to apply the better and faster **asynchronous** feature of the **powerful**[ESPAsyncTCP Library](https://github.com/me-no-dev/ESPAsyncTCP) without SSL to Teensy 4.1 using LwIP-based [QNEthernet Library](https://github.com/ssilverman/QNEthernet), and will be the base for future or current and more advanced Async libraries, such as [AsyncHTTPRequest_Generic](https://github.com/khoih-prog/AsyncHTTPRequest_Generic), [AsyncHTTPRequest_Generic](https://github.com/khoih-prog/AsyncHTTPRequest_Generic), [AsyncMQTT_Generic](https://github.com/khoih-prog/AsyncMQTT_Generic), [AsyncWebServer_Teensy41](https://github.com/khoih-prog/AsyncWebServer_Teensy41), [AsyncUDP_Teensy41](https://github.com/khoih-prog/AsyncUDP_Teensy41), [AsyncDNSServer_Teensy41](https://github.com/khoih-prog/AsyncDNSServer_Teensy41), AsyncTCP_SSL_Teensy41, etc.
57
62
58
63
59
64
#### Why Async is better
@@ -83,8 +88,8 @@ to apply the better and faster **asynchronous** feature of the **powerful** [ESP
83
88
## Prerequisites
84
89
85
90
1.[`Arduino IDE 1.8.19+` for Arduino](https://github.com/arduino/Arduino). [](https://github.com/arduino/Arduino/releases/latest)
86
-
2.[`Teensy core v1.56+`](https://www.pjrc.com/teensy/td_download.html) for Teensy 4.1
87
-
3.[`QNEthernet Library version v0.13.0+`](https://github.com/ssilverman/QNEthernet) for Teensy 4.1 built-in Ethernet.
91
+
2.[`Teensy core v1.57+`](https://www.pjrc.com/teensy/td_download.html) for Teensy 4.1
92
+
3.[`QNEthernet Library version v0.15.0+`](https://github.com/ssilverman/QNEthernet) for Teensy 4.1 built-in Ethernet.
88
93
89
94
---
90
95
---
@@ -101,9 +106,9 @@ You can also use this link [ page.
104
-
2. Download the latest release `Teensy41_AsyncTCP-master.zip`.
105
-
3. Extract the zip file to `Teensy41_AsyncTCP-master` directory
106
-
4. Copy whole `Teensy41_AsyncTCP-master` folder to Arduino libraries' directory such as `~/Arduino/libraries/`.
109
+
2. Download the latest release `Teensy41_AsyncTCP-main.zip`.
110
+
3. Extract the zip file to `Teensy41_AsyncTCP-main` directory
111
+
4. Copy whole `Teensy41_AsyncTCP-main` folder to Arduino libraries' directory such as `~/Arduino/libraries/`.
This is a fully asynchronous TCP library, aimed at enabling trouble-free, multi-connection network environment for **Teensy 4.1 using QNEthernet Library**.
148
153
154
+
### AsyncClient and AsyncServer
155
+
156
+
The base classes on which everything else is built. They expose all possible scenarios, but are really raw and require more skills to use.
157
+
158
+
### AsyncPrinter
159
+
160
+
This class can be used to send data like any other `Print` interface (`Serial` for example).
161
+
162
+
The object then can be used outside of the Async callbacks (the loop) and receive asynchronously data using `onData`. The object can be checked if the underlying `AsyncClient`is connected, or hook to the `onDisconnect` callback.
163
+
164
+
### AsyncTCPbuffer
165
+
166
+
This class is really similar to the `AsyncPrinter`, but it can buffer some of the incoming data.
167
+
168
+
### SyncClient
169
+
170
+
It is exactly what it sounds like. This is a standard, synchronous blocking TCP Client you're used to.
Copy file name to clipboardExpand all lines: library.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name":"Teensy41_AsyncTCP",
3
-
"version": "1.0.0",
3
+
"version": "1.1.0",
4
4
"description":"Asynchronous TCP Library for Teensy 4.1 using QNEthernet. This library is the base for future Async support for many current or future libraries, such as AsyncHTTPRequest_Generic, AsyncHTTPSRequest_Generic, AsyncMQTT_Generic, Teensy41_AsyncWebServer, Teensy41_AsyncUDP, Teensy41_AsyncDNSServer, Teensy41_AsyncTCP_SSL",
sentence=Async TCP Library for Teensy 4.1 using QNEthernet
6
-
paragraph=This library is the base for future Async support for many current or future libraries, such as AsyncHTTPRequest_Generic, AsyncHTTPSRequest_Generic, AsyncMQTT_Generic, Teensy41_AsyncWebServer, Teensy41_AsyncUDP, Teensy41_AsyncDNSServer, Teensy41_AsyncTCP_SSL
6
+
paragraph=This library is the base for future Async support for many current or future libraries, such as AsyncHTTPRequest_Generic, AsyncHTTPSRequest_Generic, AsyncMQTT_Generic, AsyncWebServer_Teensy41, AsyncUDP_Teensy41, AsyncDNSServer_Teensy41, AsyncTCP_SSL_Teensy41, etc.
0 commit comments