esp_wifi_80211_tx() and esp_wifi_set_promiscuous_rx_cb()
Posted: Mon May 22, 2023 6:44 am
Hi
I would like to use esp_wifi_80211_tx() and esp_wifi_set_promiscuous_rx_cb().
I need to implement a very customized protocol so I need to be able to send a 802.11 Data Frame.
I also need to receive Data Frames.
In my experiment program I am able to receive only management frames, never a data frame.
Regarding sending I am not sure if the esp_wifi_80211_tx is working sin ce I cannot see a Data Frame being received by Wireshark, but Wireshark doesn't seem to be able to enter into monitor mode on Windows...
I have used an example program https://github.com/Jeija/esp32-80211-tx as a base of the work but this only Sends beacon frames (which I can see on the mobile) when I change it to Data Frames I cannot see these.
Is there any example program that can be used a starting point to use esp_wifi_80211_tx and esp_wifi_set_promiscuous_rx_cb that works with Data Frames.
I noticed that similar APIs existed in the past and they were deprecated. Are esp_wifi_80211_tx() and esp_wifi_set_promiscuous_rx_cb() used in version 5?
I am also analysing the possibility of using ESPnow and UDP but still I would prefer to implement this with the highest degree of control.
I would like to use esp_wifi_80211_tx() and esp_wifi_set_promiscuous_rx_cb().
I need to implement a very customized protocol so I need to be able to send a 802.11 Data Frame.
I also need to receive Data Frames.
In my experiment program I am able to receive only management frames, never a data frame.
Regarding sending I am not sure if the esp_wifi_80211_tx is working sin ce I cannot see a Data Frame being received by Wireshark, but Wireshark doesn't seem to be able to enter into monitor mode on Windows...
I have used an example program https://github.com/Jeija/esp32-80211-tx as a base of the work but this only Sends beacon frames (which I can see on the mobile) when I change it to Data Frames I cannot see these.
Is there any example program that can be used a starting point to use esp_wifi_80211_tx and esp_wifi_set_promiscuous_rx_cb that works with Data Frames.
I noticed that similar APIs existed in the past and they were deprecated. Are esp_wifi_80211_tx() and esp_wifi_set_promiscuous_rx_cb() used in version 5?
I am also analysing the possibility of using ESPnow and UDP but still I would prefer to implement this with the highest degree of control.