[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.
pkot
--
mailto:address@hidden :: mailto:address@hidden
http://kt.linuxnews.pl/ :: Kernel Traffic po polsku