gnokii-users
[Top][All Lists]
Advanced

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

SMS Send failed (Command timed out.): but sent!


From: Carles Pina i Estany
Subject: SMS Send failed (Command timed out.): but sent!
Date: Thu, 7 Aug 2008 15:29:22 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hello dear list :-)

Finally I could plug a Nokia 6120-C. My configuration is:
[global]
model = AT
port = /dev/ttyACM0
connection = serial

I'm sending a SMS. The final gnokii message is:
----
SMS Send failed (Command timed out.)
----

Luckily the SMS is correctly sent, but I don't like the message error.

Here is the debug. Where you see "xxxxxxxx" it's me, writing xxxxxxx
where gets stopped.

-------------
lexatel-isdnpbx-401:~# echo test | gnokii --sendsms 685188733
GNOKII Version 0.6.26
Couldn't read /root/.gnokiirc config file.
Couldn't read /root/.gnokiirc config file.
LOG: debug mask is 0x1
Config read from file /etc/gnokiirc.
phone instance config:
model = AT
port = /dev/ttyACM0
connection = serial
initlength = default
serial_baudrate = 19200
serial_write_usleep = -1
handshake = software
require_dcd = 0
smsc_timeout = 10
rfcomm_channel = 1
sm_retry = 0
Initializing AT capable mobile phone ...
Serial device: opening device /dev/ttyACM0
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 / 0x0007
41 54 2b 47 4d 4d 0d                            | AT+GMM
write: [AT+GMM<cr>]
read : [AT+GMM<cr><cr><lf>Nokia 6120<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x001b
02 41 54 2b 47 4d 4d 0d 0d 0a 4e 6f 6b 69 61 20 |  AT+GMM   Nokia
36 31 32 30 0d 0a 0d 0a 4f 4b 0d                | 6120    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: 0x23 / 0x0009
41 54 2b 43 53 43 41 3f 0d                      | AT+CSCA?
write: [AT+CSCA?<cr>]
read : [AT+CSCA?<cr><cr><lf>+CSCA:
"+34656000311",145<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x23 / 0x002c
02 41 54 2b 43 53 43 41 3f 0d 0d 0a 2b 43 53 43 |  AT+CSCA?   +CSC
41 3a 20 22 2b 33 34 36 35 36 30 30 30 33 31 31 | A: "+34656000311
22 2c 31 34 35 0d 0a 0d 0a 4f 4b 0d             | ",145    OK
Received message type 23
General Data Coding
dcs: 0x0
Length: 0x4
user_data_length: 0x4
ValidityIndicator: 2
user_data: F4F29C0E
Sending
Message sent: 0x63 / 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: 0x63 / 0x0010
02 41 54 2b 43 4d 47 46 3d 30 0d 0d 0a 4f 4b 0d |  AT+CMGF=0   OK
Received message type 63
PDU mode set
Sending initial sequence
Message sent: 0x64 / 0x000b
41 54 2b 43 4d 47 53 3d 31 37 0d                | AT+CMGS=17
write: [AT+CMGS=17<cr>]
read : [AT+CMGS=17<cr><cr><lf>> ]
Message received: 0x64 / 0x000f
01 41 54 2b 43 4d 47 53 3d 31 37 0d 0d 0a 3e    |  AT+CMGS=17   >
Received message type 64
Got response 0
Sending frame: 07914356060013F11100098186158837F30000AA04F4F29C0E?
Message sent: 0x21 / 0x0033
30 37 39 31 34 33 35 36 30 36 30 30 31 33 46 31 | 07914356060013F1
31 31 30 30 30 39 38 31 38 36 31 35 38 38 33 37 | 1100098186158837
46 33 30 30 30 30 41 41 30 34 46 34 46 32 39 43 | F30000AA04F4F29C
30 45 1a                                        | 0E
write: [07914356060013F11100098186158837F30000AA04F4F29C0E^Z]
xxxxxxxxxxxx
SMS Send failed (Command timed out.)
Serial device: closing device
----------------

Any clue? Other configuration?

I haven't looked in the source code.

One more time: thank you!

-- 
Carles Pina i Estany            GPG id: 0x17756391
        http://pinux.info




reply via email to

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