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

notifications send with ble_gatts_notify_custom() proper usage #1807

Open
nikitos1550 opened this issue Jul 15, 2024 · 0 comments
Open

notifications send with ble_gatts_notify_custom() proper usage #1807

nikitos1550 opened this issue Jul 15, 2024 · 0 comments

Comments

@nikitos1550
Copy link

Hello!

Nimble is used under GNU/Linux.
I am getting data in separate stream and I want to send data through notifications. Sometimes I can get a lot of data, I am packing data to small 20 bytes packages and invoking ble_gatts_notify_custom().

Is it ok to invoke ble_gatts_notify_custom() from separate thread, not nimble host thread?
How much data can I push via ble_gatts_notify_custom()? As there is no any success notification sent callback/event, also not clear how big is queue in nimble internals, so not clear how to use api from this point of view/

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