|
From: Vladimir T. <vtz...@gm...> - 2009-09-11 21:19:52
|
On 9/11/09, Sam Steingold <sd...@gn...> wrote: > Angel Popov wrote: >> I succeed to do some serial communication in clisp as it >> is in >> http://coding.derkeiler.com/Archive/Lisp/comp.lang.lisp/2004-02/2028.html, >> >> but I did not succeed to find a way to configure serial port - speed, >> parity, stop bits. > > you need to read the serial port docs to find out what specific command sets > these parameters. > then you can open the port the usual way and write the commands there. Currently there is no way to set serial port parameters on win32. SetCommState() is not used/exposed. Same is true (as far as I read the sources) for unix-likes. There is no way to set baud rate or other settings (via tcsetattr()). |