Hi,
I'm trying to build a radio beacon which will emit Dot11 compatible data frames on a Wifi network and am currently focusing on using an ESP32 board running MicroPython. There is a proposed solution on the net which seems to leverage Scapy modules to forge the frames but I don't believe Scapy is available as a MicroPython add on. Does anyone have any insight as to whether this might be a show stopper. I do want to stick to an ESP32/MicroPython approach so need some help finding possible work arounds.
i appreciate this is a complex issue so any pointers would be helpful.
Cheers,
Harry
Scapy, Dot11 Frames - Help
Re: Scapy, Dot11 Frames - Help
I've not heard this term before, but it sounds like you want to be able to send raw crafted 802.11 frames? This is definitely not currently possible from MicroPython.
As far as I understand, this _is_ possible on the ESP32 though using
https://docs.espressif.com/projects/esp ... ace_tPKvib
It would be possible to add a way to call this from Python.
I think the trick here would be to use scapy to construct the packets on your PC and get the format/structure right, and then you can craft them "by hand" on the ESP32 once you know what they look like. (i.e. use scapy as a template, but then construct the bytearrays manually once you know how to format them).