Open FlynnMa opened 2 years ago
update:
If I copy the provision url
and open from browser, I can successfully scan it, but still I get failed like:
with logs:
I (1675) protocomm_nimble: BLE Host Task Started
I (1685) NimBLE: GAP procedure initiated: stop advertising.
I (1685) NimBLE: GAP procedure initiated: advertise;
I (1695) NimBLE: disc_mode=2
I (1695) NimBLE: adv_channel_map=0 own_addr_type=0 adv_filter_policy=0 adv_itvl_min=256 adv_itvl_max=256
I (1705) NimBLE:
I (1715) wifi_prov_mgr: Provisioning started with service name : PROV_42e94e
I (1715) app_wifi: *1 - Provisioning started
I (1725) esp_rmaker_local: Event 1
I (1725) app_wifi: Scan this QR code from the ESP RainMaker phone app for Provisioning.
█▀▀▀▀▀█ ▄▄█ ▄█▄ ▄▀█▄▀█ █▀▀▀▀▀█
█ ███ █ ▀▄ ▄ ██▀ ▄█ ▄█ █ ███ █
█ ▀▀▀ █ █▀█ █▀██ ▄▄▀█▀▀▀ █ ▀▀▀ █
▀▀▀▀▀▀▀ █ █▄▀ ▀ ▀▄▀ █▄▀▄█ ▀▀▀▀�▀▀
██▄█▄ ▀█▄▄ ██▀▄▀█▄█ ▀██▀ ▄█▀▀▄▀▀▄
▄ ▄▄█�▀▀▄▄▄██▄█▄ ▀ ▄▀▄▄ ▄█ █
█▀▄▄█▄▀ ▀▄▀█ ▀▀ ██▄ █▄█▄▀█ ▄▄ ▀█
▄ █ ▄█▀█████ █ ▄▀ ▄▄▀█▀ ▄█ █▄
▀▀▄�▀ ▀█▀ ▄ █▄▄ ███▀██ ▄█▀ ▀▀▄ ▀
██▀▄▄▀▀ █▀▀█▀▀ ▀▄█▄▀██ ▄ █▄▄▄ ▀█
▄█ ▄▄▀▀█▄█▄ ▀▀▀█▄▀▀▀▀▀▄█ ▄▄ █ ▄▄
▀█▄ ▀▀ ▄▀ █▄▄▀▀▀▀█▄▀▄▀█ ▄▄ ▀▀
▀ ▀▀▀▀▀▀▄▄ ▄█▀ ▀▀▀▄▀██ █▀▀▀█▀ ▄▄
█▀▀▀▀▀█ ▀▀ █▄█ ▀█ ▄ █▀▀ ▀ ██ █
█ ███ █ ▄▄▀▀▀▄█ █▀▀▀ ██ ▀████▀ ▄█
█ ▀▀� █ ▄ ▄▄▀▀▄▀█▀▄▄▄█ ▀ ▄▀█▀▀▀
▀▀▀▀▀▀▀ ▀ ▀ ▀▀ ▀ ▀ ▀ ▀ ▀▀ ▀
I (1915) app_wifi: If QR code is not visible, copy paste the below URL in a browser.
https://rainmaker.espressif.com/qrcode.html?data={"ver":"v1","name":"PROV_42e94e","pop":"75574429","transport":"ble"}
I (1935) app_wifi: Provisioning Started. Name : PROV_42e94e, POP : 75574429
I (1945) app_wifi: Provisioning will auto stop after 30 minute(s).
I (16385) NimBLE: GAP procedure initiated: advertise;
I (16385) NimBLE: disc_mode=2
I (16385) NimBLE: adv_channel_map=0 own_addr_type=0 adv_filter_policy=0 adv_itvl_min=256 adv_itvl_max=256
I (16395) NimBLE:
Then I continue to manually provision, I got the same crash...
Hi @FlynnMa, Do you still have this issue? Which idf version are you currently using? I've tested this using esp32 c3 on idf v4.4.
Hi @sanketwadekar
It was long time ago, I think it still exist, but I am not working on my ESP32 recently, maybe you can try reproduce with idf5.0 and py3.10
Need help,esp32 is stuck. tried both scan and manual(ble). Tried examples and some sketches also from YouTube.still unable to confirm the wifi connection. ![Uploading Screenshot_2022-09-15-20-27-21-22_40deb401b9ffe8e1df2f1cc5ba480b12.jpg…]()
The most probable reason for this is that the wifi_prov_mgr_start_provisioning() API has changed in release/v5.0. This API may further change, fixing this issue automatically.
Is there any other way to solve the problem
@nasimshah05 Use IDF 4.4 for compiling rainmaker examples
Hi,
I recently created my new workspace using esp rainmaker to run with my esp32c3. I managed to build idf and the 'switch' example from esp-rainmaker, here is the guide I am following: https://rainmaker.espressif.com/docs/get-started.html I also tried other examples under esp-rainmaker, they performs same at this point.
But always, I get crashed immediately after I input POP code when I try connect manually, it also happens when I scan to connect, most time it crashes. I couldn't figure out after spending 2 days debugging, here is my log looks like:
I tried with command:
here is what I get when I provision with WIFI:
I also tried with BLE, it also crashes similarly, the above command would return: