Skip to content

RainMaker Provisioning Issues on ESP32-C3: "Failed to get Wi-Fi scan list" & BLE Association Failure (MEGH-7235) #367

Description

@LukaNatas

Answers checklist.

  • I have read the Rainmaker documentation and the issue is not addressed there.
  • I have updated my IDF branch (release/vX.Y) to the latest version and checked that the issue is present there. This is not applicable if you are using Rainmaker with Arduino.
  • I have searched the Rainmaker forum and issue tracker for a similar issue and not found a similar issue.

General issue report

Hello everyone,
I am working through the RainMaker getting-started exercises and have encountered persistent issues with the provisioning process. I would appreciate any guidance or solutions.
Here is my detailed setup and the problems I'm facing:
My Environment:
OS:​ Windows 11
IDE/Platform:​ Visual Studio Code with the official ESP-IDF extension
ESP-IDF Version:​ v5.3.1
Target Device:​ ESP32-C3
Project Used:​ The official led_lightexample from the ESP RainMaker repository.
Provisioning Transport:​ Configured as BLE (CONFIG_APP_WIFI_PROV_TRANSPORT_BLE=y).
Flashing Process:​ I consistently perform a full flash erase using idf.py erase-flashbefore each new flash to rule out residual data issues.
The Problems:
QR Code Provisioning Failure:
When I attempt to provision the device using the QR code generated in the serial monitor, the RainMaker app fails with the error: "Failed to get Wi-Fi scan list".
The device itself seems to start the SoftAP for provisioning correctly, but the app cannot retrieve the list of available Wi-Fi networks from it.
BLE Provisioning Association Failure:
If I try to provision directly via BLE (without the QR code), the initial BLE connection and "Proof of Possession" (PoP) step appear successful.
However, the process consistently fails at the subsequent stage where the node association is finalized. The device logs indicate a successful BLE connection, but the app reports a failure in completing the node association.
Troubleshooting Attempted:
I have reviewed the official ESP RainMaker documentation but have not found a solution that resolves these specific errors.
Questions:
Has anyone encountered similar "Wi-Fi scan list" failures during QR code provisioning with ESP32-C3 and IDF v5.3.1?
Are there known issues with BLE node association in the current RainMaker SDK that require specific configuration changes?
Could this be related to the Wi-Fi or BLE driver configuration on the ESP32-C3? Any suggestions for further debugging would be greatly appreciated.
Thank you for your time and help

Image

Image

sdkconfig.txt

log.txt

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions