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

Owner: cosimo [...]
Requestors: timwood0 [...]

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

Subject: Device::Gsm fails to collect incoming SMSs
Download (untitled) / with headers
text/plain 531b
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.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to