|
From: | Pawel Kot |
Subject: | Re: smsd problem with AT model - Part II |
Date: | Fri, 6 Oct 2006 12:25:38 +0200 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |