Cellular Phone Forum / General / GSM / April 2005
SMS and AT commands
|
|
Thread rating:  |
Christoph =?ISO-8859-1?Q?H=F6lken?= - 29 Dec 2003 18:40 GMT Hi there,
having failed just again to communicate with my cell phone via AT commands, I've to ask for your help.
My problem is that I'm unable to retrieve a list of SMS available on the device. AT+CMGL=4 retrieves a list of messages, but unfortunately an incomplete one (about 11 out of 44). Suspecting that the wrong memory storage is selected, I tried AT+CPMS. AT+CPMS=? displays +CPMS: ("SM"),("SM"),("MT") and AT+CPMS? results in +CPMS: "SM",11,15,"SM",11,15,"MT",11,15. But every attempt to actually change the selected storage (eg. by AT+CPMS="MT") fails with a simple ERROR message.
I can reproduce this on a Nokia 6600 as well as an older Siemens S45i. As with both devices the problems are similiar, I guess there is some mistake in my approach.
Any reply will be greatly appreciated!
TIA, Christoph
Peter_L - 29 Dec 2003 19:35 GMT Hi
According to the responses of CPMS? the phone seems to have only 11 messages recognized? If you can get the 44 messages via MMI menu then it would be interesting to know how the other 33 messages differ to the available 11 messages? Are the additional 33 messages maybe only outgoing messages(SMS-SUBMIT) or maybe status reports and that's why CPMS does not report them??? If CPMS=? returns +CPMS: ("SM"),("SM"),("MT") then this means that the phone does not offer other choices of memory for CPMS set-command. If it would be possible to switch to MT memory then CPMS=? would return responses like +CPMS: ("SM","MT"),("SM","MT"),("MT") , so it is OK that CPMS="MT" returns ERROR because the phone does not support it. Usually MT is a combination of SM+ME, what if you try to send AT+CPMS="SM","SM","SM" ??? Does the phone accepts this?
From my experience I can say that the implementation of the various GSM 07.07 AT-Commands in many GSM phones are sometimes buggy and do not exactly follow the GSM standard. It could be that you can not read out all 44 messages because of a faulty AT-command implementation. Regards Peter
"Christoph H?lken" <chrhoelken@gmx.de> schrieb im Newsbeitrag news:bspseo$liv$06$1@news.t-online.com...
> Hi there, > [quoted text clipped - 18 lines] > TIA, > Christoph Christoph =?ISO-8859-1?Q?H=F6lken?= - 29 Dec 2003 20:54 GMT "Peter L" schrieb:
> According to the responses of CPMS? the phone seems to have only 11 messages > recognized? > If you can get the 44 messages via MMI menu then it would be interesting to > know how the other 33 messages differ to the available 11 messages? > Are the additional 33 messages maybe only outgoing messages(SMS-SUBMIT) or > maybe status reports and that's why CPMS does not report them??? Having decoded the PDUs, it appears to me as if the 11 messages available are the one stored on the SIM card.
> If CPMS=? returns +CPMS: ("SM"),("SM"),("MT") then this means that the > phone does not offer other choices of memory for CPMS set-command. Given that, my assumption above would make sense, wouldn't it? Thanks for clarifing on that issue anyway, will spare me some time.
> If it would be possible to switch to MT memory then CPMS=? would return > responses like +CPMS: ("SM","MT"),("SM","MT"),("MT") , so it is OK that > CPMS="MT" returns ERROR because the phone does not support it. > Usually MT is a combination of SM+ME, what if you try to send > AT+CPMS="SM","SM","SM" ??? Does the phone accepts this? No, unfortunately it also results in an error message.
> From my experience I can say that the implementation of the various GSM > 07.07 AT-Commands in many GSM phones are sometimes buggy and do not exactly > follow the GSM standard. It could be that you can not read out all 44 > messages because of a faulty AT-command implementation. That would be a real pity! Actually, at the price of a N6600 I would have expected it to provide such basic functionallity - stupid me.
Do you know of *any* other way to access the messages?
TIA, Christoph
John Henderson - 29 Dec 2003 23:49 GMT "Peter_L" wrote
> > what if you try to send AT+CPMS="SM","SM","SM" ??? Does the > > phone accepts this? "Christoph H?lken" wrote:
> No, unfortunately it also results in an error message. What about
AT+CPMS="SM"
It would be a good start if the Nokia accepted this. From your earlier post (agreeing with my Nokia AT manual on the <mem3> parameter),
AT+CPMS="SM","SM","SM"
is unlikely to be supported because the third argument, <mem3>, is "SM". It works on my Siemens S55 by the way, and should work on your S45i.
John
Christoph =?ISO-8859-1?Q?H=F6lken?= - 30 Dec 2003 19:32 GMT "John Henderson" schrieb:
> > > [AT+CPMS="SM","SM","SM"] > > No, unfortunately it also results in an error message. [quoted text clipped - 4 lines] > > It would be a good start if the Nokia accepted this. Results in "+CPMS: 11,15,11,15,11,15".
> From your earlier post (agreeing with my Nokia AT manual on the <mem3> > parameter), [quoted text clipped - 3 lines] > is unlikely to be supported because the third argument, <mem3>, > is "SM". Thanks for pointing that out. Nevertheless it does not increase my chances of reading the other messages, does it? As you said before, the only valid pair of parameters for +CPMS appears to be "SM","SM","MT" on the N6600, lacking the possibility to access ME/MT as read memory.
> It works on my Siemens S55 by the way, and should work on your S45i. Will try it on my S45 tomorrow, thanks.
Bye, Christoph
John Henderson - 29 Dec 2003 21:05 GMT "Christoph H?lken" wrote:
> Hi there, > [quoted text clipped - 14 lines] > Siemens S45i. As with both devices the problems are similiar, I > guess there is some mistake in my approach. Unfortunately, I don't have a Nokia phone to experiment with. What I do have of relevance is a Siemens S25 phone, a Siemens S55 phone, a Siemens S45 "AT Command Set" manual and a Nokia GSM "AT Command Set" manual.
The first thing to note is your Nokia's response to "AT+CPMS=?". This gives the list of supported values. It's the first value you're interested in (<mem1> - selected memory location for reading messages).
According to my Nokia manual, the possible values for <mem1> are "SM" and "ME" only. "MT" is not listed as a supported value for either <mem1> or <mem2>. "MT" (meaning either "SM" or "ME") is listed as a possible value for <mem3> only (preferred storage for new incoming messages).
So if we take my Nokia manual at face value, it means that you'd need to read "SM" and "ME" using separate "AT+CMGL=4" commands for each, and changing between the two storages using 'AT+CPMS="SM"' and 'AT+CPMS="ME"' to do so.
Have you tried this?
What doesn't look right is the '+CPMS: ("SM"),("SM"),("MT")' response you're seeing to the "AT+CPMS?" command. According to my manual, you should be seeing '+CPMS: <"SM","ME>,<"SM","ME">,<"MT">'. This interpretation is reinforced by your not being able to read all 44 messages with "AT+CMGL=4".
I'm surprised by your similar experience with the Siemens S45i. Whilst my S25 is documented as restricted to "SM" as a value for <mem1>, <mem2> and <mem3>, the S55 lists '<"MT","SM",ME">' as available for all three. And any selection in a "AT+CPMS" command works flawlessly on it (I've tried several). My S45 manual suggests that the S45 phone should behave the same as my S55 does, and I've come to expect exceptional levels of accuracy, quality and reliability from Siemens (I have no association with Siemens - I'm just a customer).
John
Christoph =?ISO-8859-1?Q?H=F6lken?= - 30 Dec 2003 19:39 GMT "John Henderson" schrieb:
> According to my Nokia manual, the possible values for <mem1> are > "SM" and "ME" only. "MT" is not listed as a supported value for [quoted text clipped - 8 lines] > > Have you tried this? I tried 'AT+CPMS="ME"' and it leads to one of my beloved "ERROR"-responses. Seems as if I were out of luck...
Thanks for sharing your knowledge anyway!
Bye, Christoph
John Henderson - 31 Dec 2003 04:49 GMT "Christoph H?lken" wrote:
> I tried 'AT+CPMS="ME"' and it leads to one of my beloved > "ERROR"-responses. Seems as if I were out of luck... We seem to be running out of ideas!
I'd have to agree with Peter, that only the messages on the SIM seem accessible to you. In your original post, you gave
+CPMS: "SM",11,15,"SM",11,15,"MT",11,15
as the phone's response to "AT+CPMS?". That trailing '"MT",11,15' says that the phone has total storage (SIM + phone) for only 15 SMSs, and 11 of those slots are already in use.
As Peter asks, is there something different about those other 33 messages? Have they been "archived" in some non-PDU format? Or does the phone automatically store them on the handset (instead of the SIM) without user intervention?
I'm not optimistic, but you could try putting the phone into text-mode (instead of PDU-mode, assuming it's supported). It's conceivable that "AT+CPMS=?" will then show more options available to you.
AT+CMGF=1
is the command to switch into text-mode. And if it works, the phone will do the PDU decodes for you. Nokias typically support both PDU- and text-modes.
Another thought is that there might be a firmware upgrade available from Nokia, which might address these issues.
> Will try it on my S45 tomorrow, thanks. Don't forget that the S45 gives you the option of using the Siemens-specific "AT^SMGL" command as an alternative to "AT+CMGL" (note the caret instead of the plus). The syntax is exactly the same. The only difference is that "AT^SMGL" doesn't change the status of "unread" messages to "read". GSM 07.05 requires that "AT+CMGL" changes the status.
Good luck and happy new year,
John
hardik shah - 18 Apr 2005 10:56 GMT hi mate; i have a doubt which i need to ask u! can u plz tell m that is nokia 6600 supporting the AT commands and does it have inbuilt modem.....if it does not have than can u list me all those nokia phones which support AT commands and has inbuilt modem!
|
|
|