Click here to get back home

what modules best for communicationg with a UART with cygwin

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
what modules best for communicationg with a UART with cygwin Klaus 09-27-2005
Get Chitika Premium
Posted by Klaus on September 27, 2005, 11:07 am
Please log in for more thread options


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


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


Similar ThreadsPosted
Installation problem - Net-SNMP Perl Modules on cygwin March 1, 2005, 1:52 am
Cygwin and SSL December 10, 2004, 12:56 pm
Compile of DB::DB2 on cygwin June 15, 2005, 7:38 pm
DBD::Oracle on cygwin July 12, 2006, 6:09 am
Problem Installing Win32::OLE under cygwin May 15, 2005, 9:45 pm
Log4perl module for cygwin newbie March 28, 2007, 9:05 am
install Bundle::CPAN in Cygwin failed October 17, 2004, 9:09 am
SQL Server Trusted Connections with DBD::ODBC under Cygwin March 25, 2005, 5:57 pm
Getting SGML::Parser::OpenSP to compile under Cygwin June 17, 2005, 1:35 am
cygwin make generates multiple target patterns error December 9, 2004, 11:10 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap