gnokii-users
[Top][All Lists]
Advanced

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

Re: patch: Premicell support


From: Pawel Kot
Subject: Re: patch: Premicell support
Date: Tue, 31 Aug 2004 10:08:03 +0200 (CEST)

On Tue, 31 Aug 2004, Jonas Berlin wrote:

> On Tue, 31 Aug 2004 01:05:45 +0300, Jonas Berlin <address@hidden>
> wrote:
>
> > Additionally, I also copypasted code from AT_WriteSMS to AT_GetSMS to
> > ensure that PDU mode is being selected also when reading messages. I ran
> > into a problem when I had been testing in between and the pdu mode had
> > been disabled. In this case gnokii failed to read messages.
>
> It seems I had a bit old version of gnokii, and the newest (0.6.3) already
> contained this PDU mode fix I discussed above. Also there was another
> trivial conflict when patching with my previous patch so I created a new
> one.
>
> The patch is here:
>
> http://xkr47.outerspace.dyndns.org/patches/gnokii/gnokii-0.6.3-premicell.diff

Is Premicell a Nokia phone? If not, the following chunk of the code is in
the wrong file:
+
+       /* premicell does not want sms centers in PDU packets (send & */
+       /* receive) */
+       if (!strncasecmp("0301", foundmodel, 4))
+               AT_DRVINST(state)->no_smsc = 1;

pkot
-- 
mailto:address@hidden
http://www.gnokii.org/




reply via email to

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