gnokii-users
[Top][All Lists]
Advanced

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

Re: Telephone interface init failed: Command timed out.


From: Thilo Hardt
Subject: Re: Telephone interface init failed: Command timed out.
Date: Thu, 9 Nov 2006 20:00:28 +0100


Am 09.11.2006 um 11:40 schrieb Thilo Hardt:

After sending 3 to 5 sms every --sendsms or --getsms SM 1 10 fails with
"Telephone interface init failed: Command timed out."

Only manual resetting of the nokia resolves the problem - for some time.

I can reproduce the problem at any time if i deposit following command:
gnokii --getsms SM 1 20

It looks like it has nothing to do with the mobile phone type. I tested it with a 5110 and a 6110. Both have the same problems.

My Configuration:

[global]
port = /dev/ttyS1
model = 6110
initlength = default
use_locking = yes
serial_baudrate = 19200
smsc_timeout = 10

[gnokiid]
bindir = /usr/local/sbin/
TELEPHONE = 12345678

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


address@hidden:/usr/smsapi/bin# /usr/local/bin/gnokii --getsms SM 1 20
GNOKII Version 0.6.9
LOG: debug mask is 0x1
Lockfile /var/lock/LCK..ttyS1 is stale. Overriding it..
phone instance config:
model: 6110
port_device: /dev/ttyS1
connection_type: 0
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
Serial device: opening device /dev/ttyS1
Serial device: setting speed to 115200
Serial device: setting RTS to low and DTR to high
Message sent: 0x40 / 0x0004
00 01 64 01                                     |   d
[Received Ack of type 40, seq:  0]
[Sending Ack of type 40, seq: 1]
Message received: 0x40 / 0x000c
01 01 64 03 01 30 08 01 01 01 1b 58             |   d  0     X
Received message type 40
Message: Extended commands enabled.
Message sent: 0x40 / 0x0003
00 01 66                                        |   f
[Received Ack of type 40, seq:  1]
[Sending Ack of type 40, seq: 2]
Message received: 0x40 / 0x0014
01 01 66 01 34 39 30 35 31 38 32 30 37 34 37 31 |   f 490518207471
34 36 35 00                                     | 465
Received message type 40
IMEI: 490518207471465
Message sent: 0x40 / 0x0004
00 01 64 01                                     |   d
[Received Ack of type 40, seq:  2]
[Sending Ack of type 40, seq: 3]
Message received: 0x40 / 0x000c
01 01 64 03 01 30 08 01 01 01 1b 58             |   d  0     X
Received message type 40
Message: Extended commands enabled.
Message sent: 0x40 / 0x0004
00 01 c8 01                                     |   È
[Received Ack of type 40, seq:  3]
[Sending Ack of type 40, seq: 4]
Message received: 0x40 / 0x0025
01 01 c8 01 00 56 20 30 35 2e 34 38 0a 30 33 2d |   È  V 05.48 03-
30 39 2d 39 39 0a 4e 53 45 2d 33 0a 28 63 29 20 | 09-99 NSE-3 (c)
4e 4d 50 2e 00                                  | NMP.
Received message type 40
Received SW 05.48
Received model NSE-3
Message sent: 0x40 / 0x0004
00 01 64 01                                     |   d
[Received Ack of type 40, seq:  4]
[Sending Ack of type 40, seq: 5]
Message received: 0x40 / 0x000c
01 01 64 03 01 30 08 01 01 01 1b 58             |   d  0     X
Received message type 40
Message: Extended commands enabled.
Message sent: 0x40 / 0x0004
00 01 c8 05                                     |   È
[Received Ack of type 40, seq:  5]
[Sending Ack of type 40, seq: 6]
Message received: 0x40 / 0x000a
01 01 c8 05 00 34 33 30 30 00                   |   È  4300
Received message type 40
Received SW 05.48, HW 4300
comparing "NSE-3" and ""
comparing "NSE-3" and "?????"
comparing "NSE-3" and "?????"
comparing "NSE-3" and "TFF-3"
comparing "NSE-3" and "RX-2"
comparing "NSE-3" and "TME-2"
comparing "NSE-3" and "TME-1"
comparing "NSE-3" and "TME-3"
comparing "NSE-3" and "THX-9L"
comparing "NSE-3" and "THF-9"
comparing "NSE-3" and "NHX-8"
comparing "NSE-3" and "THF-11"
comparing "NSE-3" and "THF-10"
comparing "NSE-3" and "THF-13"
comparing "NSE-3" and "THF-12"
comparing "NSE-3" and "TFE-4R"
comparing "NSE-3" and "NHE-2"
comparing "NSE-3" and "RH-18"
comparing "NSE-3" and "RH-38"
comparing "NSE-3" and "RH-36"
comparing "NSE-3" and "NKC-1"
comparing "NSE-3" and "NKW-1"
comparing "NSE-3" and "NKW-1C"
comparing "NSE-3" and "NHE-5"
comparing "NSE-3" and "NHE-5NX"
comparing "NSE-3" and "NHE-5"
comparing "NSE-3" and "NHE-5NA"
comparing "NSE-3" and "NHE-5NX"
comparing "NSE-3" and "NHE-5SA"
comparing "NSE-3" and "NHE-3"
comparing "NSE-3" and "NAM-2"
comparing "NSE-3" and "NHE-1"
comparing "NSE-3" and "NHE-4"
comparing "NSE-3" and "NHE-4"
comparing "NSE-3" and "NHK-1XA"
comparing "NSE-3" and "NHK-1"
comparing "NSE-3" and "NHK-4"
comparing "NSE-3" and "NHC-4NE/HE"
comparing "NSE-3" and "NHC-4NE/HE"
comparing "NSE-3" and "NHP-4"
comparing "NSE-3" and "NHD-4X"
comparing "NSE-3" and "NHB-3NB"
comparing "NSE-3" and "RH-40"
comparing "NSE-3" and "RH-42"
comparing "NSE-3" and "RH-39"
comparing "NSE-3" and "RH-41"
comparing "NSE-3" and "RH-3P"
comparing "NSE-3" and "RH-3DNG"
comparing "NSE-3" and "RH-17"
comparing "NSE-3" and "RH-3"
comparing "NSE-3" and "RM-4"
comparing "NSE-3" and "RM-5"
comparing "NSE-3" and "RH-19"
comparing "NSE-3" and "RH-50"
comparing "NSE-3" and "RH-48"
comparing "NSE-3" and "RH-6"
comparing "NSE-3" and "NHE-8"
comparing "NSE-3" and "0310"
comparing "NSE-3" and "RH-30"
comparing "NSE-3" and "RH-31"
comparing "NSE-3" and "NSE-8"
comparing "NSE-3" and "NSE-9"
comparing "NSE-3" and "NSD-1A"
comparing "NSE-3" and "NEM-1"
comparing "NSE-3" and "NEM-2"
comparing "NSE-3" and "NHM-5"
comparing "NSE-3" and "NHM-5NX"
comparing "NSE-3" and "NHM-5NY"
comparing "NSE-3" and "NPC-1"
comparing "NSE-3" and "NHM-6"
comparing "NSE-3" and "NHM-9"
comparing "NSE-3" and "NPW-6"
comparing "NSE-3" and "NPW-1"
comparing "NSE-3" and "NPW-1"
comparing "NSE-3" and "NPB-1"
comparing "NSE-3" and "NPB-1B"
comparing "NSE-3" and "NHM-2"
comparing "NSE-3" and "NHM-8"
comparing "NSE-3" and "RH-9"
comparing "NSE-3" and "RH-21"
comparing "NSE-3" and "RH-9"
comparing "NSE-3" and "RH-14"
comparing "NSE-3" and "NPD-1FW"
comparing "NSE-3" and "NPD-1AW"
comparing "NSE-3" and "NPD-4AW"
comparing "NSE-3" and "RH-44"
comparing "NSE-3" and "NPM-8"
comparing "NSE-3" and "NPM-10"
comparing "NSE-3" and "NHM-10"
comparing "NSE-3" and "NAM-1"
comparing "NSE-3" and "NHM-10X"
comparing "NSE-3" and "NHL-8"
comparing "NSE-3" and "NHL-8X"
comparing "NSE-3" and "0305"
comparing "NSE-3" and "NHE-9"
comparing "NSE-3" and "NPM-6"
comparing "NSE-3" and "NPM-6X"
comparing "NSE-3" and "NMP-6"
comparing "NSE-3" and "NSE-1"
comparing "NSE-3" and "NSE-1NX"
comparing "NSE-3" and "NSE-1NY"
comparing "NSE-3" and "NSE-2NY"
comparing "NSE-3" and "NSC-1"
comparing "NSE-3" and "NSC-1"
comparing "NSE-3" and "NSK-1"
comparing "NSE-3" and "NPL-5"
comparing "NSE-3" and "NSW-1"
comparing "NSE-3" and "NSD-1F"
comparing "NSE-3" and "NSD-1G"
comparing "NSE-3" and "NSD-1A"
comparing "NSE-3" and "NSB-1"
comparing "NSE-3" and "NSM-5"
comparing "NSE-3" and "NPM-5"
comparing "NSE-3" and "NPM-10"
comparing "NSE-3" and "NPM-10X"
comparing "NSE-3" and "RTE-2RH"
comparing "NSE-3" and "RM-30"
comparing "NSE-3" and "RM-94"
comparing "NSE-3" and "NME-1"
comparing "NSE-3" and "NME-2"
comparing "NSE-3" and "NME-2A"
comparing "NSE-3" and "NME-2E"
comparing "NSE-3" and "NME-3"
comparing "NSE-3" and "NPL-2"
comparing "NSE-3" and "RH-4"
Found model "NSE-3"
Getting phone info (new way)...
Message sent: 0x64 / 0x0004
00 01 00 10                                     |
[Received Ack of type 64, seq:  6]
[Sending Ack of type 64, seq: 7]
Message received: 0x64 / 0x0036
01 08 00 11 4e 4f 4b 49 41 34 39 30 35 31 38 32 |     NOKIA4905182
30 37 34 37 31 34 36 35 00 4e 53 45 2d 33 00 30 | 07471465 NSE-3 0
35 30 31 35 30 33 00 34 33 30 30 00 30 35 2e 34 | 501503 4300 05.4
38 00 15 c2 ab e4                               | 8  «ä
Received message type 64
Received imei 490518207471465
Received model NSE-3
Received revision SW 05.48, HW 4300
Message: Mobile phone identification received:
        IMEI: 490518207471465
        Model: NSE-3
        Production Code: 0501503
        HW: 4300
        Firmware: 05.48
        Magic bytes: 15 c2 ab e4
