Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wolfeidau/esp32-blufi
This component provides bluetooth onboarding for the ESP32 boards.
https://github.com/wolfeidau/esp32-blufi
bluetooth esp32 iot wireless
Last synced: about 2 months ago
JSON representation
This component provides bluetooth onboarding for the ESP32 boards.
- Host: GitHub
- URL: https://github.com/wolfeidau/esp32-blufi
- Owner: wolfeidau
- License: other
- Created: 2017-03-19T08:28:28.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-20T10:58:21.000Z (almost 8 years ago)
- Last Synced: 2024-04-14T22:49:24.372Z (9 months ago)
- Topics: bluetooth, esp32, iot, wireless
- Language: C
- Homepage: https://github.com/wolfeidau/esp32-blufi
- Size: 7.81 KB
- Stars: 29
- Watchers: 6
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# esp32-blufi
This component provides bluetooth onboarding for the ESP32 boards. It uses bluetooth to delivery the wifi configuration to the device. On top of the existing blufi example in [esp-idf](https://github.com/espressif/esp-idf/tree/master/examples/bluetooth/blufi) it uses Non-Volatile Storage (NVS) to save the credentials and disables the onboarding interface after rebooting, which means it is "closer" to a real demonstration and can be used "as is" in prototypes.
This uses some interesting methods to protect the data in transit between the Android application and the ESP32 and removes the need to HARD CODE the damn wifi credentials in your project code!!
As I understand it it uses Diffie–Hellman key exchange (DH) in conjunction with AES to exchange the wifi information over a GATT connection.
A demonstration esp-idf project is located at [esp32-blufi-demo](https://github.com/wolfeidau/esp32-blufi-demo)
# TODO
* At the moment this example app will NOT expose the bluetooth onboarding once it is setup, this needs to be resettable by HOLDING the EN button for a few seconds, aka Factory reset.
* Once configured the device should be rebooted to disable onboarding, or bluetooth turned off.
* Provide a Arduino example.# Links
This demo uses the recently somewhat opensourced [EspBlufi](https://github.com/EspressifApp/EspBlufi) Android application. This seems to also share code with [BleLiteLib4android](https://github.com/afunx/BleLiteLib4android).
# License
This code is Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD and Mark Wolfe and is released under Apache 2.0 license.