Skip Menu |

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

Report information
The Basics
Id: 5229
Status: new
Priority: 0/
Queue: Device-Gsm

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

Bug Information
Severity: Important
Broken in: 1.28
Fixed in: (no value)



Subject: Device::Gsm fails to collect incoming SMSs
In messages(), line 305, the code issues the "AT+CMGL=4" command to the modem. This happens to fail on my modem (for unclear reasons as yet). There is a safer, but slower, way to collect the messages. The command "AT+CPMS?", lists the number of messages in the message readout, write, and incoming memories. The "AT+CMGR=<index>" reads the <index>th message from readout memory; the message header has a status indicating new, old, unset or sent. Using this safer approach (if +CMGL returns ERROR) would allow my modem to work.