compile_gatt: Allow enable Notifications/Indication with Write Command. Fixes issue with some Android devices

This commit is contained in:
Matthias Ringwald 2018-08-05 22:49:29 +02:00
parent e075f7ae05
commit 9be4aecf32
2 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]
### Fixed
- GATT Server: Allow enable Notifications/Indication with Write Command. Fixes issue with some Android devices.
## Changes June 2018
### Added
- btstack_audio.h: application level API for audio playback and recording
- embedded/hal_audio.h: low-level API for audio playback and recording

View File

@ -475,6 +475,7 @@ def parseCharacteristic(fout, parts):
flags = write_permissions_and_key_size_flags_from_properties(properties)
flags |= property_flags['READ']
flags |= property_flags['WRITE']
flags |= property_flags['WRITE_WITHOUT_RESPONSE']
flags |= property_flags['DYNAMIC']
size = 2 + 2 + 2 + 2 + 2