gnokii-users
[Top][All Lists]
Advanced

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

Re: SMS notification in smsreader


From: Rohit Chaudhri
Subject: Re: SMS notification in smsreader
Date: Wed, 19 Aug 2009 18:04:30 +0530

On Wed, Aug 19, 2009 at 4:06 PM, Pawel Kot <address@hidden> wrote:
Hi,

On Wed, Aug 19, 2009 at 11:36, Rohit Chaudhri<address@hidden> wrote:
> UNHANDLED FRAME RECEIVED
> request: 0x10 / 0x000a
> cc cc cc cc cc cc cc cc cc cc                   |
> reply: 0x02 / 0x002e
> 01 1b 04 2c 00 01 11 28 00 02 82 0c 02 08 07 91 |    ,   (
> 19 89 54 80 07 10 80 18 13 00 04 0c 91 19 59 53 |   T           YS
> 41 86 40 00 00 90 80 91 41 31 00 22 00 00       | A @     A1 "
> Please read Docs/Bugs and send a bug report!

You should have sent this in the first place.
Here's quick'n'dirty untested patch:
http://tfuj.pl/gnokii/incoming-sms-01.patch
It might work, it might not work. But there's a chance it will.

Thanks very much for the patch and sorry for not sending the gnokii log earlier. With the patch, the code goes further, tries to parse the sms message. The logs now show type 0x82 as not being handled. Is the remote number not being parsed because of the unhandled type 0x82? Pasting the log below:

Subscribing to various channels!
Message sent: 0x10 / 0x000a
00 01 00 10 05 01 02 14 15 17                   |
[Received Ack of type 10, seq:  1]
Entered sms reader mode...
[Sending Ack of type 02, seq: 4]
Message received: 0x02 / 0x002e
01 1b 02 2c 00 01 11 28 00 02 82 0c 02 08 07 91 |    ,   (
19 89 54 80 07 10 80 18 13 00 04 0c 91 19 59 53 |   T           YS
41 86 40 00 00 90 80 91 71 72 52 22 00 00       | A @     qrR"
Received message type 02
Frame of type 0x02 (SMS handling) received!
Incoming SMS notification
Trying to parse message....
Type: 130
Length: 12
Type 82 not yet handled!
Mobile Terminated message:
        Date: 2000-00-00 00:00:00 +0000
        Remote number (recipient or sender):
        SMS center number: +919845087001
Default Alphabet

SMS received from number:
Got message 0:

Also, when sending out an sms message, I don't see the destination phone no being parsed and printed. Pasting the console log for that below:

[Sending Ack of type 02, seq: 6]
Message received: 0x02 / 0x000a
01 1b 00 22 02 c0 01 01 01 00                   |    "
Received message type 02
Frame of type 0x02 (SMS handling) received!
SMS has been delivered to the phone and the phone is trying to send it.
No information about sending status yet
SMS sending status will be transmitted asynchronously
Message reference: 192
Warning: no data->raw_sms allocated and got response for send_sms()
[Sending Ack of type 02, seq: 7]
Message received: 0x02 / 0x000a
01 1b 00 22 03 c0 01 01 01 00                   |    "
Received message type 02
Frame of type 0x02 (SMS handling) received!
SMS has been delivered to the phone and the phone is trying to send it.
No information about sending status yet
SMS sending status will be transmitted asynchronously
Message reference: 192
Warning: no data->raw_sms allocated and got response for send_sms()

Is the warning message indicative of the problem with this? How can I resolve this?

Thanks a lot for your help!

 

_______________________________________________
gnokii-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/gnokii-users



--
वन्दे मातरम्
(Vande' Mataram)


reply via email to

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