Message sent: 0x02 / 0x0007
00 01 00 0d 00 00 02                            |
[Received Ack of type 02, seq:  7]
[Sending Ack of type 02, seq: 0]
Message received: 0x02 / 0x0004
01 08 00 0e                                     |
Received message type 02
Message sent: 0x02 / 0x0005
00 01 00 20 02                                  |
[Received Ack of type 02, seq:  0]
[Sending Ack of type 02, seq: 1]
Message received: 0x02 / 0x0004
01 08 00 21                                     |    !
Received message type 02
Setting CellBroadcast successful
Message sent: 0x02 / 0x0007
00 01 00 0d 01 00 02                            |
[Received Ack of type 02, seq:  1]
[Sending Ack of type 02, seq: 2]
Message received: 0x02 / 0x0004
01 08 00 0e                                     |
Received message type 02
Getting phone info (new way)...
Message sent: 0x64 / 0x0004
00 01 00 10                                     |
[Received Ack of type 64, seq:  2]
[Sending Ack of type 64, seq: 3]
Message received: 0x64 / 0x0036
01 08 00 11 4e 4f 4b 49 41 34 39 30 35 31 38 32 |     NOKIA4905182
30 37 34 37 31 34 36 35 00 4e 53 45 2d 33 00 30 | 07471465 NSE-3 0
35 30 31 35 30 33 00 34 33 30 30 00 30 35 2e 34 | 501503 4300 05.4
38 00 15 c2 ab e4                               | 8  «ä
Received message type 64
Message: Mobile phone identification received:
        IMEI: 490518207471465
        Model: NSE-3
        Production Code: 0501503
        HW: 4300
        Firmware: 05.48
        Magic bytes: 15 c2 ab e4
