bonjelo2000 <> [2009-02-05 13:38:32]:
> OK,
>
> I found some dumb mistakes in coding. I tested with Hyperterminal on
> another computer and could see write command work. Read appeared to
> work but required I hit the enter key when in Hyperterminal.
>
> When connecting back to device the write command works but I hang
> when attempting to read. I must have one of the c_cflag parameters
> sent wrong.
You might find it useful. I wrote librs232[1] - multiplatform library for
communications over RS-232, with Lua bindings. It's MIT licensed, so it could
be used even for closed source, proprietary software.
1. http://github.com/ynezz/librs232/
-- ynezz
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|