Hi,
I wonder if anyone can post a complete example of sending an 802.11 data frame using the function esp_wifi_80211_tx.
Although it appears I am successfully sending something, my wireshark captures don't indicate any data. Maybe there is a wrong checksum or something like that.
Although there are plenty of examples of sending beacon frames, I don't see anything online for sending data frames, which have obviously a different structure.
Any help would be much appreciated.
sending 802.11 data frame with esp_wifi_80211_tx()
-
- Posts: 27
- Joined: Thu Sep 07, 2017 10:26 am
-
- Posts: 27
- Joined: Thu Sep 07, 2017 10:26 am
esp_wifi_80211_tx() and FCS
Maybe somebody can answer as to whether esp_wifi_80211_tx() generates the FCS or not. Actually I am having a problem with the FCS specifically. I use the ESP32 sniffer to capture frames and the FCS captured does not correspond to CRC of the payload.
Therefore I don't know how to generate the FCS for the esp_wifi_80211_tx() function or whether it is actually needed.
Therefore I don't know how to generate the FCS for the esp_wifi_80211_tx() function or whether it is actually needed.
-
- Posts: 27
- Joined: Thu Sep 07, 2017 10:26 am
Re: sending 802.11 data frame with esp_wifi_80211_tx()
Answering my own question, in fact the esp_wifi_80211_tx function does automatically calculate FCS. My UDP packets were getting lost because I didn't calculate the IP header checksum correctly.
Re: sending 802.11 data frame with esp_wifi_80211_tx()
Hi!
Do you have an example?
Thanks
Do you have an example?
Thanks
Who is online
Users browsing this forum: Bing [Bot] and 228 guests