I have a project going which requires both UDP and TCP/HTTP access by my system. So far I have been unable to find any UDP Async WiFi libraries which operate with Arduino, let alone in conjunction with TCP. I'm thinking I'm going to have to write my own library to create the interface which will allow both protocols to run asynchronously at the same time.
Is there any documentation describing how the existing asynchronous WiFi libraries work on ESP32? I need to get down to the level of the memory address for the WiFi-Radio hardware interrupt.
BTW: What do people use to write assembly language for ESP32, to be used later as a .h file?
ESP32-WROOM-DA: Need WiFi Interface Details
-
- Posts: 826
- Joined: Mon Jul 22, 2019 3:20 pm
Re: ESP32-WROOM-DA: Need WiFi Interface Details
If you are a bit clearer about what you mean, we can help you much faster.
There are AsyncUDP and AsyncTCP libraries for arduino-esp32. They both run FreeRTOS tasks which then reach down to directly access the ESP-IDF functionality.
The ESP-IDF framework uses a customized version of LwIP (esp_lwip). LwIP provides sockets and many higher level protocols.
LwIP then interacts with the WiFi driver through Net-IF layer events.
The WiFi driver itself is a proprietary blob which does the radio control. The radio functions are not documented nor are they intended to be user-accessible.
There are AsyncUDP and AsyncTCP libraries for arduino-esp32. They both run FreeRTOS tasks which then reach down to directly access the ESP-IDF functionality.
The ESP-IDF framework uses a customized version of LwIP (esp_lwip). LwIP provides sockets and many higher level protocols.
LwIP then interacts with the WiFi driver through Net-IF layer events.
The WiFi driver itself is a proprietary blob which does the radio control. The radio functions are not documented nor are they intended to be user-accessible.
Who is online
Users browsing this forum: Google [Bot] and 13 guests