Work in progress to implement an BLE sniffer sending packets through REST
- Install ESP32 toolchain as described here. I currently use 1.22.0-75
- Clone esp-idf and set its
IDF_PATH
environment variable. I use v3.0-rc1 - Run
make menuconfig
Network configuration
to configure WiFi, iBeaon & REST ServerComponent config
Bluetooth
->Bluedroid Enable
to activateGATT client module(GATTC)
- (Partially Implemtented) Scan for BLE iBeacon (Search for ~500ms)
- (TODO) Report iBeacons Detected to HTTP Server via REST POST {[{'name': 'ibeaconA', 'uuid': '00000000-0000-0000-0000-000000000000', 'major': 0, 'minor': 0}]}
- (TODO) Broadcast iBeacon every ~500ms
- (TODO) ID if Broadcast & Search be done synchronously?
- (TODO) update OTA
- (TODO) SetConfig via txt / REST