Skip to content
Commit 587c35fa authored by Peter Bigot's avatar Peter Bigot Committed by Johan Hedberg
Browse files

Bluetooth: gatt: avoid assumptions about characteristic handles



Although the Characteristic Value descriptor is required to be
immediately after the characteristic descriptor, the specification
allows for gaps in the corresponding Attribute handles.  Use the value
handle from the characteristic descriptor for value reads.

See BLUETOOTH CORE SPECIFICATION Version 5.1 Vol 3, Part G section 2.5.1
(p. 2345), first paragraph.

Signed-off-by: default avatarPeter A. Bigot <pab@pabigot.com>
parent eeb32641
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment