Oops, I think 0x0A is actually line feed (^J), not carriage
return. But same issues appear to apply.

-Henry

Henry Chen wrote:
Hi all,

I'm trying to write a simple Matlab interface to KATCP, but at
the moment I can't write a byte with value 0x0A, since that's
a carriage return and interrupts the command. I tried to insert
a "\" before it to try to escape it, but then write fails because
then the data stream coming in is no longer aligned on a word
boundary.

Does anybody have a tip on how to escape the carriage return?

Thanks,
Henry


Reply via email to