-
Notifications
You must be signed in to change notification settings - Fork 72
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
getBluetoothService() called with no BluetoothManagerCallback #16
Comments
This is very strange. It does not happen when I put a breakpoint into |
I think the culprit could be a loop which I use to call
Perhaps checkStatus could be implemented so that it gracefully returns results when already connected? @Eddayy |
Its probably due to the native implementation where it tries to establish a connection each time to check the status. I'll look into implementing the connect and disconnect function from that repo. Should provide a persistent connection instance to better check status. |
Maybe this could be of some help. I'm also looking into this but have no experience with Kotlin.
|
Hi there :)
I'm calling checkStatus on a mPOP Bluetooth printer (POP10-OF).
The tablet is able to connect to it but when ever I check the status I get this message and after a few seconds it times out and crashes.
getBluetoothService() called with no BluetoothManagerCallback
The call looks like this:
Checking status on a LAN connected mC-Print3 works great though.
Any idea what could be causing this? Could it because the Android OS has already established a connection with this device and StarPrnt is trying to establish another one? This also happens when calling print on the Bluetooth printer.
P.s. I've also tested other emulation types such as StarPRNT, StarPRNTL & StarLine.
Thank you!
The text was updated successfully, but these errors were encountered: