embassy-rs / nrf-softdevice

Apache License 2.0
256 stars 76 forks source link

L2CAP channel could get released while waiting #201

Closed kext closed 8 months ago

kext commented 8 months ago

I run into the unreachable! statement when I unplug the device on the other side.

Maybe this should error out directly, but this was the easiest way to fix the problem. On the next call to try_tx after continue the connection is checked and returns DisconnectedError.