-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Open
Labels
EnhancementChanges/Updates/Additions to existing featuresChanges/Updates/Additions to existing featuresarea: APIChanges to public APIsChanges to public APIsarea: Bluetootharea: Bluetooth ISOBluetooth LE Isochronous ChannelsBluetooth LE Isochronous Channels
Description
Is your enhancement proposal related to a problem? Please describe.
An ISO channel today has a state called BT_ISO_STATE_ENCRYPT_PENDING
which isn't really a state, but rather a dependency before it can leave the BT_ISO_STATE_DISCONNECTED
state.
The issue with BT_ISO_STATE_ENCRYPT_PENDING
is that it blocks the CIS from connecting (and rightfully so), but that also means that an ISO channel will go
- BT_ISO_STATE_DISCONNECTED
- BT_ISO_STATE_ENCRYPT_PENDING
- BT_ISO_STATE_DISCONNECTED
- BT_ISO_STATE_CONNECTING
- BT_ISO_STATE_CONNECTED
Instead of just
- BT_ISO_STATE_DISCONNECTED
- BT_ISO_STATE_CONNECTING
- BT_ISO_STATE_CONNECTED
Describe the solution you'd like
Remove the BT_ISO_STATE_ENCRYPT_PENDING
and replace it with a flag in the ISO channel instead.
Describe alternatives you've considered
The alternative would be to create yet another state, BT_ISO_STATE_ENCRYPT_OK
so that the channel will go
- BT_ISO_STATE_DISCONNECTED
- BT_ISO_STATE_ENCRYPT_PENDING
- BT_ISO_STATE_ENCRYPT_OK
- BT_ISO_STATE_CONNECTING
- BT_ISO_STATE_CONNECTED
Additional context
N/A
Metadata
Metadata
Assignees
Labels
EnhancementChanges/Updates/Additions to existing featuresChanges/Updates/Additions to existing featuresarea: APIChanges to public APIsChanges to public APIsarea: Bluetootharea: Bluetooth ISOBluetooth LE Isochronous ChannelsBluetooth LE Isochronous Channels