@@ -106,7 +106,7 @@ This library is based on, modified from:
106106
107107 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 )
108108 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.
110110 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 )
111111
112112---
@@ -201,14 +201,14 @@ Have a look at the discussion in [Different behaviour using the src_cpp or src_h
201201
202202#### 1. File [ AsyncHTTPRequest.ino] ( examples/AsyncHTTPRequest/AsyncHTTPRequest.ino )
203203
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
205205
206206
207207---
208208
209209#### 2. File [ defines.h] ( examples/AsyncHTTPRequest/defines.h )
210210
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
212212
213213
214214---
@@ -224,43 +224,43 @@ https://github.com/khoih-prog/AsyncHTTPRequest_Teensy41/blob/d75e5e296dd01c143b3
224224
225225```
226226Start AsyncHTTPRequest on TEENSY 4.1
227- AsyncHTTPRequest_Teensy41 v1.9.1
227+ AsyncHTTPRequest_Teensy41 v1.9.2
228228Initialize Ethernet using DHCP => Connected! IP address:192.168.2.107
229229
230230**************************************
231- abbreviation: EDT
231+ abbreviation: EST
232232client_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:
240240raw_offset: -18000
241241timezone: 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
246246**************************************
247247
248248**************************************
249- abbreviation: EDT
249+ abbreviation: EST
250250client_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:
258258raw_offset: -18000
259259timezone: 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
264264**************************************
265265```
266266
@@ -271,47 +271,47 @@ week_number: 42
271271
272272```
273273Start AsyncCustomHeader on TEENSY 4.1
274- AsyncHTTPRequest_Teensy41 v1.9.1
274+ AsyncHTTPRequest_Teensy41 v1.9.2
275275Initialize Ethernet using DHCP => Connected! IP address:192.168.2.107
276276
277277Sending GET Request to http://worldtimeapi.org/api/timezone/America/Toronto.txt
278278
279279**************************************
280- abbreviation: EDT
280+ abbreviation: EST
281281client_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
283283day_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:
289289raw_offset: -18000
290290timezone: 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
295295**************************************
296296
297297Sending GET Request to http://worldtimeapi.org/api/timezone/America/Toronto.txt
298298
299299**************************************
300- abbreviation: EDT
300+ abbreviation: EST
301301client_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
303303day_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:
309309raw_offset: -18000
310310timezone: 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
315315**************************************
316316```
317317
@@ -322,7 +322,7 @@ week_number: 42
322322
323323```
324324Start AsyncDweetGET on TEENSY 4.1
325- AsyncHTTPRequest_Teensy41 v1.9.1
325+ AsyncHTTPRequest_Teensy41 v1.9.2
326326Initialize Ethernet using DHCP => Connected! IP address:192.168.2.107
327327
328328**************************************
@@ -339,7 +339,7 @@ Actual value: 66
339339
340340```
341341Start AsyncDweetPOST on TEENSY 4.1
342- AsyncHTTPRequest_Teensy41 v1.9.1
342+ AsyncHTTPRequest_Teensy41 v1.9.2
343343Initialize Ethernet using DHCP => Connected! IP address:192.168.2.107
344344
345345Making new POST request
@@ -359,43 +359,43 @@ Actual value: 1007
359359
360360```
361361Start AsyncSimpleGET on TEENSY 4.1
362- AsyncHTTPRequest_Teensy41 v1.9.1
362+ AsyncHTTPRequest_Teensy41 v1.9.2
363363Initialize Ethernet using DHCP => Connected! IP address:192.168.2.107
364364
365365**************************************
366- abbreviation: EDT
366+ abbreviation: EST
367367client_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
369369day_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:
375375raw_offset: -18000
376376timezone: 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
381381**************************************
382382
383383**************************************
384- abbreviation: EDT
384+ abbreviation: EST
385385client_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
387387day_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:
393393raw_offset: -18000
394394timezone: 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
399399**************************************
400400```
401401
@@ -449,7 +449,8 @@ Submit issues to: [AsyncHTTPRequest_Teensy41 issues](https://github.com/khoih-pr
449449 7 . Improve debug messages by adding functions to display error messages instead of ` cryptic error number `
450450 8 . Not try to reconnect to the same ` host:port ` after connected
451451 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 `
453454
454455---
455456---
0 commit comments