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...
Search found 7 matches
- Thu Nov 17, 2022 8:44 am
- Forum: General Discussion
- Topic: Provisioning: Pass data from device to client
- Replies: 2
- Views: 1769
- Tue Nov 15, 2022 2:27 pm
- Forum: General Discussion
- Topic: Provisioning: Pass data from device to client
- Replies: 2
- Views: 1769
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 th...
- Fri Nov 04, 2022 2:47 pm
- Forum: General Discussion
- Topic: Provisioning: Pass data from device to client
- Replies: 2
- Views: 1769
Provisioning: Pass data from device to client
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 supportin...
- Fri Nov 04, 2022 1:01 pm
- Forum: ESP-IDF
- Topic: How to re-provision ESP with wifi credentials without forcing a reboot?
- Replies: 11
- Views: 17029
Re: How to re-provision ESP with wifi credentials without forcing a reboot?
Thank you but this commit is for re-provisioning if initial attempt was successful!
My problem is how to re-provision the device if the user mistyped his WiFi password without having to restart the device (and reconnect BLE). And I'm also on IDF 4.2.1 which is probably a dealbreaker straight away
My problem is how to re-provision the device if the user mistyped his WiFi password without having to restart the device (and reconnect BLE). And I'm also on IDF 4.2.1 which is probably a dealbreaker straight away
- Wed Nov 02, 2022 6:55 am
- Forum: ESP-IDF
- Topic: Provisioning manager - Event when smartphone connects
- Replies: 4
- Views: 4451
Re: Provisioning manager - Event when smartphone connects
Thank you Laukik. I'm glad this is addressed.
- Wed Nov 02, 2022 6:54 am
- Forum: ESP-IDF
- Topic: How to re-provision ESP with wifi credentials without forcing a reboot?
- Replies: 11
- Views: 17029
Re: How to re-provision ESP with wifi credentials without forcing a reboot?
Original question (and my request too) is to avoid the reboot and re-accept credentials. I'm on BLE too and if the user "accidentally" enters wrong WiFi password it makes much sense (after an event or even timeout && ! IP_EVENT_STA_GOT_IP) to clear the state and re-accept new credentials. Modifying ...
- Tue Nov 01, 2022 12:54 pm
- Forum: ESP-IDF
- Topic: Provisioning manager - Event when smartphone connects
- Replies: 4
- Views: 4451
Re: Provisioning manager - Event when smartphone connects
@daviherc did you find a way to catch that event for BLE?