Re: what modules best for communicationg with a UART with cygwin
- From: Klaus <r26375@xxxxxxxxxxxxxx>
- Date: Thu, 29 Sep 2005 13:55:30 +0200
Hi,
I answered this question (partially) myself.
For cygwin: Device::SerialPort For linux: Device::SerialPort
(though it does not autoinstall with perl -E CPAN -e shell It fails during testing. I had to do "make install" manually)
So far I didn't succeed to get Win32::SerialPort installed. (PPM problems)
The API however is not exactly like Net::Telnet, so I'll have to wrap in order to have scripts, that can easily switch between a UART console and a telnet session.
bye
Klaus
Klaus wrote:
Hi,
Ideally I'd like to writa an application, that can work under * linux * windows (active perl) * cygwin
I'd like to connect to a UART device with 115k 8n1 and operate in a similiar way than Net::Telnet (though I'm also open to other send/expect models).
Is there one module, that would run under all three environments and
where I 'just' had to change the device names or are there only different modules, that I had to wrap around to create similar behaviour and keep the rest of the code identical.
Thanks a lot for any suggestions and bye
Klaus
.
- References:
- Prev by Date: Re: Cpan and gcc
- Next by Date: Re: Net::FTP, GET transfers only a part of a file
- Previous by thread: what modules best for communicationg with a UART with cygwin
- Next by thread: HTTP::Request::Common::POST and UTF-8
- Index(es):