gnokii-users
[Top][All Lists]
Advanced

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

Re: writephonebook on nokia 5310 xpressmusic


From: yahoo-pier_andreit
Subject: Re: writephonebook on nokia 5310 xpressmusic
Date: Mon, 26 Jan 2009 14:20:13 +0100
User-agent: Thunderbird 2.0.0.19 (X11/20081227)

Hi, first test  in raw mode :-)

1)updated to GNOKII Versione 0.6.28cvs (at first seams hard but at the
end is easy and reasonable I'm getting used to stroke keys in the shell
instead tu click with mouse :-) )

2)cleared phonebook.on the telephone, no contacts

3)added two contacts: only surname name and number (to start with the
minimun) manually on the telephone

cognome=firstsurname nome=firstname number=111111
cognome=secondsurname nome=secondname number=222222

4)try to read phonebook raw mode:
gnokii --getphonebook ME 1 2 --raw > test.raw

address@hidden:~> gnokii --getphonebook ME 1 2 --raw > test.raw
GNOKII Versione 0.6.28cvs
LOG: debug mask is 0x1
Config read from file /home/pla/.gnokiirc.
phone instance config:
model = series60
port = 00:1F:01:62:CC:69
connection = bluetooth
initlength = default
serial_baudrate = 19200
serial_write_usleep = -1
handshake = software
require_dcd = 0
smsc_timeout = 10
rfcomm_channel = 0
sm_retry = 0
Connecting
Forcing rfcomm_channel = 14 for FBUS connection
Serial device: opening device 00:1F:01:62:CC:69
Channel: 14
Channel: 14
Using channel: 14
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               |
Message received: 0x1b / 0x003a
01 36 00 08 00 01 58 34 00 30 56 20 30 35 2e 38 |  6    X4 0V 05.8
31 0a 30 36 2d 30 32 2d 30 38 0a 52 4d 2d 33 30 | 1 06-02-08 RM-30
33 0a 28 63 29 20 4e 6f 6b 69 61 20 20 20 20 20 | 3 (c) Nokia
20 20 20 20 20 20 20 0a 43 00                   |         C
Received message type 1b
model length: 6
Received model RM-303
Reading phonebook location (1)
Message sent: 0x03 / 0x0012
00 01 00 07 01 01 00 01 02 05 00 00 00 00 00 01 |
00 00                                           |
Message received: 0x03 / 0x00a6
01 5e 00 08 00 01 01 00 00 10 00 05 00 01 00 00 |  ^
0c 95 00 00 00 05 0b 00 00 18 03 00 00 00 00 0e |
00 31 00 31 00 31 00 31 00 31 00 31 00 00 07 00 |  1 1 1 1 1 1
00 34 3f 2e 00 46 00 69 00 72 00 73 00 74 00 73 |  4?. F i r s t s
00 75 00 72 00 6e 00 61 00 6d 00 65 00 20 00 46 |  u r n a m e   F
00 69 00 72 00 73 00 74 00 6e 00 61 00 6d 00 65 |  i r s t n a m e
00 00 2f 00 00 08 00 3f 80 01 47 00 00 20 01 1a |   /    ?  G
00 46 00 69 00 72 00 73 00 74 00 73 00 75 00 72 |  F i r s t s u r
00 6e 00 61 00 6d 00 65 00 00 46 00 00 1c 02 14 |  n a m e  F
00 46 00 69 00 72 00 73 00 74 00 6e 00 61 00 6d |  F i r s t n a m
00 65 00 00 00 00                               |  e
Received message type 03
Received phonebook info
Parts: 5
[0] Blockstart: 0x0b
seq: 3
   Type: 0 (00)
   Number: 111111
[1] Blockstart: 0x07
seq: 63
   Name: Firstsurname Firstname
[2] Blockstart: 0x2f
seq: 0
Location: 1
[3] Blockstart: 0x47
seq: 1
   Type: Last name
   Text: Firstsurname
[4] Blockstart: 0x46
seq: 2
   Type: First name
   Text: Firstname
Reading phonebook location (2)
Message sent: 0x03 / 0x0012
00 01 00 07 01 01 00 01 02 05 00 00 00 00 00 02 |
00 00                                           |
Message received: 0x03 / 0x00ae
01 5e 00 08 00 01 01 00 00 10 00 05 00 02 00 00 |  ^
0c 96 00 00 00 05 0b 00 00 18 03 00 00 00 00 0e |
00 32 00 32 00 32 00 32 00 32 00 32 00 00 07 00 |  2 2 2 2 2 2
00 38 3f 32 00 53 00 65 00 63 00 6f 00 6e 00 64 |  8?2 S e c o n d
00 73 00 75 00 72 00 6e 00 61 00 6d 00 65 00 20 |  s u r n a m e
00 53 00 65 00 63 00 6f 00 6e 00 64 00 6e 00 61 |  S e c o n d n a
00 6d 00 65 00 00 2f 00 00 08 00 3f 80 02 47 00 |  m e  /    ?  G
00 24 01 1c 00 53 00 65 00 63 00 6f 00 6e 00 64 |  $   S e c o n d
00 73 00 75 00 72 00 6e 00 61 00 6d 00 65 00 00 |  s u r n a m e
00 00 46 00 00 1c 02 16 00 53 00 65 00 63 00 6f |   F      S e c o
00 6e 00 64 00 6e 00 61 00 6d 00 65 00 00       |  n d n a m e
Received message type 03
Received phonebook info
Parts: 5
[0] Blockstart: 0x0b
seq: 3
   Type: 0 (00)
   Number: 222222