Message sent: 0x64 / 0x002d
00 01 00 12 6e 3c 6b 21 fe ff a8 7e 40 36 6d 50 |     n<address@hidden
49 40 ff b8 4e 4f 4b 49 41 26 4e 4f 4b 49 41 61 | address@hidden&NOKIAa
63 63 65 73 73 6f 72 79 00 00 00 00 e2          | ccessory    â
Message sent: 0x0c / 0x0005
00 01 00 40 01                                  |    @
[Received Ack of type 64, seq:  3]
[Received Ack of type 0c, seq:  4]
[Sending Ack of type 0c, seq: 4]
[Sending Ack of type 0c, seq: 5]
Message received: 0x0c / 0x0079
01 08 00 41 2e 2c 3f 21 2d 26 31 00 61 62 63 32 |    A.,?!-&1 abc2
e4 e0 e1 06 e2 e6 e7 00 64 65 66 33 e8 e9 eb ea | äàá âæç def3èéëê
00 67 68 69 34 ec ed ee ef 1f 1d 00 6a 6b 6c 35 |  ghi4ìíîï   jkl5
a3 00 6d 6e 6f 36 f1 f6 f2 f3 f4 f8 00 70 71 72 | £ mno6ñöòóôø pqr
73 37 df 24 00 74 75 76 38 fc f9 fa fb 00 77 78 | s7ß$ tuv8üùúû wx
79 7a 39 fd 00 20 30 00 00 00 2e 2c 3f 21 3a 3b | yz9ý  0   .,?!:;
2d 2b 23 2a 28 29 27 22 5f 40 26 24 a3 25 2f 3c | -+#*()'"_@&$£%/<
3e bf a1 a7 3d a4 1b a5 00                      | >¿¡§=€ ¥
Received message type 0c
Message sent: 0x02 / 0x0008
00 01 00 07 02 01 01 64                         |        d
[Received Ack of type 02, seq:  5]
[Sending Ack of type 14, seq: 6]
Message received: 0x14 / 0x0005
01 08 00 09 07                                  |
Received message type 14
SMS reading failed:
        Empty SMS location.
