[Top][All Lists]

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

Re: AT SMS save works... kind of

From: Pawel Kot
Subject: Re: AT SMS save works... kind of
Date: Wed, 17 Apr 2002 22:42:10 +0200 (CEST)

On Wed, 17 Apr 2002, Pavel Machek wrote:

> gnokii reports this, but sms is saved successfully (c45)...
> address@hidden:/usr/src/gnokii# echo "Small test from gnokii" |
> gnokii/gnokii --savesms
> GNOKII Version 0.4.0pre17
> Initializing AT capable mobile phone ...
> Please enter SMS text. End your input with <cr><control-D>:storing
> smsSending SMS to 0 via message center
> Saving failed (error=18)

address@hidden:~/gnokii$ grep 18 include/gsm-error.h
        GE_SMSSENDOK,             /* 18. SMS was send correctly. */

Just wrong retval parsing in gnokii.c:
                error = SM_Functions(GOP_GetSMS, &data, &State);
                switch (error) {
                case GE_NONE:
                        /* success */
Anyway I want to cleanup error codes and drop GE_SENDSMS also.

mailto:address@hidden :: mailto:address@hidden :: Kernel Traffic po polsku

reply via email to

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