I need to send raw packets with function esp_wifi_80211_tx() as fast as possible. Currently if I try sending in a loop as fast as possible, sending fails, the function esp_wifi_80211_tx() always returns error and does not recover.
Documentation for this function says the following:
* @attention 4. Only after the previous packet was sent, entered the sent callback,
* the next packet is allowed to send. Otherwise, wifi_send_pkt_freedom
* will return fail.
So if I understand correctly, I must wait until the sent callback is entered before sending another packet to avoid this error. But which callback is that? How can I access that callback? I cannot find how to access this in the documentation.
Maximize transmission rate with function esp_wifi_80211_tx()
Who is online
Users browsing this forum: MicroController and 137 guests