WriyeSerialDT not respecting timeout

Report any Hollywood bugs here
Post Reply
ntromans
Posts: 61
Joined: Fri Jan 11, 2013 12:06 am

WriyeSerialDT not respecting timeout

Post by ntromans »

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.
User avatar
airsoftsoftwair
Posts: 5626
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: WriyeSerialDT not respecting timeout

Post by airsoftsoftwair »

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.
ntromans
Posts: 61
Joined: Fri Jan 11, 2013 12:06 am

Re: WriyeSerialDT not respecting timeout

Post by ntromans »

Thanks - Ill post this as a bug on ArosExec.

Nigel.
Post Reply