I'm trying to figure out how to send some custom data with my BLE provisioning. None of the examples are very clear but I may have missed something since the documentation is kind of thick. My use case is that I have an iOS app and my device (ESP32-WROOM-32). The end goal is this: send the devices mac address to the phone, and have the phone send an auth token (generated by our backend server) with the wifi credentials to the device.
Right now I have regular BLE wifi provisioning implemented and it works great. But I'm new to using bluetooth so unsure how to do the mac/auth token exchange. I'm assuming I'll have to do more research and write some custom solution, but if I missed an easy way to do this with the built in examples/libraries I'd appreciate it if someone could point me in the right direction.
Thanks.
How do I do wifi provisioning with BLE and custom data?
-
- Posts: 21
- Joined: Wed Oct 30, 2019 5:17 am
-
- Posts: 21
- Joined: Wed Oct 30, 2019 5:17 am
Re: How do I do wifi provisioning with BLE and custom data?
Thanks! That's exactly what I needed.chegewara wrote: ↑Thu Nov 14, 2019 7:38 pmI think you might have looking for that:
https://docs.espressif.com/projects/esp ... -endpoints