Hacktivity2016 icon indicating copy to clipboard operation
Hacktivity2016 copied to clipboard

Sending data frames

Open Alphazork opened this issue 8 years ago • 1 comments

How would I send Data frames with your code? Or can it only send Beacons?

Alphazork avatar Jan 28 '18 19:01 Alphazork

Unfortunately the wifi_send_pkt_freedomfunction is very limited. It can only send the ieee80211 header (as discussed here), and in later releases it can only send unencrypted data packet, unencrypted beacon/probe req/probe resp. And cannot send: all encrypted packets (the encrypt bit in the packet has to be 0, otherwise it is not supported), control packet, other management packet except unencrypted beacon/probe req/probe resp. (as discussed here).

If you are fine with unencrypted data packets, then you can try. Simply change the packet array in BasicBeacon.ino, and delete lines 44-60 (since you don't want to randomly change parts of your packet). You might need to keep the first two bytes 0x80, 0x00, as discussed in the second link above.

markszabo avatar Jan 29 '18 11:01 markszabo