solum
solum copied to clipboard
Trouble reprogramming probe to a router
For our purposes, we would like to connect to the probe via a router. We were able to reprogram it once, after multiple tries, using the solum_qt example. Unfortunately, the probe's software update has reset its settings, and the probe went back to the default AP mode. Since then, we have not been able to reprogram it again.
Steps to reproduce the behavior:
- Connect to the probes Bluetooth module
- Wait for Ble::wifiReady signal ('Wifi' button to become avaliable)
- Put proper network credentials
- Click on 'Wifi' button (and wait for a little bit)
- Turn on the probe and wait for Ble::wifiInfo signal or
- Turn on the probe
- Click on 'Wifi' button before (or after) Ble::wifiInfo signal is sent
- Probe is still in AP mode (SSID starts with 'DIRECT-')
In either of these cases, we get a 'true' return from the ble_.requestWifi(req) method. Are we missing something? What is the appropriate sequence and expected behavior? Is there a way to get a return value that the probe successfully reprogrammed other than the proper info in the Ble::wifiInfo signal (for automation purposes)?
Environment: Solum v11.1 Windows 10 Pro 21H2 Qt 5.15.2 MVS 2022