ekasetiawans / flutter_bluetooth_printer_plugin

MIT License
21 stars 36 forks source link

why not print complete? onProgress: (total, sent) ,the sent value is only 0 and total #41

Open Sindyue opened 1 month ago

Sindyue commented 1 month ago

the sent value is only 0 and total ,not has the other progress? I/flutter ( 9951): sent = 0 ,total = 32277 I/flutter ( 9951): progress = 0.0 , sent = 0 ,total = 32277 I/flutter ( 9951): sent = 32277 ,total = 32277 I/flutter ( 9951): progress = 1.0 , sent = 32277 ,total = 32277 D/BluetoothSocket( 9951): close() this: android.bluetooth.BluetoothSocket@5fd79c3, channel: 1, mSocketIS: android.net.LocalSocketImpl$SocketInputStream@7d87240, mSocketOS: android.net.LocalSocketImpl$SocketOutputStream@7785579, mSocket: android.net.LocalSocket@cdd72be impl:android.net.LocalSocketImpl@33ef1f fd:java.io.FileDescriptor@9f2726c, mSocketState: CONNECTED D/BluetoothSocket( 9951): close() this: android.bluetooth.BluetoothSocket@5fd79c3, channel: 1, mSocketIS: android.net.LocalSocketImpl$SocketInputStream@7d87240, mSocketOS: android.net.LocalSocketImpl$SocketOutputStream@7785579, mSocket: null, mSocketState: CLOSED why not print complete?