Ondisconnect function not working when device disconnecting
Hi,
I am using NimBLE v1.4.2. when i am connecting to device, it connects to device and i get onconnect callback. when i disconnect, i got ondisconnect callback. Issue happens when device is sending data like 128 data in 1 second, when device disconnect, i dont get ondisconnect callback. I dont know what to do in this case? I also tried numconnected device function to find if device is connected or not.
I believe this to be an issue with the controller, which requires a fix/update with the Arduino core and/or esp-idf.
I just tested this with arduino core 3.0.1 and it works fine, this must be something in the new core versions.
Appears to work fine win arduino core 3.1.3 as well.
i am using esp32 controller. any test code to test on this issue with esp32?
currently using framework-arduinoespressif32 @ 3.20017.241212+sha.dcc1105b using platformio
@kushalpatelkushal Please test with the latest nimble core update that was just merged 8f32a23
It's been reported that the issue has be resolved in the latest Arduino core. Please update that to version 3.2 and test.
Closing as there has been no update, please reopen if it's still an issue.