Ryan Powell
Ryan Powell
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.
@kushalpatelkushal Please test with the latest nimble core update that was just merged [8f32a23](https://github.com/h2zero/NimBLE-Arduino/commit/8f32a23e2c8a0071b98345915388eb0146b6bfdc)
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.
Hi @demsr, I have refactored that example here: ``` // Original: https://github.com/mathcampbell/ANCS #include #include "NimBLEDevice.h" static NimBLEUUID ancsServiceUUID("7905F431-B5CE-4E99-A40F-4B1E122D00D0"); static NimBLEUUID notificationSourceCharacteristicUUID("9FBF120D-6301-42D9-8C58-25E699A21DBD"); static NimBLEUUID controlPointCharacteristicUUID("69D1D8F3-45E1-49A8-9821-9BBDFDAAD9D9"); static NimBLEUUID dataSourceCharacteristicUUID("22EAC6E9-24D6-4BB5-BE44-B36ACE7C7BFB"); static NimBLEClient* pClient;...
You could probably use `#ifdef CONFIG_NIMBLE_CPP_DEBUG_ASSERT_ENABLED` as that was added in 2.x
Yes, I was contemplating this some time ago, just haven't implemented it yet
>Notice that __has_include doesn't work correctly in ArduinoIDE. PlatformIO handles it better I did not know this, I see it is used in the core as well so I would...