Closed Nicholas3388 closed 6 years ago
It might be possible to fix. I see two approaches here:
ieee80211_freedom_output
and figure out why it isn't working anymoreieee80211_freedom_output
from an old esp32-wifi-lib version and link it with this projectThe first solution is cleaner, but it means reverse enginnering the new ieee80211_freedom_output
. You could do this by decompiling your compiled ELF file (xtensa-esp32-elf-objdump -D esp32free80211.elf
), reading up on the xtensa instruction set and trying to decode what ieee80211_freedom_output
is doing and where it fails. Running the code on the ESP32 will give you the program counter PC
as well as an error description and register values when the program crashes. I might be able to do this myself at some point, but I can't promise when that will be.
@Jeija Thanks for you advice. I'll try to reverse engineer
Hi, Can you tell me more about how to compile it? You have mentioned it needs specific version of esp32-wifi-lib, but what I see is it depends on esp-idf repository only. My error message is "undefined reference to `ieee80211_freedom_output'".
Alan
@chaotaklon I used a specific tag of esp-idf, I think it was v2.0, which will use a working version of esp32-wifi-lib.
@JanLochi Thanks for your quick response. It works for me. In esp-idf repo, type the following cmd: $ git checkout tags/v2.0 $ git submodule update --init --recursive
@Jeija Reverse engineer is a good idea!
It's also mentioned in the README now, but in case someone didn't notice: Please use https://github.com/Jeija/esp32-80211-tx instead if you want to use the latest esp-idf.
Hi, the esp32free80211 is not work with the latest esp-idf. Is it possible to fix it?