@@ -106,7 +106,7 @@ This library is based on, modified from:
106
106
107
107
1 . [ ` Arduino IDE 1.8.19+ ` for Arduino] ( https://github.com/arduino/Arduino ) . [ ![ GitHub release] ( https://img.shields.io/github/release/arduino/Arduino.svg )] ( https://github.com/arduino/Arduino/releases/latest )
108
108
2 . [ ` Teensy core v1.57+ ` ] ( https://www.pjrc.com/teensy/td_download.html ) for Teensy 4.1
109
- 3 . [ ` QNEthernet Library version v0.15 .0+ ` ] ( https://github.com/ssilverman/QNEthernet ) for Teensy 4.1 built-in Ethernet.
109
+ 3 . [ ` QNEthernet Library version v0.16 .0+ ` ] ( https://github.com/ssilverman/QNEthernet ) for Teensy 4.1 built-in Ethernet.
110
110
4 . [ ` Teensy41_AsyncTCP library v1.1.0+ ` ] ( https://github.com/khoih-prog/Teensy41_AsyncTCP ) to use ** Teensy 4.1 using QNEthernet Library** . To install, check [ ![ arduino-library-badge] ( https://www.ardu-badge.com/badge/Teensy41_AsyncTCP.svg? )] ( https://www.ardu-badge.com/Teensy41_AsyncTCP )
111
111
112
112
---
@@ -201,14 +201,14 @@ Have a look at the discussion in [Different behaviour using the src_cpp or src_h
201
201
202
202
#### 1. File [ AsyncHTTPRequest.ino] ( examples/AsyncHTTPRequest/AsyncHTTPRequest.ino )
203
203
204
- https://github.com/khoih-prog/AsyncHTTPRequest_Teensy41/blob/d75e5e296dd01c143b32b37be1016e72277bb00c /examples/AsyncHTTPRequest/AsyncHTTPRequest.ino#L38-L176
204
+ https://github.com/khoih-prog/AsyncHTTPRequest_Teensy41/blob/558ddadd9345b15f35a53fa6048dbaeb101f3d11 /examples/AsyncHTTPRequest/AsyncHTTPRequest.ino#L38-L184
205
205
206
206
207
207
---
208
208
209
209
#### 2. File [ defines.h] ( examples/AsyncHTTPRequest/defines.h )
210
210
211
- https://github.com/khoih-prog/AsyncHTTPRequest_Teensy41/blob/d75e5e296dd01c143b32b37be1016e72277bb00c /examples/AsyncHTTPRequest/defines.h#L16-L50
211
+ https://github.com/khoih-prog/AsyncHTTPRequest_Teensy41/blob/558ddadd9345b15f35a53fa6048dbaeb101f3d11 /examples/AsyncHTTPRequest/defines.h#L16-L50
212
212
213
213
214
214
---
@@ -224,43 +224,43 @@ https://github.com/khoih-prog/AsyncHTTPRequest_Teensy41/blob/d75e5e296dd01c143b3
224
224
225
225
```
226
226
Start AsyncHTTPRequest on TEENSY 4.1
227
- AsyncHTTPRequest_Teensy41 v1.9.1
227
+ AsyncHTTPRequest_Teensy41 v1.9.2
228
228
Initialize Ethernet using DHCP => Connected! IP address:192.168.2.107
229
229
230
230
**************************************
231
- abbreviation: EDT
231
+ abbreviation: EST
232
232
client_ip: aaa.bbb.ccc.ddd
233
- datetime: 2022-10-21T00:49:50.439364-04 :00
234
- day_of_week: 5
235
- day_of_year: 294
236
- dst: true
237
- dst_from: 2022-03-13T07:00:00+00:00
238
- dst_offset: 3600
239
- dst_until: 2022-11-06T06:00:00+00:00
233
+ datetime: 2022-11-10T13:30:13.641964-05 :00
234
+ day_of_week: 4
235
+ day_of_year: 314
236
+ dst: false
237
+ dst_from:
238
+ dst_offset: 0
239
+ dst_until:
240
240
raw_offset: -18000
241
241
timezone: America/Toronto
242
- unixtime: 1666327790
243
- utc_datetime: 2022-10-21T04:49:50.439364 +00:00
244
- utc_offset: -04 :00
245
- week_number: 42
242
+ unixtime: 1668105013
243
+ utc_datetime: 2022-11-10T18:30:13.641964 +00:00
244
+ utc_offset: -05 :00
245
+ week_number: 45
246
246
**************************************
247
247
248
248
**************************************
249
- abbreviation: EDT
249
+ abbreviation: EST
250
250
client_ip: aaa.bbb.ccc.ddd
251
- datetime: 2022-10-21T00:51:50.438435-04 :00
252
- day_of_week: 5
253
- day_of_year: 294
254
- dst: true
255
- dst_from: 2022-03-13T07:00:00+00:00
256
- dst_offset: 3600
257
- dst_until: 2022-11-06T06:00:00+00:00
251
+ datetime: 2022-11-10T13:30:23.988273-05 :00
252
+ day_of_week: 4
253
+ day_of_year: 314
254
+ dst: false
255
+ dst_from:
256
+ dst_offset: 0
257
+ dst_until:
258
258
raw_offset: -18000
259
259
timezone: America/Toronto
260
- unixtime: 1666327910
261
- utc_datetime: 2022-10-21T04:51:50.438435 +00:00
262
- utc_offset: -04 :00
263
- week_number: 42
260
+ unixtime: 1668105023
261
+ utc_datetime: 2022-11-10T18:30:23.988273 +00:00
262
+ utc_offset: -05 :00
263
+ week_number: 45
264
264
**************************************
265
265
```
266
266
@@ -271,47 +271,47 @@ week_number: 42
271
271
272
272
```
273
273
Start AsyncCustomHeader on TEENSY 4.1
274
- AsyncHTTPRequest_Teensy41 v1.9.1
274
+ AsyncHTTPRequest_Teensy41 v1.9.2
275
275
Initialize Ethernet using DHCP => Connected! IP address:192.168.2.107
276
276
277
277
Sending GET Request to http://worldtimeapi.org/api/timezone/America/Toronto.txt
278
278
279
279
**************************************
280
- abbreviation: EDT
280
+ abbreviation: EST
281
281
client_ip: aaa.bbb.ccc.ddd
282
- datetime: 2022-10-20T23:10:21.133081-04 :00
282
+ datetime: 2022-11-10T13:30:34.026965-05 :00
283
283
day_of_week: 4
284
- day_of_year: 293
285
- dst: true
286
- dst_from: 2022-03-13T07:00:00+00:00
287
- dst_offset: 3600
288
- dst_until: 2022-11-06T06:00:00+00:00
284
+ day_of_year: 314
285
+ dst: false
286
+ dst_from:
287
+ dst_offset: 0
288
+ dst_until:
289
289
raw_offset: -18000
290
290
timezone: America/Toronto
291
- unixtime: 1666321821
292
- utc_datetime: 2022-10-21T03:10:21.133081 +00:00
293
- utc_offset: -04 :00
294
- week_number: 42
291
+ unixtime: 1668105034
292
+ utc_datetime: 2022-11-10T18:30:34.026965 +00:00
293
+ utc_offset: -05 :00
294
+ week_number: 45
295
295
**************************************
296
296
297
297
Sending GET Request to http://worldtimeapi.org/api/timezone/America/Toronto.txt
298
298
299
299
**************************************
300
- abbreviation: EDT
300
+ abbreviation: EST
301
301
client_ip: aaa.bbb.ccc.ddd
302
- datetime: 2022-10-20T23:11:21.138780-04 :00
302
+ datetime: 2022-11-10T13:30:43.989930-05 :00
303
303
day_of_week: 4
304
- day_of_year: 293
305
- dst: true
306
- dst_from: 2022-03-13T07:00:00+00:00
307
- dst_offset: 3600
308
- dst_until: 2022-11-06T06:00:00+00:00
304
+ day_of_year: 314
305
+ dst: false
306
+ dst_from:
307
+ dst_offset: 0
308
+ dst_until:
309
309
raw_offset: -18000
310
310
timezone: America/Toronto
311
- unixtime: 1666321881
312
- utc_datetime: 2022-10-21T03:11:21.138780 +00:00
313
- utc_offset: -04 :00
314
- week_number: 42
311
+ unixtime: 1668105043
312
+ utc_datetime: 2022-11-10T18:30:43.989930 +00:00
313
+ utc_offset: -05 :00
314
+ week_number: 45
315
315
**************************************
316
316
```
317
317
@@ -322,7 +322,7 @@ week_number: 42
322
322
323
323
```
324
324
Start AsyncDweetGET on TEENSY 4.1
325
- AsyncHTTPRequest_Teensy41 v1.9.1
325
+ AsyncHTTPRequest_Teensy41 v1.9.2
326
326
Initialize Ethernet using DHCP => Connected! IP address:192.168.2.107
327
327
328
328
**************************************
@@ -339,7 +339,7 @@ Actual value: 66
339
339
340
340
```
341
341
Start AsyncDweetPOST on TEENSY 4.1
342
- AsyncHTTPRequest_Teensy41 v1.9.1
342
+ AsyncHTTPRequest_Teensy41 v1.9.2
343
343
Initialize Ethernet using DHCP => Connected! IP address:192.168.2.107
344
344
345
345
Making new POST request
@@ -359,43 +359,43 @@ Actual value: 1007
359
359
360
360
```
361
361
Start AsyncSimpleGET on TEENSY 4.1
362
- AsyncHTTPRequest_Teensy41 v1.9.1
362
+ AsyncHTTPRequest_Teensy41 v1.9.2
363
363
Initialize Ethernet using DHCP => Connected! IP address:192.168.2.107
364
364
365
365
**************************************
366
- abbreviation: EDT
366
+ abbreviation: EST
367
367
client_ip: aaa.bbb.ccc.ddd
368
- datetime: 2022-10-20T23:06:21.102828-04 :00
368
+ datetime: 2022-11-10T13:31:03.990079-05 :00
369
369
day_of_week: 4
370
- day_of_year: 293
371
- dst: true
372
- dst_from: 2022-03-13T07:00:00+00:00
373
- dst_offset: 3600
374
- dst_until: 2022-11-06T06:00:00+00:00
370
+ day_of_year: 314
371
+ dst: false
372
+ dst_from:
373
+ dst_offset: 0
374
+ dst_until:
375
375
raw_offset: -18000
376
376
timezone: America/Toronto
377
- unixtime: 1666321581
378
- utc_datetime: 2022-10-21T03:06:21.102828 +00:00
379
- utc_offset: -04 :00
380
- week_number: 42
377
+ unixtime: 1668105063
378
+ utc_datetime: 2022-11-10T18:31:03.990079 +00:00
379
+ utc_offset: -05 :00
380
+ week_number: 45
381
381
**************************************
382
382
383
383
**************************************
384
- abbreviation: EDT
384
+ abbreviation: EST
385
385
client_ip: aaa.bbb.ccc.ddd
386
- datetime: 2022-10-20T23:08:21.131690-04 :00
386
+ datetime: 2022-11-10T13:31:14.045606-05 :00
387
387
day_of_week: 4
388
- day_of_year: 293
389
- dst: true
390
- dst_from: 2022-03-13T07:00:00+00:00
391
- dst_offset: 3600
392
- dst_until: 2022-11-06T06:00:00+00:00
388
+ day_of_year: 314
389
+ dst: false
390
+ dst_from:
391
+ dst_offset: 0
392
+ dst_until:
393
393
raw_offset: -18000
394
394
timezone: America/Toronto
395
- unixtime: 1666321701
396
- utc_datetime: 2022-10-21T03:08:21.131690 +00:00
397
- utc_offset: -04 :00
398
- week_number: 42
395
+ unixtime: 1668105074
396
+ utc_datetime: 2022-11-10T18:31:14.045606 +00:00
397
+ utc_offset: -05 :00
398
+ week_number: 45
399
399
**************************************
400
400
```
401
401
@@ -449,7 +449,8 @@ Submit issues to: [AsyncHTTPRequest_Teensy41 issues](https://github.com/khoih-pr
449
449
7 . Improve debug messages by adding functions to display error messages instead of ` cryptic error number `
450
450
8 . Not try to reconnect to the same ` host:port ` after connected
451
451
9 . Fix bug of wrong ` reqStates `
452
-
452
+ 10 . Default to reconnect to the same ` host:port ` after connected for new HTTP sites.
453
+ 11 . Use ` allman astyle ` and add ` utils `
453
454
454
455
---
455
456
---
0 commit comments