gnokii-users
[Top][All Lists]
Advanced

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

Problems (phonebook + SMS reading) with Motorola V600


From: Paolo Gambetti
Subject: Problems (phonebook + SMS reading) with Motorola V600
Date: Mon, 03 Jan 2005 19:56:38 +0100
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)

Hi all. I'm a Motorola V600 owner using gnokii from CVS (2005-Jan-03) to access my telephone.
This is my `.gnokiirc':

[global]

port = xx:xx:xx:xx:xx:xx
model = AT
initlength = default
connection = bluetooth
bindir = /usr/sbin
use_locking = yes
serial_baudrate = 19200
rfcomm_channel = 1
smsc_timeout = 10

[logging]
debug = on
rlpdebug = on
#xdebug = on

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

I had problems reading some records in my phonebook (as for example number 108); this is gnokii log:

address@hidden:~ # gnokii --getphonebook ME 108 -r
GNOKII Version 0.6.4
LOG: debug mask is 0x1
LOG: rlpdebug mask is 0x1
phone instance config:
model: AT
port_device: xx:xx:xx:xx:xx:xx
connection_type: 5
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 xx:xx:xx:xx:xx:xx
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 / 0x0008
41 54 2b 43 47 4d 4d 0d                         | AT+CGMM
write: [AT+CGMM<cr>]
read : [AT+CGMM<cr><cr><lf>+CGMM: "GSM900","GSM1800","GSM1900","GSM850","MODEL=V600"<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x004b
02 41 54 2b 43 47 4d 4d 0d 0d 0a 2b 43 47 4d 4d |  AT+CGMM   +CGMM
3a 20 22 47 53 4d 39 30 30 22 2c 22 47 53 4d 31 | : "GSM900","GSM1
38 30 30 22 2c 22 47 53 4d 31 39 30 30 22 2c 22 | 800","GSM1900","
47 53 4d 38 35 30 22 2c 22 4d 4f 44 45 4c 3d 56 | GSM850","MODEL=V
36 30 30 22 0d 0a 0d 0a 4f 4b 0d                | 600"    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>+CGMI: "Motorola CE, Copyright 2000"<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0036
02 41 54 2b 43 47 4d 49 0d 0d 0a 2b 43 47 4d 49 |  AT+CGMI   +CGMI
3a 20 22 4d 6f 74 6f 72 6f 6c 61 20 43 45 2c 20 | : "Motorola CE,
43 6f 70 79 72 69 67 68 74 20 32 30 30 30 22 0d | Copyright 2000"
0a 0d 0a 4f 4b 0d                               |    OK
Received message type 06
Message sent: 0x5e / 0x0009
41 54 2b 43 53 43 53 3f 0d                      | AT+CSCS?
write: [AT+CSCS?<cr>]
read : [AT+CSCS?<cr><cr><lf>+CSCS: "ASCII"<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x5e / 0x0021
02 41 54 2b 43 53 43 53 3f 0d 0d 0a 2b 43 53 43 |  AT+CSCS?   +CSC
53 3a 20 22 41 53 43 49 49 22 0d 0a 0d 0a 4f 4b | S: "ASCII"    OK
0d                                              |
Received message type 5e
Initialisation completed
Message sent: 0x5e / 0x000a
41 54 2b 43 53 43 53 3d 3f 0d                   | AT+CSCS=?
write: [AT+CSCS=?<cr>]
read : [AT+CSCS=?<cr><cr><lf>+CSCS: ("8859-1","ASCII","GSM","UCS2","UTF8")<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x5e / 0x0041
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 38 38 35 39 2d 31 22 2c 22 41 | CS: ("8859-1","A
53 43 49 49 22 2c 22 47 53 4d 22 2c 22 55 43 53 | SCII","GSM","UCS
32 22 2c 22 55 54 46 38 22 29 0d 0a 0d 0a 4f 4b | 2","UTF8")    OK
0d                                              |
Received message type 5e
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: 0x00 / 0x000d
41 54 2b 43 50 42 53 3d 22 4d 45 22 0d          | AT+CPBS="ME"
write: [AT+CPBS="ME"<cr>]
read : [AT+CPBS="ME"<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x0013
02 41 54 2b 43 50 42 53 3d 22 4d 45 22 0d 0d 0a |  AT+CPBS="ME"
4f 4b 0d                                        | OK
Received message type 00
Message sent: 0x62 / 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-1000),40,24<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x62 / 0x0029
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 31 30 30 30 29 2c 34 30 2c | BR: (1-1000),40,
32 34 0d 0a 0d 0a 4f 4b 0d                      | 24    OK
Received message type 62
Message sent: 0x0d / 0x000c
41 54 2b 43 50 42 52 3d 31 30 38 0d             | AT+CPBR=108
write: [AT+CPBR=108<cr>]
read : [AT+CPBR=108<cr><cr><lf>+CPBR: 108,"+39019850446",145,0043006100730061<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x0d / 0x0044
02 41 54 2b 43 50 42 52 3d 31 30 38 0d 0d 0a 2b |  AT+CPBR=108   +
43 50 42 52 3a 20 31 30 38 2c 22 2b 33 39 30 31 | CPBR: 108,"+3901
39 38 35 30 34 34 36 22 2c 31 34 35 2c 30 30 34 | 9850446",145,004
33 30 30 36 31 30 30 37 33 30 30 36 31 0d 0a 0d | 3006100730061
0a 4f 4b 0d                                     |  OK
Received message type 0d
Casa;+3;ME;108;0        <------ NOT THE REAL NUMBER!
Serial device: closing device

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

This is what happens trying to read my SMS:
gnokii --getsms SM 1
GNOKII Version 0.6.4
LOG: debug mask is 0x1
LOG: rlpdebug mask is 0x1
phone instance config:
model: AT
port_device: xx:xx:xx:xx:xx:xx
connection_type: 5
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 xx:xx:xx:xx:xx:xx
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 / 0x0008
41 54 2b 43 47 4d 4d 0d                         | AT+CGMM
write: [AT+CGMM<cr>]
read : [AT+CGMM<cr><cr><lf>+CGMM: "GSM900","GSM1800","GSM1900","GSM850","MODEL=V600"<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x004b
02 41 54 2b 43 47 4d 4d 0d 0d 0a 2b 43 47 4d 4d |  AT+CGMM   +CGMM
3a 20 22 47 53 4d 39 30 30 22 2c 22 47 53 4d 31 | : "GSM900","GSM1
38 30 30 22 2c 22 47 53 4d 31 39 30 30 22 2c 22 | 800","GSM1900","
47 53 4d 38 35 30 22 2c 22 4d 4f 44 45 4c 3d 56 | GSM850","MODEL=V
36 30 30 22 0d 0a 0d 0a 4f 4b 0d                | 600"    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>+CGMI: "Motorola CE, Copyright 2000"<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0036
02 41 54 2b 43 47 4d 49 0d 0d 0a 2b 43 47 4d 49 |  AT+CGMI   +CGMI
3a 20 22 4d 6f 74 6f 72 6f 6c 61 20 43 45 2c 20 | : "Motorola CE,
43 6f 70 79 72 69 67 68 74 20 32 30 30 30 22 0d | Copyright 2000"
0a 0d 0a 4f 4b 0d                               |    OK
Received message type 06
Message sent: 0x5e / 0x0009
41 54 2b 43 53 43 53 3f 0d                      | AT+CSCS?
write: [AT+CSCS?<cr>]
read : [AT+CSCS?<cr><cr><lf>+CSCS: "ASCII"<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x5e / 0x0021
02 41 54 2b 43 53 43 53 3f 0d 0d 0a 2b 43 53 43 |  AT+CSCS?   +CSC
53 3a 20 22 41 53 43 49 49 22 0d 0a 0d 0a 4f 4b | S: "ASCII"    OK
0d                                              |
Received message type 5e
Initialisation completed
Message sent: 0x00 / 0x000d
41 54 2b 43 50 4d 53 3d 22 53 4d 22 0d          | AT+CPMS="SM"
write: [AT+CPMS="SM"<cr>]
read : [^B^D+CPMS="SM"<cr><cr><lf>+CMS ERROR: 516<cr><lf>]
Message received: 0x00 / 0x0020
04 02 04 2b 43 50 4d 53 3d 22 53 4d 22 0d 0d 0a |    +CPMS="SM"
2b 43 4d 53 20 45 52 52 4f 52 3a 20 35 31 36 0d | +CMS ERROR: 516
Received message type 00
GetSMS SM 1 failed! (Unknown error - well better than nothing!!)
Serial device: closing device

Thanks for your time

--
Saluti,
Paolo




reply via email to

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