How do I do wifi provisioning with BLE and custom data?
Posted: Thu Nov 14, 2019 6:32 pm
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.
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.