77
88<a href =" https://www.buymeacoffee.com/khoihprog6 " title =" Donate to my libraries using BuyMeACoffee " ><img src =" https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png " alt =" Donate to my libraries using BuyMeACoffee " style =" height : 50px !important ;width : 181px !important ;" ></a >
99<a href =" https://www.buymeacoffee.com/khoihprog6 " title =" Donate to my libraries using BuyMeACoffee " ><img src =" https://img.shields.io/badge/buy%20me%20a%20coffee-donate-orange.svg?logo=buy-me-a-coffee&logoColor=FFDD00 " style =" height : 20px !important ;width : 200px !important ;" ></a >
10+ <a href =" https://profile-counter.glitch.me/khoih-prog-Portenta-H7-AsyncHTTPRequest/count.svg " title =" Visitor count " ><img src =" https://profile-counter.glitch.me/khoih-prog-Portenta-H7-AsyncHTTPRequest/count.svg " style =" height : 30px ;width : 200px ;" ></a >
1011
1112---
1213---
@@ -120,7 +121,7 @@ This library is based on, modified from:
1201211 . ** Portenta_H7 boards** such as Portenta_H7 Rev2 ABX00042, etc., using [ ** ArduinoCore-mbed mbed_portenta** core] ( https://github.com/arduino/ArduinoCore-mbed ) using ` Vision-shield Ethernet ` or ` Murata WiFi `
121122
122123<p align =" center " >
123- <img src="https://github.com/khoih-prog/Portenta_H7_AsyncHTTPRequest/blob /main/pics/Portenta_Vision.jpg">
124+ <img src="https://github.com/khoih-prog/Portenta_H7_AsyncHTTPRequest/raw /main/pics/Portenta_Vision.jpg">
124125</p >
125126
126127
@@ -262,15 +263,15 @@ Please take a look at other examples, as well.
262263
263264#### 1. File [ AsyncHTTPRequest.ino] ( examples/Ethernet/AsyncHTTPRequest/AsyncHTTPRequest.ino )
264265
265- https://github.com/khoih-prog/Portenta_H7_AsyncHTTPRequest/blob/6ad432146ddce63a132f0436ff089a63e97e8432 /examples/Ethernet/AsyncHTTPRequest/AsyncHTTPRequest.ino#L44-L174
266+ https://github.com/khoih-prog/Portenta_H7_AsyncHTTPRequest/blob/13c9304d5d4fbbfb54e8f7fef981dd8f68ce9994 /examples/Ethernet/AsyncHTTPRequest/AsyncHTTPRequest.ino#L44-L184
266267
267268
268269---
269270
270271#### 2. File [ defines.h] ( examples/Ethernet/AsyncHTTPRequest/defines.h )
271272
272273
273- https://github.com/khoih-prog/Portenta_H7_AsyncHTTPRequest/blob/6ad432146ddce63a132f0436ff089a63e97e8432 /examples/Ethernet/AsyncHTTPRequest/defines.h#L23-L68
274+ https://github.com/khoih-prog/Portenta_H7_AsyncHTTPRequest/blob/13c9304d5d4fbbfb54e8f7fef981dd8f68ce9994 /examples/Ethernet/AsyncHTTPRequest/defines.h#L23-L68
274275
275276
276277---
@@ -283,44 +284,44 @@ https://github.com/khoih-prog/Portenta_H7_AsyncHTTPRequest/blob/6ad432146ddce63a
283284```
284285Start AsyncHTTPRequest on PORTENTA_H7_M7
285286Portenta_H7_AsyncTCP v1.4.0
286- Portenta_H7_AsyncHTTPRequest v1.4.1
287+ Portenta_H7_AsyncHTTPRequest v1.4.2
287288Using mac index = 15
288289Connected! IP address: 192.168.2.101
289290Request sent
290291**************************************
291- abbreviation: EDT
292+ abbreviation: EST
292293client_ip: aaa.bbb.ccc.ddd
293- datetime: 2022-10-20T23:04:21.101705-04 :00
294+ datetime: 2022-11-10T14:03:19.073880-05 :00
294295day_of_week: 4
295- day_of_year: 293
296- dst: true
297- dst_from: 2022-03-13T07:00:00+00:00
298- dst_offset: 3600
299- dst_until: 2022-11-06T06:00:00+00:00
296+ day_of_year: 314
297+ dst: false
298+ dst_from:
299+ dst_offset: 0
300+ dst_until:
300301raw_offset: -18000
301302timezone: America/Toronto
302- unixtime: 1666321461
303- utc_datetime: 2022-10-21T03:04:21.101705 +00:00
304- utc_offset: -04 :00
305- week_number: 42
303+ unixtime: 1668106999
304+ utc_datetime: 2022-11-10T19:03:19.073880 +00:00
305+ utc_offset: -05 :00
306+ week_number: 45
306307**************************************
307308
308309**************************************
309- abbreviation: EDT
310+ abbreviation: EST
310311client_ip: aaa.bbb.ccc.ddd
311- datetime: 2022-10-20T23:05:21.101861-04 :00
312+ datetime: 2022-11-10T14:03:29.094926-05 :00
312313day_of_week: 4
313- day_of_year: 293
314- dst: true
315- dst_from: 2022-03-13T07:00:00+00:00
316- dst_offset: 3600
317- dst_until: 2022-11-06T06:00:00+00:00
314+ day_of_year: 314
315+ dst: false
316+ dst_from:
317+ dst_offset: 0
318+ dst_until:
318319raw_offset: -18000
319320timezone: America/Toronto
320- unixtime: 1666321521
321- utc_datetime: 2022-10-21T03:05:21.101861 +00:00
322- utc_offset: -04 :00
323- week_number: 42
321+ unixtime: 1668107009
322+ utc_datetime: 2022-11-10T19:03:29.094926 +00:00
323+ utc_offset: -05 :00
324+ week_number: 45
324325**************************************
325326```
326327
@@ -331,7 +332,7 @@ week_number: 42
331332```
332333Start AsyncDweetPOST on PORTENTA_H7_M7
333334Portenta_H7_AsyncTCP v1.4.0
334- Portenta_H7_AsyncHTTPRequest v1.4.1
335+ Portenta_H7_AsyncHTTPRequest v1.4.2
335336Connecting to SSID: HueNet1
336337SSID: HueNet1
337338Local IP Address: 192.168.2.94
@@ -354,7 +355,7 @@ Actual value: 88
354355```
355356Start AsyncWebClientRepeating on PORTENTA_H7_M7
356357Portenta_H7_AsyncTCP v1.4.0
357- Portenta_H7_AsyncHTTPRequest v1.4.1
358+ Portenta_H7_AsyncHTTPRequest v1.4.2
358359Connecting to SSID: HueNet1
359360SSID: HueNet1
360361Local IP Address: 192.168.2.94
@@ -412,28 +413,28 @@ signal strength (RSSI):-26 dBm
412413```
413414Start AsyncCustomHeader on PORTENTA_H7_M7
414415Portenta_H7_AsyncTCP v1.4.0
415- Portenta_H7_AsyncHTTPRequest v1.4.1
416+ Portenta_H7_AsyncHTTPRequest v1.4.2
416417Using mac index = 15
417418Connected! IP address: 192.168.2.87
418419
419420Sending GET Request to http://worldtimeapi.org/api/timezone/America/Toronto.txt
420421
421422**************************************
422- abbreviation: EDT
423+ abbreviation: EST
423424client_ip: aaa.bbb.ccc.ddd
424- datetime: 2022-10-20T23:08:21.131690-04 :00
425+ datetime: 2022-11-10T14:03:39.083413-05 :00
425426day_of_week: 4
426- day_of_year: 293
427- dst: true
428- dst_from: 2022-03-13T07:00:00+00:00
429- dst_offset: 3600
430- dst_until: 2022-11-06T06:00:00+00:00
427+ day_of_year: 314
428+ dst: false
429+ dst_from:
430+ dst_offset: 0
431+ dst_until:
431432raw_offset: -18000
432433timezone: America/Toronto
433- unixtime: 1666321701
434- utc_datetime: 2022-10-21T03:08:21.131690 +00:00
435- utc_offset: -04 :00
436- week_number: 42
434+ unixtime: 1668107019
435+ utc_datetime: 2022-11-10T19:03:39.083413 +00:00
436+ utc_offset: -05 :00
437+ week_number: 45
437438**************************************
438439```
439440
@@ -445,7 +446,7 @@ week_number: 42
445446```
446447Start AsyncWebClientRepeating on PORTENTA_H7_M7
447448Portenta_H7_AsyncTCP v1.4.0
448- Portenta_H7_AsyncHTTPRequest v1.4.1
449+ Portenta_H7_AsyncHTTPRequest v1.4.2
449450Using mac index = 16
450451Connected! IP address: 192.168.2.87
451452
@@ -502,45 +503,45 @@ Connected! IP address: 192.168.2.87
502503```
503504Start AsyncSimpleGET on PORTENTA_H7_M7
504505Portenta_H7_AsyncTCP v1.4.0
505- Portenta_H7_AsyncHTTPRequest v1.4.1
506+ Portenta_H7_AsyncHTTPRequest v1.4.2
506507Using mac index = 7
507508Connected! IP address: 192.168.2.87
508509
509510**************************************
510- abbreviation: EDT
511+ abbreviation: EST
511512client_ip: aaa.bbb.ccc.ddd
512- datetime: 2022-10-20T23:09:21.132613-04 :00
513+ datetime: 2022-11-10T14:03:39.083413-05 :00
513514day_of_week: 4
514- day_of_year: 293
515- dst: true
516- dst_from: 2022-03-13T07:00:00+00:00
517- dst_offset: 3600
518- dst_until: 2022-11-06T06:00:00+00:00
515+ day_of_year: 314
516+ dst: false
517+ dst_from:
518+ dst_offset: 0
519+ dst_until:
519520raw_offset: -18000
520521timezone: America/Toronto
521- unixtime: 1666321761
522- utc_datetime: 2022-10-21T03:09:21.132613 +00:00
523- utc_offset: -04 :00
524- week_number: 42
522+ unixtime: 1668107019
523+ utc_datetime: 2022-11-10T19:03:39.083413 +00:00
524+ utc_offset: -05 :00
525+ week_number: 45
525526**************************************
526527
527528**************************************
528- abbreviation: EDT
529+ abbreviation: EST
529530client_ip: aaa.bbb.ccc.ddd
530- datetime: 2022-10-20T23:10:21.133081-04 :00
531+ datetime: 2022-11-10T14:03:49.122480-05 :00
531532day_of_week: 4
532- day_of_year: 293
533- dst: true
534- dst_from: 2022-03-13T07:00:00+00:00
535- dst_offset: 3600
536- dst_until: 2022-11-06T06:00:00+00:00
533+ day_of_year: 314
534+ dst: false
535+ dst_from:
536+ dst_offset: 0
537+ dst_until:
537538raw_offset: -18000
538539timezone: America/Toronto
539- unixtime: 1666321821
540- utc_datetime: 2022-10-21T03:10:21.133081 +00:00
541- utc_offset: -04 :00
542- week_number: 42
543- **************************************
540+ unixtime: 1668107029
541+ utc_datetime: 2022-11-10T19:03:49.122480 +00:00
542+ utc_offset: -05 :00
543+ week_number: 45
544+ ************************************
544545```
545546
546547
@@ -597,6 +598,8 @@ Submit issues to: [Portenta_H7_AsyncHTTPRequest issues](https://github.com/khoih
597598 9 . Improve debug messages by adding functions to display error messages instead of ` cryptic error number `
59859910 . Not try to reconnect to the same ` host:port ` after connected
59960011 . Fix bug of wrong ` reqStates `
601+ 12 . Default to reconnect to the same ` host:port ` after connected for new HTTP sites.
602+ 13 . Use ` allman astyle ` and add ` utils `
600603
601604
602605---
@@ -629,7 +632,7 @@ If you want to contribute to this project:
629632
630633### License and credits ###
631634
632- - The library is licensed under [ GPLv3] ( https://github.com/khoih-prog/Portenta_H7_AsyncHTTPRequest/blob/master /LICENSE )
635+ - The library is licensed under [ GPLv3] ( https://github.com/khoih-prog/Portenta_H7_AsyncHTTPRequest/blob/main /LICENSE )
633636
634637---
635638
0 commit comments