2009-05-18 14:50:09

by alok barsode

[permalink] [raw]
Subject: [PATCH] Adding start_inquiry to hciops plugin.

Hi Marcel,

Attaching a patch which adds start_inquiry functionality to the hciops plugin.
I have made the following changes :

* use hci_send_cmd instead of hci_send_req.
* move the cmd_status callback from dbus-hci.c to adapter.c and call
it adapter_start_inquiry_cb().
* hardcode the callback instead of passing a function pointer.

If you are OK with this framework, i can start working on the periodic
inquiry functionality.

Let me know what you think.

Cheers,
Alok.


Attachments:
0001-Adding-start_inquiry-functionality-to-hciops-plugin.patch (7.59 kB)