AsyncTCP, AsyncUDP, AsyncWebServer and AsyncHTTPRequest for Portenta_H7, supporting both Ethernet and WiFi now

The first Portenta_H7_AsyncTCP library of the Async series of libraries for Portenta_H7 has been published. Some more will follow shortly


arduino-library-badgeGitHub release

Features

This library is based on, modified from:

  1. Hristo Gochkov's ESPAsyncTCP
  2. Phil Bowles' STM32AsyncTCP

to apply the better and faster asynchronous feature of the powerful ESPAsyncTCP Library into Portenta_H7 boards, and will be the base for future and more advanced Async libraries for Portenta_H7, such as Portenta_H7_AsyncWebServer, Portenta_H7_AsyncHTTPRequest, Portenta_H7_AsyncHTTPSRequest

Why Async is better

  • Using asynchronous network means that you can handle more than one connection at the same time
  • You are called once the request is ready and parsed
  • When you send the response, you are immediately ready to handle other connections while the server is taking care of sending the response in the background
  • Speed is OMG
  • Easy to use API, HTTP Basic and Digest MD5 Authentication (default), ChunkedResponse
  • Easily extensible to handle any type of content
  • Supports Continue 100
  • Async WebSocket plugin offering different locations without extra servers or ports
  • Async EventSource (Server-Sent Events) plugin to send events to the browser
  • URL Rewrite plugin for conditional and permanent url rewrites
  • ServeStatic plugin that supports cache, Last-Modified, default index and more
  • Simple template processing engine to handle templates

Currently supported Boards

  1. Portenta_H7 boards such as Portenta_H7 Rev2 ABX00042, etc., using ArduinoCore-mbed mbed_portenta core

Changelog

Initial Releases v1.0.0

  1. Initial coding to support Portenta_H7 boards such as Portenta_H7 Rev2 ABX00042, etc., using ArduinoCore-mbed mbed_portenta core and Vision-shield Ethernet
1 Like