GetSMS SM 1 failed! (The given location is empty.)
Message sent: 0x02 / 0x0008
00 01 00 07 02 02 01 64                         |        d
[Received Ack of type 02, seq:  6]
[Sending Ack of type 14, seq: 7]
Message received: 0x14 / 0x0005
01 08 00 09 07                                  |
Received message type 14
SMS reading failed:
        Empty SMS location.
GetSMS SM 2 failed! (The given location is empty.)
Message sent: 0x02 / 0x0008
00 01 00 07 02 03 01 64                         |        d
[Received Ack of type 02, seq:  7]
[Sending Ack of type 14, seq: 0]
Message received: 0x14 / 0x0005
01 08 00 09 07                                  |
Received message type 14
SMS reading failed:
        Empty SMS location.
GetSMS SM 3 failed! (The given location is empty.)
Message sent: 0x02 / 0x0008
00 01 00 07 02 04 01 64                         |        d
[Received Ack of type 02, seq:  0]
[Sending Ack of type 14, seq: 1]
Message received: 0x14 / 0x0005
01 08 00 09 07                                  |
Received message type 14
SMS reading failed:
        Empty SMS location.
GetSMS SM 4 failed! (The given location is empty.)
Message sent: 0x02 / 0x0008
00 01 00 07 02 05 01 64                         |        d
[Received Ack of type 02, seq:  1]
[Sending Ack of type 14, seq: 2]
Message received: 0x14 / 0x0005
01 08 00 09 07                                  |
Received message type 14
SMS reading failed:
        Empty SMS location.
GetSMS SM 5 failed! (The given location is empty.)
Message sent: 0x02 / 0x0008
00 01 00 07 02 06 01 64                         |        d
[Received Ack of type 02, seq:  2]
[Sending Ack of type 14, seq: 3]
Message received: 0x14 / 0x0005
01 08 00 09 07                                  |
Received message type 14
SMS reading failed:
        Empty SMS location.
GetSMS SM 6 failed! (The given location is empty.)
Message sent: 0x02 / 0x0008
00 01 00 07 02 07 01 64                         |        d
[Received Ack of type 02, seq:  3]
[Sending Ack of type 14, seq: 4]
Message received: 0x14 / 0x0005
01 08 00 09 07                                  |
Received message type 14
SMS reading failed:
        Empty SMS location.
GetSMS SM 7 failed! (The given location is empty.)
Message sent: 0x02 / 0x0008
00 01 00 07 02 08 01 64                         |        d
[Received Ack of type 02, seq:  4]
[Sending Ack of type 14, seq: 5]
Message received: 0x14 / 0x0005
01 08 00 09 07                                  |
Received message type 14
SMS reading failed:
        Empty SMS location.
GetSMS SM 8 failed! (The given location is empty.)
Message sent: 0x02 / 0x0008
00 01 00 07 02 09 01 64                         |        d
[Received Ack of type 02, seq:  5]
[Sending Ack of type 14, seq: 6]
Message received: 0x14 / 0x0005
01 08 00 09 07                                  |
Received message type 14
SMS reading failed:
        Empty SMS location.
GetSMS SM 9 failed! (The given location is empty.)
Message sent: 0x02 / 0x0008
00 01 00 07 02 0a 01 64                         |        d
[Received Ack of type 02, seq:  6]
[Sending Ack of type 14, seq: 7]
Message received: 0x14 / 0x0005
01 08 00 09 07                                  |
Received message type 14
SMS reading failed:
        Empty SMS location.
GetSMS SM 10 failed! (The given location is empty.)
Message sent: 0x02 / 0x0008
00 01 00 07 02 0b 01 64                         |        d
[Received Ack of type 02, seq:  7]
[Sending Ack of type 14, seq: 0]
Message received: 0x14 / 0x0005
01 08 00 09 07                                  |
Received message type 14
SMS reading failed:
        Empty SMS location.
