gnokii-users
[Top][All Lists]
Advanced

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

Re: BUG REPORT: failed with Chinese charaters (I've fixed it)


From: Forrest Yu
Subject: Re: BUG REPORT: failed with Chinese charaters (I've fixed it)
Date: Fri, 20 Oct 2006 15:40:03 +0800

Hi,

On 15 Oct 2006 20:33:27 +0200, Pawel Kot <address@hidden> wrote:

> It turns out that:
> block[2] is the number of bytes used to encode the message
> block[3] is number of characters stored in the message
> It seems to be a bit different in unicode messages. But still it
> doesn't explain your case. I suspect it may have something to do with
> message being concatenated -- can you find such dependence?

I don't think it has something to do with message being concatenated, 'coz I have a message like this:

Getting SMS...
Getting SMS message (47 in folder 12) status...
Message sent: 0x14 / 0x000a
00 01 00 0e 01 02 00 2f 55 55                   |        /UU     
[Received Ack of type 14, seq:  2]
[Sending Ack of type 14, seq: 2]
[Sending Ack of type 14, seq: 3]
Message received: 0x14 / 0x008a
01 55 00 0f 00 01 00 84 01 00 00 2f 02 01 00 00 |  U         /   
08 91 68 31 08 50 13 05 f0 00 00 00 0d 91 68 31 |   h1 P        h1
68 14 62 00 f0 00 00 00 60 01 80 51 71 22 23 00 | h b     `  Qq"#
00 00 03 06 7e d9 62 11 95 ee 4e 86 54 17 ff 1f |     ~ b   N T  
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                
00 00 00 00 00 00 00 00 00 00                   |                
Received message type 14
Message: SMS message(47 in folder 2) status received: 1
Message sent: 0x14 / 0x000a
00 01 00 02 01 02 00 2f 01 00                   |        /       
[Received Ack of type 14, seq:  3]
[Sending Ack of type 14, seq: 4]
Message received: 0x14 / 0x004e
01 55 00 03 00 01 01 02 00 2f 00 00 00 01 00 40 |  U       /     @
04 00 08 60 01 80 51 71 22 23 00 00 00 03 82 10 |    `  Qq"#     
01 09 0d 91 68 31 68 14 62 00 f0 00 00 00 82 10 |     h1h b      
02 09 08 91 68 31 08 50 13 05 f0 00 00 00 80 10 |     h1 P       
0c 06 7e d9 62 11 95 ee 4e 86 54 17 ff 1f       |   ~ b   N T    
Received message type 14
Trying to get message # 47 in folder # 2
Type: Deliver
Mobile Terminated message:
    Date: 2006-10-08-15-17-22-+0800
    Remote number (recipient or sender): +8613864126000
    SMS center number: +8613800531500
Unicode message
给我问

No `Concatenated messages' is found in the output, but it is still truncated.


> How was this message sent?
It was sent by my friend via a Nokia phone. -- I'm sorry but, what are you intending to know?

> How many characters does it have?
block[3] is exactly the number of characters.


> Could you please print our result (ie size of each character) of char_wctomb()?
I'll try.

I wonder if there're any official document which could help me understand all the details in the dump? Or what doc did you refer to when you developed gnokii?


Best Regards,
Forrest Yu


reply via email to

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