[1] Blockstart: 0x07
seq: 63
   Name: Secondsurname Secondname
[2] Blockstart: 0x2f
seq: 0
Location: 2
[3] Blockstart: 0x47
seq: 1
   Type: Last name
   Text: Secondsurname
[4] Blockstart: 0x46
seq: 2
   Type: First name
   Text: Secondname
Serial device: closing device
address@hidden:~>

5)gnokii has created file test.raw: this is the file:
Firstsurname
Firstname;111111;ME;1;5;70;0;0;Firstname;71;0;0;Firstsurname;11;0;3;111111
Secondsurname
Secondname;222222;ME;2;5;70;0;0;Secondname;71;0;0;Secondsurname;11;0;3;222222

6)cleared the phonebook on the telephon

7)try to write on the phonebook: in raw mode --overwrite and --find-free
cat test.raw | gnokii --writephonebook -m ME -o
cat test.raw | gnokii --writephonebook -m ME -f


address@hidden:~> cd '/home/pla/gnokii/testpla'
address@hidden:~/gnokii/testpla> cat test.raw | gnokii --writephonebook -m
ME -o
GNOKII Versione 0.6.28cvs
LOG: debug mask is 0x1
Config read from file /home/pla/.gnokiirc.
phone instance config:
model = series60
port = 00:1F:01:62:CC:69
connection = bluetooth
initlength = default
serial_baudrate = 19200
serial_write_usleep = -1
handshake = software
require_dcd = 0
smsc_timeout = 10
rfcomm_channel = 0
sm_retry = 0
Connecting
Forcing rfcomm_channel = 14 for FBUS connection
Serial device: opening device 00:1F:01:62:CC:69
Channel: 14
Channel: 14
Using channel: 14
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               |
Message received: 0x1b / 0x003a
01 36 00 08 00 01 58 34 00 30 56 20 30 35 2e 38 |  6    X4 0V 05.8
31 0a 30 36 2d 30 32 2d 30 38 0a 52 4d 2d 33 30 | 1 06-02-08 RM-30
33 0a 28 63 29 20 4e 6f 6b 69 61 20 20 20 20 20 | 3 (c) Nokia
20 20 20 20 20 20 20 0a 43 00                   |         C
Received message type 1b
model length: 6
Received model RM-303
Writing phonebook entry Firstsurname Firstname...
Message sent: 0x03 / 0x0066
00 01 00 0b 00 01 01 00 00 10 02 05 00 01 00 00 |
00 00 00 00 00 03 07 00 00 32 ff 2c 00 46 00 69 |          2 , F i
00 72 00 73 00 74 00 73 00 75 00 72 00 6e 00 61 |  r s t s u r n a
00 6d 00 65 00 20 00 46 00 69 00 72 00 73 00 74 |  m e   F i r s t
00 6e 00 61 00 6d 00 65 1e 00 00 08 ff 06 00 55 |  n a m e       U
0b 00 00 16 ff 00 00 00 00 0c 00 31 00 31 00 31 |            1 1 1
00 31 00 31 00 31                               |  1 1 1
Message received: 0x03 / 0x000e
01 5e 00 0c 00 01 0f 00 00 08 3d 00 00 00       |  ^        =
Received message type 03
response 0x10 error 0x3d
Scrittura fallita (Comando fallito.): tipo memoria: ME, posizione: 1,
nome: Firstsurname Firstname, numero: 111111
Writing phonebook entry Secondsurname Secondname...
Message sent: 0x03 / 0x006a
00 01 00 0b 00 01 01 00 00 10 02 05 00 02 00 00 |
00 00 00 00 00 03 07 00 00 36 ff 30 00 53 00 65 |          6 0 S e
00 63 00 6f 00 6e 00 64 00 73 00 75 00 72 00 6e |  c o n d s u r n
00 61 00 6d 00 65 00 20 00 53 00 65 00 63 00 6f |  a m e   S e c o
00 6e 00 64 00 6e 00 61 00 6d 00 65 1e 00 00 08 |  n d n a m e
ff 06 00 55 0b 00 00 16 ff 00 00 00 00 0c 00 32 |    U           2
00 32 00 32 00 32 00 32 00 32                   |  2 2 2 2 2
Message received: 0x03 / 0x000e
01 5e 00 0c 00 01 0f 00 00 08 3d 00 00 00       |  ^        =
Received message type 03
response 0x10 error 0x3d
Scrittura fallita (Comando fallito.): tipo memoria: ME, posizione: 2,
nome: Secondsurname Secondname, numero: 222222
Serial device: closing device
address@hidden:~/gnokii/testpla>

It seams to not work in raw mode, or I've done something wrong??




reply via email to

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