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
NimBLEas the Host - Optionally, disable the
CentralandObserverroles underNimBLE Optionsas this is a beacon only (Broadcastas aPeripheral). You can also set theBLE GAP default device nameto something relevant. I set mine toBLE Beacon.
Copyright Jewel Mahanta jewelmahanta@gmail.com 2024, MIT LICENSE