Click here to get back home

invalid COMMPROP block length= 100......

 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
invalid COMMPROP block length= 100...... andyburgess 11-16-2005
Posted by andyburgess on November 16, 2005, 8:21 am
Please log in for more thread options


Hi there,

I've been trying to use Win32::SerialPort to read and write to a
'modem' GSM device on COM4. I can do this successfully through Windoze
XP using Hyperterminal, and can do this from a GNC C program I wrote,
but would like to use one of the Perl SMS modules to encode messages
etc.

I cannot for the life of me achieve the same thing I did in C in Perl -
it would appear to be able to talk to a 'standard' PC COM port - though
I have nothing attached to it.

My GSM device is on a USB connection, and in Perl whenever I try to
link to it with "new Win32::SerialPort" it gives the "invalid COMMPROP
block length" error, like all the other Perl programs I've tried to use
this port with! I've tried calling the port "COM4", "\.\COM4",
"\.\COM4", "\dev\ttyS3" etc, but no joy. I'm using Cygwin on a
Windoze XP PC.

I discovered yesterday that USB is not supported by Perl. Should I
modify my C program to make a Perl-callable XS program, or is there a
way of doing it in Perl? I'm still quite new to the wonderful creature
that is Perl.

Thanks in anticipation.
Andy Burgess



Similar ThreadsPosted
Net::SNMP - ERROR: Invalid IpAddress length (8 bytes) January 20, 2006, 1:41 pm
debugging (stepping thru in debugger) within a try block February 13, 2006, 7:13 pm
RFC: Crypt::Skip32 - 32-bit block cipher based on Skipjack September 23, 2007, 6:15 am
Invalid value for shared scalar June 14, 2005, 1:57 pm
Invalid signature errors, CPAN, gpg August 22, 2006, 11:56 am
How to get the length of wav file? May 16, 2006, 1:01 am
Invalid Page Fault With Win32::GUI Under Win98 July 9, 2004, 5:27 pm
archive::zip addtree creates zero-length files November 6, 2005, 9:35 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap