Skip to content

Sending data frames #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Alphazork opened this issue Jan 28, 2018 · 1 comment
Open

Sending data frames #1

Alphazork opened this issue Jan 28, 2018 · 1 comment

Comments

@Alphazork
Copy link

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

@markszabo
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants