gnokii-users
[Top][All Lists]
Advanced

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

Re: How to write phonebook to Nokia 6100?


From: Juhani Jaakola
Subject: Re: How to write phonebook to Nokia 6100?
Date: Fri, 6 Jan 2006 16:36:05 +0200

Hi!

> Lähettäjä: Pawel Kot <address@hidden>
> Päiväys: 2005/12/30 pe PM 10:08:18 EET
> 2005/12/14, Juhani Jaakola <address@hidden>:
> > When I change to "model = AT" I get a timeout:
> >
> > $ cat pb.vcf | gnokii --writephonebook -o -m ME -v
> > GNOKII Version 0.6.10
> > Telephone interface init failed: Command timed out.
> > Quitting.
> 
> Could you enable debug? And check whether irda subsystem can see the phone?

I enabled debug and I'll attach at the end of this message two debug outputs: 
first with model=6100 and then with model=AT. Both of these use the same 
.gnokiirc file, only the model line is different. Between these two sessions I 
powered the phone off and on.

I think that the irda subsystem can see the phone because packets are exchanged 
when "model = 6100".

In both cases the command was "gnokii --identify".

With model=6100 I get the following output:

GNOKII Version 0.6.10
LOG: debug mask is 0x1
phone instance config:
model: 6100
port_device: /dev/ttyS0
connection_type: 4
init_length: 0
serial_baudrate: 19200
serial_write_usleep: -1
hardware_handshake: 0
require_dcd: 0
smsc_timeout: 100
connect_script: 
disconnect_script: 
rfcomm_cn: 1
sm_retry: off
Connecting
Serial device: opening device /dev/ttyS0
Nokia 6100      d653
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               |                 
Message received: 0x1b / 0x0032
01 31 00 08 00 01 58 2c 00 26 56 20 30 35 2e 38 |  1    X, &V 05.8
30 20 20 20 20 20 0a 32 38 2d 30 35 2d 30 34 0a | 0      28-05-04 
4e 50 4c 2d 32 0a 28 63 29 20 4e 6f 6b 0a 41 00 | NPL-2 (c) Nok A 
00 00                                           |                 
Received message type 1b
model length: 5
Received model NPL-2
Sorry, this function is known to break your phone (Nokia phones series 40 v1).
Refusing to do it. You may try to use AT driver. If you are brave enough to
test the driver anyway, please contact developers at address@hidden
See also http://thread.gmane.org/gmane.linux.drivers.gnokii/3195
Telephone interface init failed: Command called isn't implemented in model.
Quitting.
Serial device: closing device

... and here is the second try with model=AT:

GNOKII Version 0.6.10
LOG: debug mask is 0x1
phone instance config:
model: AT
port_device: /dev/ttyS0
connection_type: 4
init_length: 0
serial_baudrate: 19200
serial_write_usleep: -1
hardware_handshake: 0
require_dcd: 0
smsc_timeout: 100
connect_script: 
disconnect_script: 
rfcomm_cn: 1
sm_retry: off
Initializing AT capable mobile phone ...
Serial device: opening device /dev/ttyS0
Serial device: setting RTS to high and DTR to high
Message sent: 0x00 / 0x0004
41 54 5a 0d                                     | ATZ             
write: [ATZ<cr>]
Message sent: 0x00 / 0x0005
41 54 45 31 0d                                  | ATE1            
write: [ATE1<cr>]
Message sent: 0x00 / 0x000a
41 54 2b 43 4d 45 45 3d 31 0d                   | AT+CMEE=1       
write: [AT+CMEE=1<cr>]
Message sent: 0x06 / 0x0008
41 54 2b 43 47 4d 4d 0d                         | AT+CGMM         
write: [AT+CGMM<cr>]
Initialization failed (11)
Telephone interface init failed: Command timed out.
Quitting.

Regards, JJ






reply via email to

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