gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: smsd problem with AT model


From: Daniele Forsi
Subject: Re: smsd problem with AT model
Date: Fri, 01 Sep 2006 13:27:39 +0200
User-agent: Mozilla Thunderbird 1.5.0.2 (X11/20060420)

A. Andria wrote:

The +CMS Error 302 means Operation not allowed.
Why the operation not allowed?

I guess you are not allowed to set the third parameter (the preferred storage memory)

if the following commands are accepted
AT+CPMS="SM","SM"
AT+CPMS="ME","ME"

in common/phones/atgen.c function AT_SetSMSMemoryType() you should change

sprintf(req, "AT+CPMS=\"%s\",\"%s\",\"%s\"\r", memorynames[mt], memorynames[mt], memorynames[data.sms_status->new_message_store]);

to print only two parameters
I'm not sure which two, but in this case it shouldn't matter since all 3 are equal

sprintf(req, "AT+CPMS=\"%s\",\"%s\"\r", memorynames[mt], memorynames[mt]);

note that this change is likely to be incompatible with other AT phones or modems

--
Daniele




reply via email to

[Prev in Thread] Current Thread [Next in Thread]