GetSMS SM 11 failed! (The given location is empty.)
Message sent: 0x02 / 0x0008
00 01 00 07 02 0c 01 64                         |        d
[Received Ack of type 02, seq:  0]
[Sending Ack of type 14, seq: 1]
Message received: 0x14 / 0x0005
01 08 00 09 07                                  |
Received message type 14
SMS reading failed:
        Empty SMS location.
GetSMS SM 12 failed! (The given location is empty.)
Message sent: 0x02 / 0x0008
00 01 00 07 02 0d 01 64                         |        d
[Received Ack of type 02, seq:  1]
[Sending Ack of type 14, seq: 2]
Message received: 0x14 / 0x0005
01 08 00 09 07                                  |
Received message type 14
SMS reading failed:
        Empty SMS location.
GetSMS SM 13 failed! (The given location is empty.)
Message sent: 0x02 / 0x0008
00 01 00 07 02 0e 01 64                         |        d
[Received Ack of type 02, seq:  2]
[Sending Ack of type 14, seq: 3]
Message received: 0x14 / 0x0005
01 08 00 09 07                                  |
Received message type 14
SMS reading failed:
        Empty SMS location.
GetSMS SM 14 failed! (The given location is empty.)
Message sent: 0x02 / 0x0008
00 01 00 07 02 0f 01 64                         |        d
[Received Ack of type 02, seq:  3]
[Sending Ack of type 14, seq: 4]
Message received: 0x14 / 0x0005
01 08 00 09 07                                  |
Received message type 14
SMS reading failed:
        Empty SMS location.
GetSMS SM 15 failed! (The given location is empty.)
Message sent: 0x02 / 0x0008
00 01 00 07 02 10 01 64                         |        d
[Received Ack of type 02, seq:  4]
[Sending Ack of type 14, seq: 5]
Message received: 0x14 / 0x0005
01 08 00 09 07                                  |
Received message type 14
SMS reading failed:
        Empty SMS location.
GetSMS SM 16 failed! (The given location is empty.)
Message sent: 0x02 / 0x0008
00 01 00 07 02 11 01 64                         |        d
[Received Ack of type 02, seq:  5]
[Sending Ack of type 14, seq: 6]
Message received: 0x14 / 0x0005
01 08 00 09 07                                  |
Received message type 14
SMS reading failed:
        Empty SMS location.
GetSMS SM 17 failed! (The given location is empty.)
Message sent: 0x02 / 0x0008
00 01 00 07 02 12 01 64                         |        d
[Received Ack of type 02, seq:  6]
[Sending Ack of type 14, seq: 7]
Message received: 0x14 / 0x0005
01 08 00 09 07                                  |
Received message type 14
SMS reading failed:
        Empty SMS location.
GetSMS SM 18 failed! (The given location is empty.)
Message sent: 0x02 / 0x0008
00 01 00 07 02 13 01 64                         |        d
[Received Ack of type 02, seq:  7]
[Sending Ack of type 14, seq: 0]
Message received: 0x14 / 0x0005
01 08 00 09 07                                  |
Received message type 14
SMS reading failed:
        Empty SMS location.
GetSMS SM 19 failed! (The given location is empty.)
Message sent: 0x02 / 0x0008
00 01 00 07 02 14 01 64                         |        d
[Received Ack of type 02, seq:  0]
[Sending Ack of type 14, seq: 1]
Message received: 0x14 / 0x0005
01 08 00 09 07                                  |
Received message type 14
SMS reading failed:
        Empty SMS location.
GetSMS SM 20 failed! (The given location is empty.)
Serial device: closing device


After this, the same command fails:

address@hidden:/usr/smsapi/bin# /usr/local/bin/gnokii --getsms SM 1 20
GNOKII Version 0.6.9
LOG: debug mask is 0x1
phone instance config:
model: 6110
port_device: /dev/ttyS1
connection_type: 0
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
Serial device: opening device /dev/ttyS1
Serial device: setting speed to 115200
Serial device: setting RTS to low and DTR to high
Message sent: 0x40 / 0x0004
00 01 64 01                                     |   d
[Received Ack of type 40, seq: 80]
Message sent: 0x40 / 0x0004
00 01 64 01                                     |   d
SM_Block: exiting the retry loop
Message sent: 0x40 / 0x0004
00 01 64 01                                     |   d
SM_Block: exiting the retry loop
Telephone interface init failed: Command timed out.
Quitting.

Please help! :(

Maybe it has something to do with
[Received Ack of type 40, seq: 80]

Thilo



reply via email to

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