Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android tutorial app error #554

Closed
karolkadlubowski opened this issue May 25, 2024 · 1 comment
Closed

Android tutorial app error #554

karolkadlubowski opened this issue May 25, 2024 · 1 comment
Labels
bug Something isn't working triage Needs to be reviewed and assigned

Comments

@karolkadlubowski
Copy link

karolkadlubowski commented May 25, 2024

Component
The bug is in the mobile kotlin tutorial app.

Describe the bug
When I launch the app, there is an error in command readCharacteristic invoked in perform().

To Reproduce
Steps to reproduce the behavior:

  1. Launch app
  2. Give permissions
  3. Connect to gopro - now in logs there should be neverending Pairing communicate and after 30s there is timeout error.

E kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 30000 ms
at kotlinx.coroutines.TimeoutKt.TimeoutCancellationException(Timeout.kt:184)
at kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:154)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:7562)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)

Expected behavior
There should be no errors.

Hardware

  • Camera: Hero9 black
  • Phone: Xiaomi Pocophone F1, Android 10 (but app was adjusted for older versions - error appearing before changed code invoked)

Additional context
Also other functions like checkStatus(receivedData.receive()) from Tutorial2SendBleCommands not working - like the command was sent, but no response came from gopro

@karolkadlubowski karolkadlubowski added the bug Something isn't working label May 25, 2024
@github-actions github-actions bot added the triage Needs to be reviewed and assigned label May 25, 2024
@karolkadlubowski
Copy link
Author

Probably I adjusted app incorrectly to previous android version, sorry for bothering

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Needs to be reviewed and assigned
Projects
None yet
Development

No branches or pull requests

1 participant