Open jose1711 opened 1 year ago
Could you please add an output mode that would interpret the 7-bit values as ASCII characters and discard the rest? That means instead of:
Reading 64-byte input report 0, 250 msec timeout...read 64 bytes: 04 00 00 48 65 6C 6C 6F 20 77 6F 72 6C 64 21 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
one would see
Hello world!
I know one could pipe the output to perl or awk to achieve this but having it integrated with the program would be really handy.
perl
awk
As a workaround, you could try using xxd like:
xxd
% echo "04 00 00 48 65 6C 6C 6F 20 77 6F 72 6C 64 21" | xxd -r Hello world!%
Could you please add an output mode that would interpret the 7-bit values as ASCII characters and discard the rest? That means instead of:
one would see
I know one could pipe the output to
perl
orawk
to achieve this but having it integrated with the program would be really handy.