Hi all,
I intend to output "FA02AF" using stream.
The IOC worked well but no effect. I checked the output using serial assistant in Win7.
I got a indescribable string, not the FA02AF. Actually when I echo FA02AF >/dev/ttyS0, it seems well.
I have no idea about these. Could someone give me some advice.
mydev.proto:
_________________
Terminator=CR;
AS{
out "FA02AF"
}
mydev.db:
__________________
record(ao,"AS")
{
field(SCAN, "Passive")
field(DTYP, "stream")
field(OUT, "@mydev.proto AS $(PORT)")
}
Regards,
Li xing