gnokii-users
[Top][All Lists]
Advanced

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

Re: GN_OP_OnSMS in nk6510


From: Bastien Nocera
Subject: Re: GN_OP_OnSMS in nk6510
Date: Tue, 03 Jul 2007 21:04:36 +0100

On Tue, 2007-07-03 at 21:04 +0200, Pawel Kot wrote:
> Hi,
> 
> On 7/3/07, Bastien Nocera <address@hidden> wrote:
> > Is there any reason why GN_OP_OnSMS is disabled in the nk6510 driver?
> 
> Well, there are few possibilities. Either nobody tested it or it didn't work.
> 
> > Finally, I want to be notified on calls (and check battery info
> > regularly) as well, and I can't seem to find a good example of using
> > both GN_OP_SetCallNotification and GN_OP_OnSMS. Are they exclusive, or
> > can I set both notifications at once?
> 
> You can use both. But the subscription for FBUS are done by
> NK6510_Subscribe(). This way phone should send you an unsolicited
> frame with an incoming event (of given type).

I'm using GN_OP_Subscribe now (in gnokii-sms.c), and after uncommenting
the GN_OP_OnSMS, I get:
Message received: 0x02 / 0x0056
01 84 1d 04 02 55 00 96 55 01 00 4c 04 00 00 70 |      U  U  L   p
70 30 12 10 22 40 55 55 55 03 82 10 01 09 0e d0 | p0  "@UUU       
4f 59 2b c8 2e cb e9 55 55 55 82 0c 02 08 07 91 | OY+ .  UUU      
44 87 20 00 30 23 80 20 1c 1f 34 da ed 36 b3 d9 | D   0#    4  6  
6c b5 d8 0c 07 d2 29 d0 ef 3b 28 2c 7e d7 e9 20 | l     )  ;(,~   
3a 3a 4c ff 29 00                               | ::L )           
Received message type 02
Frame of type 0x02 (SMS handling) received!
Unknown subtype of type 0x02 (SMS handling): 0x04
UNHANDLED FRAME RECEIVED
request: 0x10 / 0x000b
00 01 00 10 06 01 02 0a 14 15 17                |                 
reply: 0x02 / 0x0056
01 84 1d 04 02 55 00 96 55 01 00 4c 04 00 00 70 |      U  U  L   p
70 30 12 10 22 40 55 55 55 03 82 10 01 09 0e d0 | p0  "@UUU       
4f 59 2b c8 2e cb e9 55 55 55 82 0c 02 08 07 91 | OY+ .  UUU      
44 87 20 00 30 23 80 20 1c 1f 34 da ed 36 b3 d9 | D   0#    4  6  
6c b5 d8 0c 07 d2 29 d0 ef 3b 28 2c 7e d7 e9 20 | l     )  ;(,~   
3a 3a 4c ff 29 00                               | ::L )           
Please read Docs/Bugs and send a bug report!

Full log attached. Any ideas?

-- 
Bastien Nocera <address@hidden> 

Attachment: gnokii-onsms-log.txt
Description: Text document


reply via email to

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