esp-idf/examples/bluetooth/ble_eddystone
Tian Hao ee787085f9 component/bt : decrease memory consumption by conn number
1. BLE only with 9(max) connection will decrease 3K DRAM
2. BR/EDR only with 7(max) connection will decrease 16K DRAM
3. Any of BLE or BR/EDR connection number decrease will also decrease DRAM consumption
4. Decrease one BLE connection will save about 1KB DRAM
5. Decrease one BR/EDR ACL connection will save about 1.2KB DRAM
6. Decrease one BR/EDR SCO/eSCO will save 2KB DRAM.
7. fix some definition and kconfig
8. remove 1.2k of vhci tx cache and make .bss & .data to heap about 1.4K
9. modify BT Reserved Memory size and modify example to support new bt kconfig
2018-08-14 02:29:17 +00:00
..
main Component/bt: fix scan duplicate 2018-05-21 15:23:15 +08:00
Makefile example : eddystone demo 2017-09-15 11:06:46 +08:00
README.md component/bt: add link of tutorial in README.rst 2018-01-03 11:13:27 +08:00
sdkconfig.defaults component/bt : decrease memory consumption by conn number 2018-08-14 02:29:17 +00:00

ESP-IDF Eddystone demo

This example demonstrates Eddystone-compatible BLE scanning of eddystone frame,including UID,URL.

Eddystone is an open beacon protocol specification from Google aimed at improving “proximity-based experiences” with support for both Android and iOS smart device platforms.

Learn more on https://developers.google.com/beacons and https://github.com/google/eddystone.

esp_eddystone_protocol.h

This header file includes some eddystone-protocol related definitions.

esp_eddystone_api.h & esp_eddystone_api.c

These files contains the decoding and decoded result of an eddystone frame packet.

You just need to include esp_eddystone_protocol.h, esp_eddystone_api.h and esp_eddystone_api.c for development.

esp_eddystone_demo.c

This is an example/demo of using esp_eddystone_protocol.h, esp_eddystone_api.h and esp_eddystone_api.c files to resolve eddystone packet.