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 just realised the callbacks were pretty useless to me, as they don't
push any sort of user provided pointer in the callback.