Ryan Powell

Results 877 comments of Ryan Powell

Yes, this is an issue in idf as well. workaround options are to enable one or other of peripheral/central roles, define the missing functions in your code, or use a...

This is the reason for release versions, renaming the library is not necessary or warranted, just use the release that works for you.

@ednieuw That was surprising to hear so I had to have a look for myself. It is indeed possible to change the version of the library used in Arduino IDE...

> Unfortunately you can not lock a library version to a sketch in the Arduino IDE. That is unfortunate indeed, but you can switch back and forth depending on the...

I would recommend in this case that the users and the code be updated to use v2. That said there are some new config options in v2 that you can...

The fix is in the master branch, though it should be made automatic, which I will add later. https://github.com/h2zero/NimBLE-Arduino/blob/5dad8939fbea864857a009b6a4936028a7179057/src/syscfg/syscfg.h#L1394

Looks like you didn't check if the characteristic returned was nullptr and then called subscribe?

You are calling `discoverAttributes()` without first checking if the client is connected, put that inside your `if` block.

Did you set the bootloader to adafruit before compiling?

You probably need to set it to the other adafruit bootloader, with softdevice as that is likely what is installed already. If you have a debug tool I would suggest...