gnokii-users
[Top][All Lists]
Advanced

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

Re: Gnokii/smsd issue


From: દિનેશ શાહ/दिनेश शाह
Subject: Re: Gnokii/smsd issue
Date: Wed, 4 Feb 2009 22:22:09 +0530

Pawel,

here is the relevant log line! At this point smsd can is not able to
read any new msgs. However, it still able to send msgs so
communication should be OK.

Only way to recover from this is to terminate smsd and restart it. If
I don;t do it the msgs on mobile Inbox.

Timeout in file lowlevel.c, line 467, restarting connection.
Serial device: closing device
Opened configuration file /home/dinesh/.gnokiirc
Opened configuration file from memory
Added new section global
Adding key/value port//dev/ttyUSB0
Adding key/value model/series60
Adding key/value initlength/default
Adding key/value connection/serial
Adding key/value use_locking/yes
Adding key/value serial_baudrate/115200
Adding key/value smsc_timeout/10
Added new section xgnokii
Adding key/value allow_breakage/0
Added new section gnokiid
Adding key/value bindir//usr/sbin/
Added new section connect_script
Adding key/value TELEPHONE/9892707667
Added new section disconnect_script
Added new section logging
Adding key/value debug/on
Adding key/value rlpdebug/off
Adding key/value xdebug/off
LOG: debug mask is 0x1
Config read from file /home/dinesh/.gnokiirc.
phone instance config:
model = series60
port = /dev/ttyUSB0
connection = serial
initlength = default
serial_baudrate = 115200
serial_write_usleep = -1
handshake = software
require_dcd = 0
smsc_timeout = 10
rfcomm_channel = 0
sm_retry = 0
Connecting
Serial device: opening device /dev/ttyUSB0
Serial device: setting speed to 115200
Serial device: setting RTS to low and DTR to low
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               |
[Received Ack of type 1b, seq:  0]
[Sending Ack of type 1b, seq: 6]
Message received: 0x1b / 0x0032
01 39 00 08 00 01 58 2c 00 26 56 20 30 35 2e 32 |  9    X, &V 05.2
32 0a 32 33 2d 30 35 2d 30 37 0a 52 4d 2d 33 30 | 2 23-05-07 RM-30
0a 28 63 29 20 4e 6f 6b 69 61 2e 20 20 0a 52 00 |  (c) Nokia.   R
00 00                                           |
Received message type 1b
model length: 5
Received model RM-30
Found model "RM-30"
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               |
[Received Ack of type 1b, seq:  1]
[Sending Ack of type 1b, seq: 7]
Message received: 0x1b / 0x0032
01 39 00 08 00 01 58 2c 00 26 56 20 30 35 2e 32 |  9    X, &V 05.2
32 0a 32 33 2d 30 35 2d 30 37 0a 52 4d 2d 33 30 | 2 23-05-07 RM-30
0a 28 63 29 20 4e 6f 6b 69 61 2e 20 20 0a 52 00 |  (c) Nokia.   R
00 00                                           |
Received message type 1b
Received revision V 05.22
model length: 5
Received model RM-30
Found model "RM-30"
Found model "RM-30"
General Data Coding
dcs: 0x0
Length: 0x11
user_data_length: 0xf
ValidityIndicator: 2
user_data: 73FA5B5E06B1DFF7B21C040FCBCB6C
Sending
Sending SMS...(70)
Message sent: 0x02 / 0x0046
00 01 00 02 00 00 00 55 55 01 02 3c 31 00 00 00 |        UU  <1
00 04 82 0c 01 04 03 81 11 f1 00 00 00 00 82 0c |
02 08 07 91 19 89 02 00 45 44 80 18 0f 11 73 fa |         ED    s
5b 5e 06 b1 df f7 b2 1c 04 0f cb cb 6c 55 55 55 | [^          lUUU
55 55 08 04 01 a9                               | UU
[Received Ack of type 02, seq:  2]
[Sending Ack of type 02, seq: 0]
Message received: 0x02 / 0x000e
01 74 00 03 00 01 0c 08 00 00 79 55 55 00       |  t        yUU
Received message type 02
Frame of type 0x02 (SMS handling) received!
SMS sent (reference: 121)
Using GetSMSFolderStatus for Series40 3rd Ed
Trying to retrieve filelist of C:\predefmessages\1\*.* from cache
Getting key C:\predefmessages\1\*.* from map 0x81a6330.
Getting key C:\predefmessages\1\*.* from map 0x81a6330.
Cache empty or expired
Message sent: 0x6d / 0x0037
00 01 00 68 00 2e 00 43 00 3a 00 5c 00 70 00 72 |    h . C : \ p r
00 65 00 64 00 65 00 66 00 6d 00 65 00 73 00 73 |  e d e f m e s s
00 61 00 67 00 65 00 73 00 5c 00 31 00 5c 00 2a |  a g e s \ 1 \ *
00 2e 00 2a 00 00 00                            |  . *
[Received Ack of type 6d, seq:  3]
[Sending Ack of type 6d, seq: 1]
Message received: 0x6d / 0x0022
01 41 00 69 06 00 00 00 00 00 00 00 00 00 00 00 |  A i
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 02                                           |
Received message type 6d
Invalid path
lowlevel.c:472 error: 16, The given memory location is invalid.
Message sent: 0x02 / 0x0006
00 01 00 14 01 00                               |
[Received Ack of type 02, seq:  4]
[Sending Ack of type 02, seq: 2]
Message received: 0x02 / 0x003a
01 74 00 15 00 01 0b 34 01 fd ff 00 ff 02 82 0c |  t     4
02 08 07 91 19 89 02 00 45 44 81 20 1a 00 00 53 |         ED     S
00 4d 00 53 00 20 00 43 00 65 00 6e 00 74 00 65 |  M S   C e n t e
00 72 00 20 00 31 00 00 00 00                   |  r   1
Received message type 02
Frame of type 0x02 (SMS handling) received!
SMSC Received
General Data Coding
dcs: 0x0
Length: 0xf
user_data_length: 0xe
ValidityIndicator: 2
user_data: 73FA5B5E06B5C3E8303B8C6FA701
Sending
Sending SMS...(70)
Message sent: 0x02 / 0x0046
00 01 00 02 00 00 00 55 55 01 02 3c 31 00 00 00 |        UU  <1
00 04 82 0c 01 04 03 81 11 f1 00 00 00 00 82 0c |
02 08 07 91 19 89 02 00 45 44 80 18 0e 0f 73 fa |         ED    s
5b 5e 06 b5 c3 e8 30 3b 8c 6f a7 01 55 55 55 55 | [^    0; o  UUUU
55 55 08 04 01 a9                               | UU
[Received Ack of type 02, seq:  5]
Event 0 failed with return code 11!
Using GetSMSFolderStatus for Series40 3rd Ed
Trying to retrieve filelist of C:\predefmessages\1\*.* from cache
Getting key C:\predefmessages\1\*.* from map 0x81a6330.
Getting key C:\predefmessages\1\*.* from map 0x81a6330.
Cache empty or expired
Message sent: 0x6d / 0x0037
00 01 00 68 00 2e 00 43 00 3a 00 5c 00 70 00 72 |    h . C : \ p r
00 65 00 64 00 65 00 66 00 6d 00 65 00 73 00 73 |  e d e f m e s s
00 61 00 67 00 65 00 73 00 5c 00 31 00 5c 00 2a |  a g e s \ 1 \ *
00 2e 00 2a 00 00 00                            |  . *
[Sending Ack of type 02, seq: 3]
Message received: 0x02 / 0x000e
01 74 00 03 00 01 0c 08 00 00 7a 55 55 00       |  t        zUU
Received message type 02
Frame of type 0x02 (SMS handling) received!
SMS sent (reference: 122)
Warning: no data->raw_sms allocated and got send_sms() response
Timeout in file lowlevel.c, line 467, restarting connection.
Serial device: closing device


On Wed, Feb 4, 2009 at 10:06 PM, Dinesh Shah (દિનેશ શાહ/दिनेश शाह)
<address@hidden> wrote:
> Pawel,
>
> On Wed, Feb 4, 2009 at 8:37 PM, Pawel Kot <address@hidden> wrote:
>> Hi,
>>
>> On Wed, Feb 4, 2009 at 15:34, Dinesh Shah (દિનેશ શાહ/दिनेश शाह)
>> <address@hidden> wrote:
>>> Now I am testing CVS version without patch but made following changes
>>>
>>> MAX_CONSEQUETIVE_ERRORS reduced to 2
>>>
>>> Also, limited 5 msgs from outbox by changing SQL statement.
>>>
>>> SMSd is quite stable, though it switches to series40 mode after error.
>>
>> Please show the log.
>
> [Received Ack of type 02, seq:  5]
> Event 0 failed with return code 11!
> Deleting SMS...
> Getting SMS Folders...
> Message sent: 0x14 / 0x0006
> 00 01 00 12 00 00                               |
> SM_Block: exiting the retry loop
> Message sent: 0x14 / 0x0006
> 00 01 00 12 00 00                               |
> SM_Block: exiting the retry loop
> Message sent: 0x14 / 0x0006
> 00 01 00 12 00 00                               |
> SM_Block: exiting the retry loop
> [Sending Ack of type 02, seq: 6]
> Message received: 0x02 / 0x000e
> 01 74 00 03 00 01 0c 08 00 00 4b 55 55 00       |  t        KUU
> Received message type 02
> Frame of type 0x02 (SMS handling) received!
> SMS sent (reference: 75)
> Warning: no data->raw_sms allocated and got send_sms() response
> Using GetSMSFolders for Series40 3rd Ed
> Trying to retrieve filelist of c:\predefmessages\*.* from cache
> Cache empty or expired
> Message sent: 0x6d / 0x0033
> 00 01 00 68 00 2a 00 63 00 3a 00 5c 00 70 00 72 |    h * c : \ p r
> 00 65 00 64 00 65 00 66 00 6d 00 65 00 73 00 73 |  e d e f m e s s
> 00 61 00 67 00 65 00 73 00 5c 00 2a 00 2e 00 2a |  a g e s \ * . *
> 00 00 00                                        |
> [Received Ack of type 6d, seq: 81]
> Command timed out.
> Using DeleteSMS for Series40 3rd Ed
> Trying to retrieve filelist of C:\predefmessages\1\*.* from cache
> Cache empty or expired
> Message sent: 0x6d / 0x0037
> 00 01 00 68 00 2e 00 43 00 3a 00 5c 00 70 00 72 |    h . C : \ p r
> 00 65 00 64 00 65 00 66 00 6d 00 65 00 73 00 73 |  e d e f m e s s
> 00 61 00 67 00 65 00 73 00 5c 00 31 00 5c 00 2a |  a g e s \ 1 \ *
> 00 2e 00 2a 00 00 00                            |  . *
> SM_Block: exiting the retry loop
>
> This is the tipping point. Full log attached in gz format.
>
>>
>>> How do I disable this auto-switch behavior? I am using series60 driver
>>> with Nokia 6020.
>>
>> You don't.
>
> I can surely make changes in the code/driver? Can you point me where
> this switch happens? So can compile and test.
>
>>
>> pkot
>> --
>> Pawel Kot
>
> With regards,
> --
> --Dinesh Shah :-)
> Shah Micro System
> +91-98213-11906
> Blog-1: http://dineshah.wordpress.com/
> Blog-2: http://dineshah.blogspot.com/
> Calvin Trillin  - "Health food makes me sick."
>



-- 
--Dinesh Shah :-)
Shah Micro System
+91-98213-11906
Blog-1: http://dineshah.wordpress.com/
Blog-2: http://dineshah.blogspot.com/
Lucille Ball  - "The secret of staying young is to live honestly, eat
slowly, and lie about your age."




reply via email to

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