notifications send with ble_gatts_notify_custom() proper usage
- Dominant language
- C
- Stars
- 893
- Forks
- 512
- Avg merge
- 13d 31m
- Merged PRs (30d)
- 7
Description
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/
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the ble_gatts_notify_custom() API and the GNU/Linux usage described in the issue. Clarify whether calls from a separate thread are supported, how much data can be queued, and whether a success callback or event exists; done means these usage limits and behaviors are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot, networking
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100