gnokii-users
[Top][All Lists]
Advanced

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

Re: Problems (phonebook + SMS reading) with Motorola V600


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

> Does it work with other memory types? As you said, Motorola supports:
> at+cpms=?
> +CPMS: ("IM","OM","BM","MT","DM"),("OM","DM"),("IM")
> Looking at atgen.c, gnokii will support at the moment:
>         "ME", /* Internal memory of the mobile equipment */
>         "SM", /* SIM card memory */
>         "FD", /* Fixed dial numbers */
>         "ON", /* Own numbers */
>         "EN", /* Emergency numbers */
>         "DC", /* Dialled numbers */
>         "RC", /* Received numbers */
>         "MC", /* Missed numbers */
>         "LD", /* Last dialed */
>         "MT", /* combined ME and SIM phonebook */
>         "TA", /* for compatibility only: TA=computer memory */
>         "CB", /* Currently selected memory */
> So you may try MT type. Do you know what BM and DM is?

Well, from Motorola PDF document (whose link I posted you) I discovered:

IM: Incoming Messages
OM: Outgoing Messages
BM: Information Service Messages
DM: Drafts
MT: IM,OM,BM and DM

Well I tried using memory type = "MT" with index = 637

address@hidden:~ # gnokii --getsms MT 637
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: 57600
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 4d 54 22 0d          | AT+CPMS="MT"
write: [AT+CPMS="MT"<cr>]
read : [AT+CPMS="MT"<cr><cr><lf>+CPMS: 19,1016<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x0025
02 41 54 2b 43 50 4d 53 3d 22 4d 54 22 0d 0d 0a |  AT+CPMS="MT"
2b 43 50 4d 53 3a 20 31 39 2c 31 30 31 36 0d 0a | +CPMS: 19,1016
0d 0a 4f 4b 0d                                  |   OK
Received message type 00
Message sent: 0x60 / 0x000a
41 54 2b 43 4d 47 46 3d 30 0d                   | AT+CMGF=0
write: [AT+CMGF=0<cr>]
read : [AT+CMGF=0<cr><cr><lf>OK<cr><lf>]
Message received: 0x60 / 0x0010
02 41 54 2b 43 4d 47 46 3d 30 0d 0d 0a 4f 4b 0d |  AT+CMGF=0   OK
Received message type 60
PDU mode set
Message sent: 0x18 / 0x000c
41 54 2b 43 4d 47 52 3d 36 33 37 0d             | AT+CMGR=637
write: [AT+CMGR=637<cr>]
read : [AT+CMGR=637<cr><cr><lf>+CMGR: 3,,146<cr><lf>0011FF0C919343390471440000FF96D434285C3FD7E56F10390D1AD7DFF23248587FBB4141B7FBCD0225E5657739049AC2CBF237688C2E83D8A7B0DBFD06B9EB6FFB1BE47EBB41F33408FE96D3D3207B3A0C1AA711A031BA0C22A741F0B401242EB3D96F5019447EB3C765503B0D0ADBCBF630C81CA6D3DFA0F1DBFD9E8FCBF23228CD06D9CBE3313AFD76B95C206AD9E57201<cr><lf>OK<cr><lf>]
Message received: 0x18 / 0x0149
02 41 54 2b 43 4d 47 52 3d 36 33 37 0d 0d 0a 2b |  AT+CMGR=637   +
43 4d 47 52 3a 20 33 2c 2c 31 34 36 0d 0a 30 30 | CMGR: 3,,146  00
31 31 46 46 30 43 39 31 39 33 34 33 33 39 30 34 | 11FF0C9193433904
37 31 34 34 30 30 30 30 46 46 39 36 44 34 33 34 | 71440000FF96D434
32 38 35 43 33 46 44 37 45 35 36 46 31 30 33 39 | 285C3FD7E56F1039
30 44 31 41 44 37 44 46 46 32 33 32 34 38 35 38 | 0D1AD7DFF2324858
37 46 42 42 34 31 34 31 42 37 46 42 43 44 30 32 | 7FBB4141B7FBCD02
32 35 45 35 36 35 37 37 33 39 30 34 39 41 43 32 | 25E5657739049AC2
43 42 46 32 33 37 36 38 38 43 32 45 38 33 44 38 | CBF237688C2E83D8
41 37 42 30 44 42 46 44 30 36 42 39 45 42 36 46 | A7B0DBFD06B9EB6F
46 42 31 42 45 34 37 45 42 42 34 31 46 33 33 34 | FB1BE47EBB41F334
30 38 46 45 39 36 44 33 44 33 32 30 37 42 33 41 | 08FE96D3D3207B3A
30 43 31 41 41 37 31 31 41 30 33 31 42 41 30 43 | 0C1AA711A031BA0C
32 32 41 37 34 31 46 30 42 34 30 31 32 34 32 45 | 22A741F0B401242E
42 33 44 39 36 46 35 30 31 39 34 34 37 45 42 33 | B3D96F5019447EB3
43 37 36 35 35 30 33 42 30 44 30 41 44 42 43 42 | C765503B0D0ADBCB
46 36 33 30 43 38 31 43 41 36 44 33 44 46 41 30 | F630C81CA6D3DFA0
46 31 44 42 46 44 39 45 38 46 43 42 46 32 33 32 | F1DBFD9E8FCBF232
32 38 43 44 30 36 44 39 43 42 45 33 33 31 33 41 | 28CD06D9CBE3313A
46 44 37 36 42 39 35 43 32 30 36 41 44 39 45 35 | FD76B95C206AD9E5
37 32 30 31 0d 0a 4f 4b 0d                      | 7201  OK
Received message type 18
0011FF0C919343390471440000FF96D434285C3FD7E56F10390D1AD7DFF23248587FBB4141B7FBCD0225E5657739049AC2CBF237688C2E83D8A7B0DBFD06B9EB6FFB1BE47EBB41F33408FE96D3D3207B3A0C1AA711A031BA0C22A741F0B401242EB3D96F5019447EB3C765503B0D0ADBCBF630C81CA6D3DFA0F1DBFD9E8FCBF23228CD06D9CBE3313AFD76B95C206AD9E57201
Mobile Originated (stored) message:
        Date: 2034-93-40 17:44:00+0000
Remote number (recipient or sender): 000000000000000000000000390000001100000
        SMS center number:
Default Alphabet
DKYYAJAHYGKAZSABmKmCALCiiAFѧgGKeKARYAlKGGQS�(K��@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
637. MO Message (letto)
DKYYAJAHYGKAZSABmKmCALCiiAFѧgGKeKARYAlKGGQS�(K��@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

Serial device: closing device

V600 gives something but it seems garbage...
Then I read again motorola man... I discovered that to get a message in human readable format we need to set

AT+CMGF=1

before reading and after reading we need to set it to

AT+CMGF=0

So, with minicom:

AT+CPMS="OM"
+CPMS: 7,254

OK
AT+CMGF=1
OK
AT+CMGR=637
+CMGR: "STO SENT", "+39xxxxxxxxxx"
Ti auguro di cuore Buon Anno, Irene! Spero che l'anno nuovo non si porti via ci.
OK

The only problem is that it seems the SMS is cut... The real SMS should be "Ti auguro di cuore Buon Anno, Irene! Spero che l'anno nuovo non si porti via ciò che di più bello e dolce mi aveva fatto conoscere il vecchio... Te..."

Hope to be helpful


--
Saluti,
Paolo




reply via email to

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