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

Not Printing, Errors, Deprecation messages, #120

Open
YahalomsGuy opened this issue Jun 19, 2022 · 0 comments
Open

Not Printing, Errors, Deprecation messages, #120

YahalomsGuy opened this issue Jun 19, 2022 · 0 comments

Comments

@YahalomsGuy
Copy link

YahalomsGuy commented Jun 19, 2022

like other have mentioned , one of the packages is deprecated, but

When try to print , i get "Success" from the toast but then I get this error msg. on the console and nothing prints
Please help

D/ViewRootImpl@15fab9b[MainActivity](24965): ViewPostIme pointer 0 D/ViewRootImpl@15fab9b[MainActivity](24965): ViewPostIme pointer 1 D/BluetoothBasicPlugin(24965): start scan D/BluetoothAdapter(24965): STATE_ON I/chatty (24965): uid=10189(u0_a189) com.example.btbt.exc_pos_bt_ex identical 4 lines D/BluetoothAdapter(24965): STATE_ON D/BluetoothLeScanner(24965): Start Scan with callback D/BluetoothLeScanner(24965): onScannerRegistered() - status=0 scannerId=6 mScannerId=0 D/BluetoothAdapter(24965): STATE_ON I/chatty (24965): uid=10189(u0_a189) com.example.btbt.exc_pos_bt_ex identical 2 lines D/BluetoothAdapter(24965): STATE_ON D/BluetoothLeScanner(24965): Stop Scan with callback D/BluetoothAdapter(24965): STATE_ON I/chatty (24965): uid=10189(u0_a189) com.example.btbt.exc_pos_bt_ex identical 2 lines D/BluetoothAdapter(24965): STATE_ON D/BluetoothLeScanner(24965): could not find callback wrapper D/BluetoothAdapter(24965): cancelDiscovery D/BluetoothAdapter(24965): cancelDiscovery = true D/BluetoothUtils(24965): isSocketAllowedBySecurityPolicy start : device null W/BluetoothAdapter(24965): getBluetoothService() called with no BluetoothManagerCallback D/BluetoothBasicPlugin(24965): stateStreamHandler, current action: android.bluetooth.device.action.ACL_CONNECTED E/DeviceConnFactoryManager(24965): wait read E/BluetoothPort(24965): read length1 E/DeviceConnFactoryManager(24965): read 1 E/DeviceConnFactoryManager(24965): wait read D/BluetoothSocket(24965): close() this: android.bluetooth.BluetoothSocket@7d4741f, channel: 1, mSocketIS: android.net.LocalSocketImpl$SocketInputStream@fd1136c, mSocketOS: android.net.LocalSocketImpl$SocketOutputStream@1785d35mSocket: android.net.LocalSocket@8a405ca impl:android.net.LocalSocketImpl@bd6333b fd:java.io.FileDescriptor@871fa58, mSocketState: CONNECTED D/BluetoothSocket(24965): close() this: android.bluetooth.BluetoothSocket@7d4741f, channel: 1, mSocketIS: android.net.LocalSocketImpl$SocketInputStream@fd1136c, mSocketOS: android.net.LocalSocketImpl$SocketOutputStream@1785d35mSocket: null, mSocketState: CLOSED W/System.err(24965): java.io.IOException: bt socket closed, read return: -1 D/BluetoothSocket(24965): close() this: android.bluetooth.BluetoothSocket@7d4741f, channel: 1, mSocketIS: android.net.LocalSocketImpl$SocketInputStream@fd1136c, mSocketOS: android.net.LocalSocketImpl$SocketOutputStream@1785d35mSocket: null, mSocketState: CLOSED W/System.err(24965): at android.bluetooth.BluetoothSocket.read(BluetoothSocket.java:643) W/System.err(24965): at android.bluetooth.BluetoothInputStream.read(BluetoothInputStream.java:96) W/System.err(24965): at java.io.InputStream.read(InputStream.java:101) W/System.err(24965): at com.gprinter.io.BluetoothPort.readData(BluetoothPort.java:130) W/System.err(24965): at com.tablemi.flutter_bluetooth_basic.DeviceConnFactoryManager.readDataImmediately(DeviceConnFactoryManager.java:418) W/System.err(24965): at com.tablemi.flutter_bluetooth_basic.DeviceConnFactoryManager$PrinterReader.run(DeviceConnFactoryManager.java:498) E/BluetoothPort(24965): connection device is lost E/DeviceConnFactoryManager(24965): read 0 D/BluetoothBasicPlugin(24965): stateStreamHandler, current action: android.bluetooth.device.action.ACL_DISCONNECTED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant