Skip to content
Commit cfd368fe authored by Théo Battrel's avatar Théo Battrel Committed by Anas Nashif
Browse files

Bluetooth: Host: Fix GATT server handling of CCC



GATT server was not doing enough check before udpating the CCC.

For example, a non-bonded client could update the CCC of a bonded client
by spoofing his address.

This fix the issue by dissociating the CCC configuration of a bonded and
a non-bonded peer. To do that, a new field is added to the CCC config:
`link_encrypted`.

Signed-off-by: default avatarThéo Battrel <theo.battrel@nordicsemi.no>
parent 24ea2582
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment