embassy-rs / nrf-softdevice

Apache License 2.0
269 stars 80 forks source link

L2CAP channel could get released while waiting #201

Closed kext closed 1 year ago

kext commented 1 year 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.