Skip to content
Commit e6dfbe82 authored by Jonathan Rico's avatar Jonathan Rico Committed by Carles Cufí
Browse files

Bluetooth: host: Don't send ATT_MULTIPLE_HANDLE_VALUE_NTF with one attr



Sending ATT_MULTIPLE_HANDLE_VALUE_NTF containing only one handle doesn't
seem forbidden by the spec, but peers might find it unexpected.

This change morphs a ATT_MULTIPLE_HANDLE_VALUE_NTF into a
ATT_HANDLE_VALUE_NTF right before sending it, if it detects this
condition.

Signed-off-by: default avatarJonathan Rico <jonathan.rico@nordicsemi.no>
parent 0218e9db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment