Skip to content

[Enhancement] Add LED Status Indicators to SecureProvisioning.ino #4

@Chamath-Adithya

Description

@Chamath-Adithya

Is your feature request related to a problem? Please describe.
Currently, when running the examples/SecureProvisioning/SecureProvisioning.ino sketch, the user has to watch the Serial Monitor to know if the provisioning was successful or if the device is still waiting for credentials. This makes it hard to use the device away from a computer.

Describe the solution you'd like
I would like a contributor to add code that uses the onboard LED (usually GPIO 2 on ESP32) to indicate the device status.

Proposed behavior:

  • Slow Blink (1s): Device is in Provisioning Mode (Advertising via BLE/SoftAP).
  • Fast Blink (200ms): Connecting to WiFi.
  • Solid On: Successfully provisioned and connected.
  • Solid Off: Error or Deep Sleep.

Describe alternatives you've considered
We could use an external RGB LED, but using the built-in LED keeps the example accessible to everyone with a standard ESP32 board.

Additional context

  • File to modify: examples/SecureProvisioning/SecureProvisioning.ino
  • This is a great task for someone new to Arduino/ESP32 programming!

Labels
good first issue, enhancement, WiBLE

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions