BeaconFrameLib is a library that can be used to create beacon frames, which can be used to fake a WiFi network. Currently this library supports:
- Custom SSID's
- Custom/random MAC addresses
- Custom/random channels This will be expanded to information like security for example.
In the case of any issues that might occur, please send them via the Issues tab. Also, pull requests with new/improved features are always welcome :)
Currently this, and the comments in the code are the only available documentation.
BeaconFrameLib includes two things when included:
int BeaconFrameLength
: this variable stores the length of the beacon frame; changing it is not recommendeduint8_t* build_simple_beacon_frame(char* beacon_name)
: a simple function that allows for a fast creation of beacon packets.uint8_t* build_beacon_packet(char* beacon_name, int* mac_address, int beacon_channel)
: this function builds the beaconpacket (and meanwhile setsint BeaconFrameLength
accordingly). It returns the address of the start of the beacon.
This library depends on:
Currently I have only an example that is suitable for the ESP8266. If you have an example for other devices, please send them via a pull request. I will be more than happy to include it :)
This program is available under the MIT License.