esp32 nimble gatt server official example not working

akashgaur0001
Posts: 1
Joined: Wed Jun 24, 2026 6:58 am

esp32 nimble gatt server official example not working

Postby akashgaur0001 » Wed Jun 24, 2026 7:21 am

I am using the ble get started example from nimble named NimBLE_gatt_server(raw code) it connects with my using the app nrf connect but when i read write or subscribe at every 4 to 8 read or 4 to 8 write same for subscribe it gets automatically disconnected and if i again try to reconnect without manually resetting the control it do not connect.
Attachments
01NimBLE_GATT_Server.zip
example code
(92.52 KiB) Downloaded 1 time
subscribe .png
logs when the code is running and it gets disconnected
subscribe .png (98.19 KiB) Viewed 17 times
read.png
logs when the code is running and it gets disconnected
read.png (115.35 KiB) Viewed 17 times

irahul
Espressif staff
Espressif staff
Posts: 58
Joined: Fri Jun 18, 2021 10:07 am

Re: esp32 nimble gatt server official example not working

Postby irahul » Thu Jun 25, 2026 5:18 am

Error code 520 implies Connection Timeout indicating link supervision timeout or syncronization timeout. Is this issue seen with only one device ? Can you switch the phone to some other device and check ?

What happens if you use nimble's bleprph/ blecent example, do they work ?

Who is online

Users browsing this forum: ChatGPT-User, coccocbot and 2 guests