socket and serial port

Mark Wieder mwieder at ahsoftware.net
Thu Jun 17 18:53:25 EDT 2004


(correcting myself)

It turns out that you can call

 set the serialControlString to "dtr=off rts=on"
 open driver thePort for binary write

to toggle dtr/rts even if the port is already open. No need to close
the port before the call to serialControlString. Serves me right for
reading (and believing) the documentation...

MW> This causes problems in runrev since there's no way from Transcript to
MW> toggle either dtr or rts without closing the port (which has the
MW> effect of turning both dtr and rts off, effectively reseting the
MW> sending device).

-- 
-Mark Wieder
 mwieder at ahsoftware.net



More information about the use-livecode mailing list