Closed HarizahSyawal closed 9 months ago
just now i have try your suggestion based on wiki that you share. The issue is whenever i put breakpoint, let say on the loop while read a messages it return completely but when i run without debug or get breakpoint the messages come out separately.
with debugging you change timing and therefore buffering behavior. Better use logcat output for analysis
Hello, i have do some integration for vending machine using mdb protocol and i'm using this library to communicated with. My issue here is whenever i read response from vending machine, it return line by line and the message not completed read in one line.
it supposed to be like this :
Here is my code :
` private void receivedMessage(ArrayDeque<byte[]> datas) {