-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #80 by handling CCCD for all characteristics 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. * Fix #82 by fixing UUID comparison between 16-bit and 128-bit UUIDs In some cases where both 16-bit UUID and 128-bit UUID characteristics present, the implementation of UUID comparison is incorrect. This leads to incorrect retrieval of the characteristic GATT database handles. Therefore the remote peripheral device won't be able to update the correct characteristics. * Re-format files * TxPower should be signed * Add LBLE keywords * Fix build warnings
- Loading branch information
Showing
14 changed files
with
1,891 additions
and
1,702 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.