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

BLE Update #84

Merged
merged 6 commits into from
Jan 10, 2018
Merged

BLE Update #84

merged 6 commits into from
Jan 10, 2018

Conversation

pablosun
Copy link
Contributor

This is a bug-fixing update for LBLE library.

Fixing Issues:

Other minor updates:

  • Change type of txPower to signed integer
  • Adding Arduino IDE keywords
  • Fix build warnings

Some BLE implementation requires the presence of CCCD(Client Characteristic Configuration Descriptor) to propery "subscribe" to notifications and indications.

By default we allow notification/indication of all characteristics, so we add CCCD to all characteristics and corresponding read/write callbacks.

Note that this increases the callback table usage, since 1 characteristics now requires 2 callback functions. Therefore, the number of statically allocated callback table is doubled from 30 to 60 entires.
@pablosun pablosun added this to the BLE Fixes 2018 Jan milestone Jan 10, 2018
@pablosun pablosun self-assigned this Jan 10, 2018
@pablosun pablosun merged commit 47a16e2 into master Jan 10, 2018
@pablosun pablosun deleted the bug/82-uuid-comparison branch January 15, 2018 06:12
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.

LBLECentral read/write characteristic occasionally fails Bluetooth LE notification not working
1 participant