|
Posted by Klaus on September 29, 2005, 1:55 pm
Please log in for more thread options
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
|