-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed as not planned
Labels
Stalearea: Bluetootharea: Bluetooth HostBluetooth Host (excluding BR/EDR)Bluetooth Host (excluding BR/EDR)bugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bugLow impact/importance bug
Description
See #80988 (comment).
A CCC value is a bitfield. When testing for BT_GATT_CCC_NOTIFY and BT_GATT_CCC_INDICATE, & should be used instead of ==.
This issue is about all misuses like this. Some may be benign, but this issue is labeled 'bug' because it's likely some instances may be a bug that can be triggered in a multiple connection scenario.
More info the comment thread linked above. This issue is to be refined.
Metadata
Metadata
Assignees
Labels
Stalearea: Bluetootharea: Bluetooth HostBluetooth Host (excluding BR/EDR)Bluetooth Host (excluding BR/EDR)bugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bugLow impact/importance bug