Skip Menu |

This queue is for tickets about the Device-Gsm CPAN distribution.

Report information
The Basics
Id: 36311
Status: open
Priority: 0/
Queue: Device-Gsm

People
Owner: cosimo [...] cpan.org
Requestors:
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.48
Fixed in: (no value)



Subject: sub _read_messages_text not defined
The line 382 of Device/Gsm.pm call to _read_messages_text() function, but it is not defined nowhere.
Yes... this is a known problem. And the reason is that I don't have a phone that I can test on. Mine doesn't support reading messages as plain text. Do you have one or would you provide me one? :)
From: jezik [...] arker.pl
On Sat May 31 02:41:08 2008, COSIMO wrote: Show quoted text
> Yes... this is a known problem. > And the reason is that I don't have a phone that I can test on. > Mine doesn't support reading messages as plain text. > Do you have one or would you provide me one? :)
Maybe below log will be helpfull (connection with Motorola v3xx) 1) set mode to text in phone (always, eeven, if phone doesn't' support PDU) AT+CMGF=1 OK 2) just read message list (format can be helpfull here), * are digits, of course ;-) AT+CMGL="ALL" +CMGL: 3694,"REC READ","+48503******" Test 2 reply +CMGL: 3693,"REC READ","+48503******" Test reply OK 3) That's all. I already managed to change Gsm.pm and Sms.pm to handle plain text, but it's rather workaround. If needed, I can send it you. Best regards Jakub
Show quoted text
> Maybe below log will be helpfull (connection with Motorola v3xx) > 1) set mode to text in phone (always, eeven, if phone doesn't'
support Show quoted text
> PDU) > AT+CMGF=1 > OK > 2) just read message list (format can be helpfull here), * are
digits, Show quoted text
> of course ;-) > AT+CMGL="ALL" > +CMGL: 3694,"REC READ","+48503******" > Test 2 reply > +CMGL: 3693,"REC READ","+48503******" > Test reply > OK > > I already managed to change Gsm.pm and Sms.pm to handle plain text,
but Show quoted text
> it's rather workaround. If needed, I can send it you.
Good work! Yes, please, send them to me. The problem here is that every single phone model seems to have its own idea of the standard AT commands, but this is a good start...
From: aphex3k+bitcard [...] gmail.com
I just started to work with Device::Gsm and discovered the same behavior. is there anything I could contribute except a text-mode phone? I want to get it working for my internal 3G modem card. Are there any alternatives yet?
RT-Send-CC: jezik [...] arker.pl
On Wed Feb 24 07:52:34 2010, der_michael wrote: Show quoted text
> I just started to work with Device::Gsm and discovered the same > behavior. is there anything I could contribute except a text-mode
phone? Show quoted text
> I want to get it working for my internal 3G modem card. > Are there any alternatives yet?
Jakub had made the necessary changes already, and I was waiting for him to send patches along. If he won't do it, I can roll out some simple changes, but they will be untested, because I currently don't have any text mode phone available... -- Cosimo
Subject: Re: [rt.cpan.org #36311] sub _read_messages_text not defined
Date: Thu, 25 Feb 2010 12:20:37 +0100
To: bug-Device-Gsm [...] rt.cpan.org
From: Jakub Kolasa <jezik [...] arker.pl>
--- Date: czwartek, 25 lutego 2010 From: Cosimo Streppone via RT "Cosimo Streppone via RT" <bug-Device- Gsm@rt.cpan.org> To: --- Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=36311 > > > On Wed Feb 24 07:52:34 2010, der_michael wrote:
> > I just started to work with Device::Gsm and discovered the same > > behavior. is there anything I could contribute except a text-mode
> > phone? >
> > I want to get it working for my internal 3G modem card. > > Are there any alternatives yet?
> > Jakub had made the necessary changes already, and I was waiting for him > to send patches along. If he won't do it, I can roll out some simple > changes, but they will be untested, because I currently don't have any > text mode phone available...
Oh, it was so long time ago. I can't provide you the patches, they vanished somehow from my disks ;-< Btw, I have never received response from you. That's why I never sent you the changes... I think I'm able to provide you a shell account with modem connected with plain text mode support (e.g. motorola v3xx). Not for sure, but maybe I can manage something for you. Best regards ~JK -- ,,Given enough eyeballs, all bugs are shallow'' - Linus' Law by Eric Raymond jezik@arker.pl http://www.linkedin.com/in/jezik http://www.arker.pl PGP: http://www.arker.pl/j/jezik@arker.pl.asc **************************************************************************** Zawarte w niniejszej wiadomości lub załączonym dokumencie informacje są POUFNE i przeznaczone tylko dla oznaczonego adresata. Rozpowszechnianie, ujawnianie i kopiowanie tych informacji jest zabronione. Jeżeli niniejsza wiadomość trafiła do Państwa przez pomyłkę, bardzo prosimy o powiadomienie nas o tym fakcie i odesłanie dokumentu lub natychmiastowe jego zniszczenie. * * * The information contained in the e-mail or attached document is CONFIDENTIAL and is intended only for the use of the individual to whom it is addressed. If you are not the intended recipient or employee responsible to deliver to the intended recipient, you are hereby notified that any dissemination, distribution or copying of the communication is strictly prohibited. If you have received the e-mail in error, please immediately notify us and return the original message to us at the address above or destroy it. ****************************************************************************