Hello,
I’m working on implementing BLE communication between two ESP32 devices (both running ESP‑IDF v4.4).
My goal is to send one‑way data from the peripheral to the central.
I started from the sample code and customized it.
[Issue]
The central cannot detect the peripheral’s 128‑bit UUID, even though it can scan and detect other devices and their UUIDs.
I’ve reviewed my code but haven’t found the cause.
[Current status]
Peripheral:
Starts advertising with a 128‑bit UUID.
My smartphone (acting as a central) can detect and connect to it successfully.
Central:
Starts scanning without errors and detects other devices’ UUIDs correctly.
But it never detects the UUID from my peripheral.
[Question]
Could you please give me any tips or possible causes I should check to solve this problem?
[Here are some logs for reference]
• First image: Peripheral advertising logs (showing 128-bit UUID raw data)
• Second image: Central scan logs (showing other devices detected but no 128-bit UUID from the peripheral)
Thank you in advance!
ESP32 NimBLE central cannot discover my peripheral’s advertising (scan issue)
ESP32 NimBLE central cannot discover my peripheral’s advertising (scan issue)
- Attachments
-
- My log.png (246.52 KiB) Viewed 143 times
Who is online
Users browsing this forum: No registered users and 3 guests