hello misc @ 

For many years under Linux I used http://sjinn.sourceforge.net/ 
to control the relay card, such as 

rs232 -d /dev/ttyUSB1-s'\h 2A 61 00 06 88 01 20 87 3E \r" -r8 -hex 

Now I need to achieve the same result under OpenBSD (5.0) 

the sjinn project compiles with an error, and is broken 
(And dead)

... 
... 
rs232opts.o (. text +0 x926): In function `setstr ': 
: Warning: strcpy () Almost always with the general procedure, please use 
strlcpy () 
... 
...
 
This error I can fix it. 


Anybody got an idea how to send such a hex string in /dev/ttyU1 ? 

Thank you 

EdaSky

Reply via email to