forked from espressif/esp-idf-provisioning-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ble_transport: Fixed a BLE characteristic caching issue.
Root cause: Android's BLE stack caches all characteristics received from peripheral. Even if peripheral has removed characteristics, app gets that characteristic from the cached data, but will not be able to communicate on that characteristic. This results in device communication failure. Solution: Added API to refresh services. Also ignored the characteristic whose descriptor data is null.
- Loading branch information
1 parent
cf458ca
commit 4285429
Showing
4 changed files
with
40 additions
and
11 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