Someone using the serialport library noticed that or it’s just me? I found (very) few people in the same situation but I got no solution.
Here is an example of what I get with ruby serialport:
ff d8 ff e0 00 4a 46 49 46 00 01 02 03 04 05 06 07 08 09 0a ff db 00 43 00 10 0c 0c 0e 0c 0a 10 0e 0e 0e 12 12 10 14 18 28 1a 18 16 16 18 32 24 26 1e 28 3a 34 3e 3c 3a 34 38 38 40 48 5c 4e 40 44 58 46 38 38 50 6e 52 58 60 62 68 68 68 3e 4e 72 7a 70 64 78 5c 66 68 64 ff db 00 43 01 12 12 12 16 16 16 30 1a 1a 30 64 42 38 42 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 36 00
Here is an example of what I get with gtkterm, at the same time!
ff d8 ff e0 00 11 4a 46 49 46 00 01 02 03 04 05 06 07 08 09 0a ff db 00 43 00 10 0c 0c 0e 0c 0a 10 0e 0e 0e 12 12 10 14 18 28 1a 18 16 16 18 32 24 26 1e 28 3a 34 3e 3c 3a 34 38 38 40 48 5c 4e 40 44 58 46 38 38 50 6e 52 58 60 62 68 68 68 3e 4e 72 7a 70 64 78 5c 66 68 64 ff db 00 43 01 12 12 12 16 16 16 30 1a 1a 30 64 42 38 42 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 36 00
I’m using an FTDI breakout and a device with an uart interface. It seems to be random 🙁 it’s serialport-1.0.4 which I installed with “sudo gem install serialport”.
Thanks!
Not sure if you stumbled upon this in your researches, but this article mentions a modification to serialport.c that fixes the bug: Ruby, Ruby-SerialPort and the missing bytes
Here’s the text from the link in case it ever goes down: