Hello all,
we are using the component "wifi_provisioning/manager" for provisioning a device over BLE.
Is there a way to pass data (a single string that we don't want in the advertisement phase) from the device, back to the client?
The "custom_prov_data_handler" from the example code is for supporting the other direction from what I'm looking for.
Thank you
Provisioning: Pass data from device to client
Re: Provisioning: Pass data from device to client
This should be a common need when you provision a device over BLE and want this device to connect to a server which will be identified in a unique way for each account/user.
Sending device's serial number for example to the server and to the app on a phone during provisioning, would help matching the app to the server's device so that the app can follow that account without having to keep a BLE connection all the time.
Sending device's serial number for example to the server and to the app on a phone during provisioning, would help matching the app to the server's device so that the app can follow that account without having to keep a BLE connection all the time.
Re: Provisioning: Pass data from device to client
After a little research we found out that we can hijack/use the UUID field used during advertisement to include the serial number.
This is a dirty solution, we will keep looking for something better...
This is a dirty solution, we will keep looking for something better...
Who is online
Users browsing this forum: No registered users and 156 guests