gnokii-users
[Top][All Lists]
Advanced

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

Re: Smsd and Siemens MC35i (fwd)


From: Jan Derfinak
Subject: Re: Smsd and Siemens MC35i (fwd)
Date: Mon, 9 Feb 2004 12:01:57 +0100 (CET)

On Mon, 9 Feb 2004, Pawel Kot wrote:

> In the nk7110 and nk6510 (at lease) drivers all smses have virtual
> locations. Ie. using Inbox, location 1 is not what has physical location
> one, but it is the first message returned by the phone. That is because
> inbox messages can be stored either on simcard and in the phone memory and
> "location 1" would be ambigous.
> 
> The solution is to handle (to remove) SMSes counting from the last one to
> the first one or do it one by one: read one, delete one, read one delete
> one. But the first solution should be safe I think.

I'm not sure if it covers AT driver too (mc35i is AT). In case you described
there is renumbering of sms's. You are right that we must handle this too
but in this case usleep cannot help. In case I forwarded, one can read
deleted sms short time after deleting. It looks that delete command returns
before operations is completed and read command after delete returns also
before last deleting is completed. The phone is then in undefined state when
I cannot discern which sms is in deleting process and which not.

                                        jan


-- 




reply via email to

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