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

Add support for BLE GATT prepared writes. #41

Merged
merged 3 commits into from
Jan 3, 2018

Conversation

filipnavara
Copy link

The GATT protocol allows multiple writes to be packed together and executed at once. Since the wiring BLE API doesn't expose the write mode and offset parameters from the underlying API it is necessary to handle this at the HAL level.

…lently discarded because previous notification/indication was not confirmed by the GATT client yet. Also fix a startup race condition where hci_init_flag was set after the Bluetooth stack thread was spawned and occasionally caused the thread to quit immediately.
@XuGuohui XuGuohui merged commit 8dec0a3 into redbear:duo Jan 3, 2018
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

Successfully merging this pull request may close these issues.

2 participants