gnokii-users
[Top][All Lists]
Advanced

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

RE: smsd problem with AT model - Part II


From: Romain Parmantier - Mobile Devices
Subject: RE: smsd problem with AT model - Part II
Date: Mon, 9 Oct 2006 08:42:56 +0200

Hi All,

Gnokii works on my computer, the patch seems to work. I have made a mistake when
I applied the patch by hand.

Gnokii fetchs SMS on the modem and fills my mysql database. I need to make more
tests today.

Thanks a lot for your help.

A question : this patch will be integrated in the next version of Gnokii
(0.6.15?).

Best regards,


-- 
Romain PARMANTIER - Mobile Devices Ingenierie
12 rue Roger Salengro 94 270 Kremlin Bicêtre
Tél.: (+33) 142 119 325 Fax: (+33) 142 118 717
http://www.mobile-devices.fr


-----Original Message-----
From: address@hidden
[mailto:address@hidden On
Behalf Of Pawel Kot
Sent: Friday, October 06, 2006 12:26 PM
To: address@hidden; Discussion forum for gnokii users.
Subject: Re: smsd problem with AT model - Part II

Hi,

On 10/6/06, Romain Parmantier - Mobile Devices
<address@hidden> wrote:
> Message sent: 0x12 / 0x0009
> 41 54 2b 43 50 4d 53 3f 0d                      | AT+CPMS?
> write: [AT+CPMS?<cr>]
> read : [AT+CPMS?<cr><cr><lf>+CPMS:
> "SM",30,30,"SM",30,30<cr><lf><cr><lf>OK<cr><lf>]
> Message received: 0x12 / 0x002f
> 02 41 54 2b 43 50 4d 53 3f 0d 0d 0a 2b 43 50 4d |  AT+CPMS?   +CPM
> 53 3a 20 22 53 4d 22 2c 33 30 2c 33 30 2c 22 53 | S: "SM",30,30,"S
> 4d 22 2c 33 30 2c 33 30 0d 0a 0d 0a 4f 4b 0d    | M",30,30    OK
> Received message type 12
> GN_OP_GetSMSStatus at line 400 in file lowlevel.c returns error 1 
> Restarting connection.Serial device: closing device

Strange. Could you please:
dprintf("%s\n", buf.line2); somewhere near sscanf(); and also dprintf result of
sscanf? From my tests it should work.

> The function "static gn_error fbusinit (const char * const iname);" returns 0.
> Does the error '0' mean no error in gnokii application ? I haven't 
> still found a file with definition of gn_error.

include/gnokii/error.h
0 is GN_ERR_NONE.

pkot
--
Pawel Kot


_______________________________________________
gnokii-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/gnokii-users






reply via email to

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