At least on AROS, WriteSerialData does not respect the timeout setting.
If you use e.g.
WriteSerialData(1,"Zap")
all works OK and command will not finish until all characters are written. However, if you use e.g.:
WriteSerialData(1,"Zap",5000)
the command will exit instantaneously and the characters are not written.
Tested using USB to serial devices (pl2303 and cp210x based).
Sorry,
Nigel.
WriyeSerialDT not respecting timeout
- airsoftsoftwair
- Posts: 5626
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: WriyeSerialDT not respecting timeout
This is very likely an AROS driver issue. The code is the same on all Amiga platforms and it's very lowlevel stuff which just passes IORequests to the device. Unless the same driver is working correctly with another application on AROS I don't think this is a Hollywood bug.
Re: WriyeSerialDT not respecting timeout
Thanks - Ill post this as a bug on ArosExec.
Nigel.
Nigel.