gnokii-users
[Top][All Lists]
Advanced

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

Digicom Pocket GSM serial modem - PART III: Last famous words


From: R.C.
Subject: Digicom Pocket GSM serial modem - PART III: Last famous words
Date: Sat, 9 Sep 2006 18:22:28 +0200

After applying patches suggested by Daniele, xgnokii
works as expected.

I have then compiled smsd but the effects of the patch
are quite strange.
With 0.6.13 smsd retrieves the same sms twice
every time a new one arrives.
With 0.6.14 smsd exits with error 1 and then restarts
without retrieving messages.

Here is the 0.6.14 log:
LOG: debug mask is 0x1
phone instance config:
model: AT
port_device: /dev/ttyS1
connection_type: 0
init_length: 0
serial_baudrate: 9600
serial_write_usleep: 10000
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/ttyS1
Serial device: setting RTS to high and DTR to high
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> MULTIBAND 900E 1800 <cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0029
02 41 54 2b 43 47 4d 4d 0d 0d 0a 20 4d 55 4c 54 |  AT+CGMM    MULT
49 42 41 4e 44 20 20 39 30 30 45 20 20 31 38 30 | IBAND  900E  180
30 20 0d 0a 0d 0a 4f 4b 0d                      | 0     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> WAVECOM MODEM<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0020
02 41 54 2b 43 47 4d 49 0d 0d 0a 20 57 41 56 45 |  AT+CGMI    WAVE
43 4f 4d 20 4d 4f 44 45 4d 0d 0a 0d 0a 4f 4b 0d | COM MODEM    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: 0x06 / 0x0008
41 54 2b 43 47 4d 4d 0d                         | AT+CGMM
write: [AT+CGMM<cr>]
read : [AT+CGMM<cr><cr><lf> MULTIBAND 900E 1800 <cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0029
02 41 54 2b 43 47 4d 4d 0d 0d 0a 20 4d 55 4c 54 |  AT+CGMM    MULT
49 42 41 4e 44 20 20 39 30 30 45 20 20 31 38 30 | IBAND  900E  180
30 20 0d 0a 0d 0a 4f 4b 0d                      | 0     OK
Received message type 06
Message sent: 0x12 / 0x0009
41 54 2b 43 50 4d 53 3f 0d                      | AT+CPMS?
write: [AT+CPMS?<cr>]
read : [AT+CPMS?<cr><cr><lf>+CPMS: "SM",3,10,"SM",3,10<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x12 / 0x002d
02 41 54 2b 43 50 4d 53 3f 0d 0d 0a 2b 43 50 4d |  AT+CPMS?   +CPM
53 3a 20 22 53 4d 22 2c 33 2c 31 30 2c 22 53 4d | S: "SM",3,10,"SM
22 2c 33 2c 31 30 0d 0a 0d 0a 4f 4b 0d          | ",3,10    OK
Received message type 12
Message sent: 0x00 / 0x0017
41 54 2b 43 50 4d 53 3d 22 53 4d 22 2c 22 53 4d | AT+CPMS="SM","SM
22 0d 00 00 b4 53 de                            | "    S
write: [AT+CPMS="SM","SM"<cr>address@hidden@^ôS^]
read : [AT+CPMS="SM","SM"<cr><cr><lf>+CPMS: 3,10,3,10<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x002c
02 41 54 2b 43 50 4d 53 3d 22 53 4d 22 2c 22 53 |  AT+CPMS="SM","S
4d 22 0d 0d 0a 2b 43 50 4d 53 3a 20 33 2c 31 30 | M"   +CPMS: 3,10
2c 33 2c 31 30 0d 0a 0d 0a 4f 4b 0d             | ,3,10    OK
Received message type 00
Message sent: 0x12 / 0x0009
41 54 2b 43 50 4d 53 3f 0d                      | AT+CPMS?
write: [AT+CPMS?<cr>]
read : address@hidden@^ôS^AT+CPMS?<cr><cr><lf>+CPMS: "SM",3,10,"SM",3,10<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x12 / 0x0032
02 00 00 b4 53 de 41 54 2b 43 50 4d 53 3f 0d 0d |     S AT+CPMS?
0a 2b 43 50 4d 53 3a 20 22 53 4d 22 2c 33 2c 31 |  +CPMS: "SM",3,1
30 2c 22 53 4d 22 2c 33 2c 31 30 0d 0a 0d 0a 4f | 0,"SM",3,10    O
4b 0d                                           | K
Received message type 12
GN_OP_GetSMSStatus at line 400 in file lowlevel.c returns error 1
Restarting connection.Serial device: closing device
Opened configuration file /root/.gnokiirc
Opened configuration file from memory
Added new section global
..............................etc

If needed I can recompile 0.6.13 for further debugging.
Anyway, 0.6.14 works perfectly with my Motorola V360
without patching.

Daniele: I'll soon test the patched version with my V360.

Thanx for your precious help

Regards

Raffaello

R.C. ha scritto:

Your patches made my Digicom PocketGSM
serial modem work fine.
Are those patches already in the CVS tree?

no because they need testing with those phones that give a longer answer
can you test the patched program with your Motorola?

--
Daniele






reply via email to

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