This is a very simple "beacon" made using the NimBLE stack in ESP IDF. The advertisement is in the following format
3 bytes flags | 12 bytes Complete_Local_Name | 16 bytes Manufacturer_Specific_Data
- Open
idf.py menuconfig
- Enable Bluetooth (
Component config > Bluetooth
) - select
NimBLE
as the Host - Optionally, disable the
Central
andObserver
roles underNimBLE Options
as this is a beacon only (Broadcast
as aPeripheral
). You can also set theBLE GAP default device name
to something relevant. I set mine toBLE Beacon
.
Copyright Jewel Mahanta [email protected] 2024, MIT LICENSE