Re: [Bluez-users] hci_inquiry

Marcel Holtmann
2007-06-16T07:45:21Z

Hi,

> I'm little new in bluetooth software, so I've got some more questions.
> Where can I find this D-BUS API (is it in new versions of bluez-libs,
> bluez-utils or in kernel).
>
> Yesterday I generated this code:
>
> hci_send_req(dev_id, &rq, 100)
> where
> rq is hci_request struct and i set
> rq.ogf = OGF_LINK_CTL;
> rq.ocf = OCF_INQUIRY_CANCEL;
>
> If this code would be proper if I have new D-Bus API.

as I said, use the new D-Bus based API. The source code contains a
dbus-api.txt file with the full description.

Regards

Marcel