Skip to content

debruss/BeaconFrameLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BeaconFrameLib

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.

Contribute

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 :)

Documentation

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 recommended
  • uint8_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 sets int BeaconFrameLength accordingly). It returns the address of the start of the beacon.

Libraries

This library depends on:

Examples

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 :)

License

This program is available under the MIT License.

About

BeaconFrameLib is a library that can be used to create beacon frames.

Resources

License

Stars

Watchers

Forks

Packages

No packages published