The BLE device doesn't show on the phone

  • ESP32 BLE

Why it happens

  • Advertising wasn't started, or stopped after the first disconnection.
  • Android needs Location switched on to scan on some versions.
  • Looking in the phone's Bluetooth settings instead of a BLE app.

How to fix it

  1. Use a BLE app such as nRF Connect, not the phone's settings.
  2. Switch on Bluetooth, and Location on Android, and allow the app's permission.
  3. Call startAdvertising() again in onDisconnect.
  4. Press reset on the ESP32.

It worked if: The name shows in the scan list with a signal strength.

From how the part works. Common BLE behaviour; not run on a board.

Didn't help? Search another error or ask us.