esc_pos_bluetooth icon indicating copy to clipboard operation
esc_pos_bluetooth copied to clipboard

Not Printing, Errors, Deprecation messages,

Open YahalomsGuy opened this issue 2 years ago • 0 comments

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

YahalomsGuy avatar Jun 19 '22 15:06 YahalomsGuy