You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using a rather old version of esp-nimble-cpp for a custom service along with ESP-IDF v5.4.2.
I wanted to use some off-the-shelf NimBLE services, as provided by:
ble_svc_dis_init
ble_svc_bas_init
However, doing so appears to interfere with esp-nimble-cpp operations and GATT characteristic reads die once DIS is interacted with. Is it possible for these to co-exist? Any idea what's wrong?
This could work but you would have to register callbacks for handling lots of things and probably in a correct order, not really recommended.
Instead I can point you to this: https://github.com/h2zero/NimBLEOta which contains a DIS service that you can copy/modify. The BAS service could be implemented similarly.
Activity
h2zero commentedon Jul 9, 2025
This could work but you would have to register callbacks for handling lots of things and probably in a correct order, not really recommended.
Instead I can point you to this: https://github.com/h2zero/NimBLEOta which contains a DIS service that you can copy/modify. The BAS service could be implemented similarly.
malachib commentedon Jul 10, 2025
Not the answer I hoped for, but the answer I needed. Thank you for this