Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate BT service from hardcoded in .gatt file to a dynamic one #109

Open
ricardoquesada opened this issue Jun 27, 2024 · 0 comments
Open

Comments

@ricardoquesada
Copy link
Owner

It should be possible for add new characteristics in runtime.

Perhaps the .gatt can be still used , in addition to the runtime feature... or perhaps not.

Look at Arduino wrapper for BTstack which contains code that register service / characteristics in runtime.
https://github.com/bluekitchen/btstack/blob/2b49e57bd1fae85ac32ac1f41cdb7c794de335f6/port/arduino/BTstack.cpp

or it could be used using:
https://github.com/bluekitchen/btstack/blob/master/src/ble/att_db_util.h

Discussion here:
https://discord.com/channels/775177861665521725/1242138144745324584

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant