Binary communications (serial ports)

Dar Scott dsc at swcp.com
Fri Mar 26 17:20:33 EST 2004


On Friday, March 26, 2004, at 02:58 PM, CEIENG wrote:

>  I'm working with Windows for now, but hope to get a Linux version
> running eventually.  The command structure the embedded board expects 
> is:
>
> <command 1 char><length 1 char for now><data to length >
>
> I've read the archives and see that there have been issues 
> communicating
> this way.  Any tips, suggestions?...or should I go back to my ASCII 
> version
> that works (but is pretty slow).

Go for it!  I haven't touched serial on Linux just yet, but this should 
be OK on Windows.  You will likely have problems on OS X with binary; 
so far all my tests require LF at the end of send.

Dar Scott



More information about the use-livecode mailing list