|
Posted by Can2002 on 11/07/07 15:28
On Oct 26, 3:43 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> Echoing a "\n" won't send it over the socket, but I don't think that's
> what you mean.
>
> Sending a "\n" over the socket should send a newline character. But is
> your device expecting a new line (Unix style) or a cr/lf (Windows
> style)? If the latter, try "\r\n".
Hi Jerry,
Thanks for that and sorry for the delay in response. I'm not
completely sure, but the device is running an embedded version of
Linux with Busybox and LIRC, so I'd be surprised if it needed Windows-
style returns. I simply append "/n" in Python...
I've been distracted with other work in the last week, but I'll keep
looking.
Cheers,
Chris
Navigation:
[Reply to this message]
|