gnokii-users
[Top][All Lists]
Advanced

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

Re: smsd and nokia 6310i


From: Łukasz Michalski
Subject: Re: smsd and nokia 6310i
Date: Wed, 12 Oct 2005 15:29:03 +0200
User-agent: KMail/1.8.2

On Monday 03 October 2005 09:25, Jan Derfinak wrote:
> On Tue, 13 Sep 2005, Łukasz Michalski wrote:
> > Hi,
> >
> > I am using to use smsd with nokia 6310i. It works for a while, but when
> > any call is received or after some time something gets wrong and every
> > sms message that is delivered to phone is placed twice in database.
> >
> > LOG: debug mask is 0x1
> > Lockfile /var/lock/LCK..ttyS0 is stale. Overriding it..
> > phone instance config:
> > model: AT
>
> I'm currious why you use AT model?

I am trying both 6310i and AT with same effect (on 

This is my current config:

[global]
port = /dev/ttyS0
model = 6310
initlength = default
connection = dlr3p
use_locking = yes
serial_baudrate = 19200
sm_retry = 1
smsc_timeout = 5
[gnokiid]
bindir = /usr/sbin/
[connect_script]
TELEPHONE = 12345678
[disconnect_script]
[logging]
rlpdebug = off
xdebug = off

and first lines of debug:

LOG: debug mask is 0x1
phone instance config:
model: 6310
port_device: /dev/ttyS0
connection_type: 2
init_length: 0
serial_baudrate: 19200
serial_write_usleep: -1
hardware_handshake: 0
require_dcd: 0
smsc_timeout: 50
connect_script:
disconnect_script:
rfcomm_cn: 1
sm_retry: on
Connecting
Serial device: opening device /dev/ttyS0
Serial device: setting RTS to low and DTR to low
Serial device: setting RTS to high and DTR to high
Serial device: setting speed to 19200
Serial device: setting speed to 115200
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               |
[Received Ack of type 1b, seq: 80]
[Sending Ack of type 1b, seq: 0]
Message received: 0x1b / 0x0032
01 2f 00 08 00 01 58 2d 00 26 56 20 35 2e 35 31 |  /    X- &V 5.51
20 20 20 20 20 0a 30 38 2d 30 37 2d 30 33 0a 4e |       08-07-03 N
50 4c 2d 31 0a 28 63 29 20 4e 4d 50 2e 0a 4a 00 | PL-1 (c) NMP. J
00 00                                           |


>
> ...
>
> > Message sent: 0x12 / 0x0009
> > 41 54 2b 43 50 4d 53 3f 0d                      | AT+CPMS?
> > write: [AT+CPMS?<cr>]
> > GN_OP_GetSMSStatus at line 432 in file lowlevel.c returns error 11
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> Error 11 is timeout. For me it looks like synchronization problem in phone
> protocol.
>

What can I do about it ?

Thanks,
Łukasz




reply via email to

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