Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
General TopicsGSMBluetooth
Providers
AlltelATT WirelessCingularFidoNextelSprint PCST-MobileVerizon
Manufacturers
EricssonNokiaMotorola
Country Specific
Australian GroupUK Group
Related Topics
PocketPCPalmMore Topics ...

Cellular Phone Forum / General / GSM / September 2003

Tip: Looking for answers? Try searching our database.

Automatically delete old SMS

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Incognito - 04 Sep 2003 09:59 GMT
Hi all
Is it possible to tell the device using AT-COMMANDS to delete old SMS and
store the recent one if there is no place for a new one ?
TIA
Guy
marcus@myrealbox.com - 04 Sep 2003 15:36 GMT
>Is it possible to tell the device using AT-COMMANDS to delete old SMS and
>store the recent one if there is no place for a new one ?

Not as far as I know. What you could do is programmatically scan
through the SMS messages yourself using AT commands and delete the
oldest make to make space for the new.

regards
Marcus
John Henderson - 04 Sep 2003 16:46 GMT
> Is it possible to tell the device using AT-COMMANDS to delete
> old SMS and store the recent one if there is no place for a new
> one ?

I don't know of any "onboard" deletion mechanism that gets
triggered by the need to make room for a new MT SMS.

And as Marcus says, a standard approach is to regularly read any
"unread incoming" messages (which changes their status to "read
incoming").  And combine this with regular deleting of read
messages.  If the storage capacity of the modem/SIM gets
temporarily exceeded, the surplus messages just get buffered in
the SMSC of lodgement until there's room for delivery.

A different approach is to reroute incoming messages to the
serial port, so that they never get stored on the phone or SIM.
To achieve this, commands to look at include AT+CNMI, AT+CNMA,
AT+CPMS and AT+CSMS.  But I'd check the behaviour when the serial
port isn't available to take them, as you might find these get
delivered and stored rather than buffered in the SMSC (especially
if the modem gets reset).  And if so, this might require you to
implement "read from storage and then delete" logic in such cases
anyway.

John
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.