gnokii-users
[Top][All Lists]
Advanced

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

Re: Save phonebook on Siemens C35


From: Ladislav Michl
Subject: Re: Save phonebook on Siemens C35
Date: Wed, 25 Jun 2003 07:50:34 +0100
User-agent: Mutt/1.2.5.1i

On Wed, Jun 25, 2003 at 02:15:44AM +0200, Andreas Schiermeier wrote:
> for restoring the phonebook on the mobile phone i've written a
> simple perlscript using AT-Commands
> 
> First AT+CPBW=.... also brought me an error - after entering
> 
> AT+CSCS=GSM
>
> all went OK!
> 
> for more information see:
> http://www.my-siemens.com/external/tt/hq/mw/hd/hd/p35/s35i_c35i_m35i_atc_commandset_v01.pdf
> page 18
> 
> I think this is also the point of failure in gnokii - but I don't know 
> where to insert this code...

so GSM charset needs to be set explicitly on C35? strange... could you try
this patch? and could you compile gnokii with debug enabled and send output
here (without and with this patch)?


Index: common/phones/atgen.c
===================================================================
RCS file: /cvsroot/gnokii/gnokii/common/phones/atgen.c,v
retrieving revision 1.84
diff -u -r1.84 atgen.c
--- common/phones/atgen.c       12 Jun 2003 22:09:36 -0000      1.84
+++ common/phones/atgen.c       25 Jun 2003 06:46:19 -0000
@@ -371,6 +371,8 @@
                if (error) {
                        /* no support for HEXGSM, be happy with GSM */ 
                        drvinst->charset = AT_CHAR_GSM;
+                       sm_message_send(14, GN_OP_Init, "AT+CSCS=\"GSM\"\r", 
state);
+                       sm_block_no_retry(GN_OP_Init, &tmpdata, state);
                        error = GN_ERR_NONE;
                } else
                        drvinst->charset = AT_CHAR_HEXGSM;




reply via email to

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