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: Fri, 30 Jan 2009 12:15:22 +0100
User-agent: Thunderbird 2.0.0.19 (X11/20081227)

Hi :-)
if it can help with AT seems to work
tried with model=AT

with this file writed on SM

ALESSANDA BOT;3298020068;SM;1;5;11;0;11;3298020068
Andrea Bav=LL;3477250579;SM;2;5;11;0;11;3477250579

 and ME

AALESSANDA BOT;3298020068;ME;1;5;11;0;11;3298020068
AAndrea Bav=LL;3477250579;ME;2;5;11;0;11;3477250579

it seems to work

address@hidden:~/gnokii/testpla> cat testsm.txt | gnokii --writephonebook
-m SM -o
GNOKII Versione 0.6.28cvs
LOG: debug mask is 0x1
Config read from file /home/pla/.gnokiirc.
phone instance config:
model = AT
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
Initializing AT capable mobile phone ...
Serial device: opening device 00:1F:01:62:CC:69
Channel: 0
Channel: 3
Using channel: 3
Message sent: 0x00 / 0x0004
41 54 5a 0d                                     | ATZ
write: [ATZ<cr>]
read : [ATZ<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x000a
02 41 54 5a 0d 0d 0a 4f 4b 0d                   |  ATZ   OK
Received message type 00
Message sent: 0x00 / 0x0005
41 54 45 31 0d                                  | ATE1
write: [ATE1<cr>]
read : [ATE1<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x000b
02 41 54 45 31 0d 0d 0a 4f 4b 0d                |  ATE1   OK
Received message type 00
Message sent: 0x00 / 0x000a
41 54 2b 43 4d 45 45 3d 31 0d                   | AT+CMEE=1
write: [AT+CMEE=1<cr>]
read : [AT+CMEE=1<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x0010
02 41 54 2b 43 4d 45 45 3d 31 0d 0d 0a 4f 4b 0d |  AT+CMEE=1   OK
Received message type 00
Message sent: 0x06 / 0x0007
41 54 2b 47 4d 4d 0d                            | AT+GMM
write: [AT+GMM<cr>]
read : [AT+GMM<cr><cr><lf>Nokia 5310 XpressMusic<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0027
02 41 54 2b 47 4d 4d 0d 0d 0a 4e 6f 6b 69 61 20 |  AT+GMM   Nokia
35 33 31 30 20 58 70 72 65 73 73 4d 75 73 69 63 | 5310 XpressMusic
0d 0a 0d 0a 4f 4b 0d                            |     OK
Received message type 06
Message sent: 0x06 / 0x0008
41 54 2b 43 47 4d 49 0d                         | AT+CGMI
write: [AT+CGMI<cr>]
read : [AT+CGMI<cr><cr><lf>Nokia<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0017
02 41 54 2b 43 47 4d 49 0d 0d 0a 4e 6f 6b 69 61 |  AT+CGMI   Nokia
0d 0a 0d 0a 4f 4b 0d                            |     OK
Received message type 06
Message sent: 0x61 / 0x0009
41 54 2b 43 53 43 53 3f 0d                      | AT+CSCS?
write: [AT+CSCS?<cr>]
read : [AT+CSCS?<cr><cr><lf>+CSCS: "PCCP437"<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x61 / 0x0023
02 41 54 2b 43 53 43 53 3f 0d 0d 0a 2b 43 53 43 |  AT+CSCS?   +CSC
53 3a 20 22 50 43 43 50 34 33 37 22 0d 0a 0d 0a | S: "PCCP437"
4f 4b 0d                                        | OK
Received message type 61
Initialisation completed
Message sent: 0x00 / 0x000d
41 54 2b 43 50 42 53 3d 22 53 4d 22 0d          | AT+CPBS="SM"
write: [AT+CPBS="SM"<cr>]
read : [AT+CPBS="SM"<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x0013
02 41 54 2b 43 50 42 53 3d 22 53 4d 22 0d 0d 0a |  AT+CPBS="SM"
4f 4b 0d                                        | OK
Received message type 00
Message sent: 0x65 / 0x000a
41 54 2b 43 50 42 52 3d 3f 0d                   | AT+CPBR=?
write: [AT+CPBR=?<cr>]
read : [AT+CPBR=?<cr><cr><lf>+CPBR: (1-250),50,15<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x65 / 0x0028
02 41 54 2b 43 50 42 52 3d 3f 0d 0d 0a 2b 43 50 |  AT+CPBR=?   +CP
42 52 3a 20 28 31 2d 32 35 30 29 2c 35 30 2c 31 | BR: (1-250),50,1
35 0d 0a 0d 0a 4f 4b 0d                         | 5    OK
Received message type 65
Adding key CPBRSM to map (nil).
New map (nil).
Getting key CPBRSM from map 0x628630.
Memory offset: 0
Memory size: 250
Message sent: 0x61 / 0x000a
41 54 2b 43 53 43 53 3d 3f 0d                   | AT+CSCS=?
write: [AT+CSCS=?<cr>]
read : [AT+CSCS=?<cr><cr><lf>+CSCS:
("UCS2","GSM","PCCP437","PCDN","IRA","8859-1","HEX")<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x61 / 0x004f
02 41 54 2b 43 53 43 53 3d 3f 0d 0d 0a 2b 43 53 |  AT+CSCS=?   +CS
43 53 3a 20 28 22 55 43 53 32 22 2c 22 47 53 4d | CS: ("UCS2","GSM
22 2c 22 50 43 43 50 34 33 37 22 2c 22 50 43 44 | ","PCCP437","PCD
4e 22 2c 22 49 52 41 22 2c 22 38 38 35 39 2d 31 | N","IRA","8859-1
22 2c 22 48 45 58 22 29 0d 0a 0d 0a 4f 4b 0d    | ","HEX")    OK
Received message type 61
Message sent: 0x00 / 0x000f
41 54 2b 43 53 43 53 3d 22 55 43 53 32 22 0d    | AT+CSCS="UCS2"
write: [AT+CSCS="UCS2"<cr>]
read : [AT+CSCS="UCS2"<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x0015
02 41 54 2b 43 53 43 53 3d 22 55 43 53 32 22 0d |  AT+CSCS="UCS2"
0d 0a 4f 4b 0d                                  |   OK
Received message type 00
Message sent: 0x0e / 0x0052
41 54 2b 43 50 42 57 3d 31 2c 22 33 32 39 38 30 | AT+CPBW=1,"32980
32 30 30 36 38 22 2c 31 32 39 2c 22 30 30 34 31 | 20068",129,"0041
30 30 34 63 30 30 34 35 30 30 35 33 30 30 35 33 | 004c004500530053
30 30 34 31 30 30 34 65 30 30 34 34 30 30 34 31 | 0041004e00440041
30 30 32 30 30 30 34 32 30 30 34 66 30 30 35 34 | 00200042004f0054
22 0d                                           | "
write:
[AT+CPBW=1,"3298020068",129,"0041004c0045005300530041004e0044004100200042004f0054"<cr>]
read :
[AT+CPBW=1,"3298020068",129,"0041004c0045005300530041004e0044004100200042004f0054"<cr><cr><lf>OK<cr><lf>]
Message received: 0x0e / 0x0058
02 41 54 2b 43 50 42 57 3d 31 2c 22 33 32 39 38 |  AT+CPBW=1,"3298
30 32 30 30 36 38 22 2c 31 32 39 2c 22 30 30 34 | 020068",129,"004
31 30 30 34 63 30 30 34 35 30 30 35 33 30 30 35 | 1004c00450053005
33 30 30 34 31 30 30 34 65 30 30 34 34 30 30 34 | 30041004e0044004
31 30 30 32 30 30 30 34 32 30 30 34 66 30 30 35 | 100200042004f005
34 22 0d 0d 0a 4f 4b 0d                         | 4"   OK
Received message type 0e
Scrittura riuscita: tipo memoria: SM, posizione: 1, nome: ALESSANDA BOT,
numero: 3298020068
Message sent: 0x0e / 0x0052
41 54 2b 43 50 42 57 3d 32 2c 22 33 34 37 37 32 | AT+CPBW=2,"34772
35 30 35 37 39 22 2c 31 32 39 2c 22 30 30 34 31 | 50579",129,"0041
30 30 36 65 30 30 36 34 30 30 37 32 30 30 36 35 | 006e006400720065
30 30 36 31 30 30 32 30 30 30 34 32 30 30 36 31 | 0061002000420061
30 30 37 36 30 30 33 64 30 30 34 63 30 30 34 63 | 0076003d004c004c
22 0d                                           | "
write:
[AT+CPBW=2,"3477250579",129,"0041006e00640072006500610020004200610076003d004c004c"<cr>]
read :
[AT+CPBW=2,"3477250579",129,"0041006e00640072006500610020004200610076003d004c004c"<cr><cr><lf>OK<cr><lf>]
Message received: 0x0e / 0x0058
02 41 54 2b 43 50 42 57 3d 32 2c 22 33 34 37 37 |  AT+CPBW=2,"3477
32 35 30 35 37 39 22 2c 31 32 39 2c 22 30 30 34 | 250579",129,"004
31 30 30 36 65 30 30 36 34 30 30 37 32 30 30 36 | 1006e00640072006
35 30 30 36 31 30 30 32 30 30 30 34 32 30 30 36 | 5006100200042006
31 30 30 37 36 30 30 33 64 30 30 34 63 30 30 34 | 10076003d004c004
63 22 0d 0d 0a 4f 4b 0d                         | c"   OK
Received message type 0e
Scrittura riuscita: tipo memoria: SM, posizione: 2, nome: Andrea Bav=LL,
numero: 3477250579
Serial device: closing device
address@hidden:~/gnokii/testpla>





reply via email to

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