Bluetooth: ISO: Replace BT_ISO_STATE_ENCRYPT_PENDING with a flag #72722
Labels
area: API
Changes to public APIs
area: Bluetooth ISO
Bluetooth LE Isochronous Channels
area: Bluetooth
Enhancement
Changes/Updates/Additions to existing features
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 theBT_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 goInstead of just
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 goAdditional context
N/A
The text was updated successfully, but these errors were encountered: