Using an ESP32-WROOM-32E performing these steps:
'idf.py build flash monitor'
successful iPhone add using QRcode
'esptool.py --port $(ESPPORT) erase_region 0x10000 0x6000'
'idf.py build flash monitor' (Note: produced same QR code)
iPhone add fails:
Error
Device could not be connected.
Please try again
TIA - George
PS: Might this be a quota problem?
Error Device could not be connected. Please try again
-
- Posts: 307
- Joined: Wed Feb 20, 2019 7:02 am
Re: Error Device could not be connected. Please try again
Hi George,
No, this is not a quota problem. Often, we have seen that the iOS caches some BLE data and so, the RainMaker app gets stale data and is unable to discover the device with the new name. A poor way to verify this is to reboot your iPhone . Can you try that once and let us know if provisioning works after that?
No, this is not a quota problem. Often, we have seen that the iOS caches some BLE data and so, the RainMaker app gets stale data and is unable to discover the device with the new name. A poor way to verify this is to reboot your iPhone . Can you try that once and let us know if provisioning works after that?
Re: Error Device could not be connected. Please try again
Hi Piyush,
Thanks. We discovered today it isn't a quota problem when the switch example worked fine on an ESP32-S2. Sorry didn't try this before we cried wolf!
We tried restarting the iPhone but that did not fix the provisioning problem we see with our project app code as previously reported.
The problem seems associated with the ESP32.
E.g., we can provision the rainmaker switch example on the ESP-SAOLA-1_V1.2, both when built within the Rainmaker repo and when built copied outside the repo. But when we set-target to esp32 and attempt to provision the switch example on the ESP32-DevKitC_V4 we get the same error, repeated here for convenience ...
Error
Device could not be connected. Please try again
The associated serial log is attached
TIA - George
Thanks. We discovered today it isn't a quota problem when the switch example worked fine on an ESP32-S2. Sorry didn't try this before we cried wolf!
We tried restarting the iPhone but that did not fix the provisioning problem we see with our project app code as previously reported.
The problem seems associated with the ESP32.
E.g., we can provision the rainmaker switch example on the ESP-SAOLA-1_V1.2, both when built within the Rainmaker repo and when built copied outside the repo. But when we set-target to esp32 and attempt to provision the switch example on the ESP32-DevKitC_V4 we get the same error, repeated here for convenience ...
Error
Device could not be connected. Please try again
The associated serial log is attached
TIA - George
- Attachments
-
- provision2.txt.gz
- (4.92 KiB) Downloaded 396 times
Who is online
Users browsing this forum: No registered users and 57 guests