Skip to content
Discussion options

You must be logged in to vote

@peitschie Thank you for your detailed reply. I tried to look at the things you pointed out. And I think, I found the issue.

I added quite some debugging output in the native android code to try to narrow down, where the issue occurs. I committed the logging code here, so you can see where the logoutput is coming from: main...gion-andri:bluetooth-le:debug-issue

A normal "write without response" command looks like that:

you can see the write method being called in the Device class, the callback coming in to the Device, the lookup for the timer and callback, and then the BluetoothLe class handling the data and returning to the capacitor JS bridge.

This happens as soon as the problem occurs:

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@peitschie
Comment options

@gion-andri
Comment options

Answer selected by gion-andri
@peitschie
Comment options

@gion-andri
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants