: /dev/ttyACM0
: >1<
: PORT OPEN: 1
: Data from firstWhere: [1, 2, 3]
: Result 1: [1, 2, 3]
: Data from expand: [1, 2, 3]
: Data from firstWhere: [1, 2, 3]
: Result 2: [1, 2, 3]
: Data from listen: [1, 2, 3]
: Result 3: [1, 2, 3]
: >2<
: PORT NOT OPEN: 2
: DONE
while sometimes it hangs at:
: /dev/ttyACM0
: >1<
: PORT OPEN: 1
: Result 1:
and it's completly random when it hangs and when not!
Dear libserialport maintainers.
I have a "echo" serial port device, and I'm trying to perform subsequent reads and writes. My code looks like this:
The problem is, that sometines the result is:
while sometimes it hangs at:
and it's completly random when it hangs and when not!
Can you please make it not hang all the times?