You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When requesting MTU change, it internally succeeded but throws an exception. After that call, I am able to send for example 170B (20B before the call). You can see in logcat that it has status 0, which is GATT_SUCCESS in that callback.
Requesting MTU: 512
configureMTU() - device: 7D:CC:76:A0:A5:A0 mtu: 512
onConfigureMTU() - Device=7D:CC:76:A0:A5:A0 mtu=512 status=0
com.juul.kable.OutOfOrderGattCallbackException: Unexpected response type OnMtuChanged received
at com.juul.kable.AndroidPeripheral.requestMtu(Peripheral.kt:374)
at com.juul.kable.AndroidPeripheral$requestMtu$1.invokeSuspend(Unknown Source:12)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
The text was updated successfully, but these errors were encountered:
When requesting MTU change, it internally succeeded but throws an exception. After that call, I am able to send for example 170B (20B before the call). You can see in logcat that it has status 0, which is GATT_SUCCESS in that callback.
Library version: 0.3.0
Phone: Pixel 5, Android 11
Code:
Stack trace:
The text was updated successfully, but these errors were encountered: