Sorry for the delay, I started with the stupid idea of marking mails for
replying later and then I always forget.
> One solution would be a function similar to the "CAPTURE" but instead
> of reading a port, writing to that port directly from memory. Is that
> possible?
> The null char x\00 is a limitation to send a string via serial port,
> since a Modbus command has lots of x\00 because of address numbers of
> an address of 2 bytes.
>
I have good news for you all, the next version of the OS will have a
function that will be able to dump to the ports the content from a file
in a binary way.
> A typical message composed of hexadecimal numbers of a parameter
> reading Modbus command is:
> 12 04 00 0E 00 02 12 AB
>
> To code this using the Basic of Aircable requires extra chars like
> "\x" which added to the remaing line commands exceeds the 32 bytes
> limit of a line code.
>
Actually the \x thing is not the big issue. The big issue is that \x00
is interpreted as end of line, so then everything after \x00 and \x00
itself will never be transmitted. The new function will solve this problem.
> Any hint to solve this problem would be great to me too!
>
Sorry... But not right now, AFAIK the new OS is going out soon, but
don't ask me how soon is that, that's not in my hands, I don't even know
the code for that.
Cheers,
Manuel