Re: [Bluez-users] trying to send data at HCI level

Marcel Holtmann
2005-02-25T09:03:27Z

Hi Benny,

> I was trying to send HCI command i define all the
> debug tools of buetooth.ko.
> Therfore I create AF_Bluetooth socket family.
> My data isn't received by my dongle.
>
> for debuging I was searching for the command read()
> from socket in the hci_sock.c side.
> But I didn't find it.
> I think that it's hci_sock_sendmsg() wich forward my
> HCI command to hci_usb.ko.
>
> but how bluetooth.ko layer catch my HCI command?

I have no idea what you are doing, but the HCI raw socket allows you to
send any command you like. Look at the library source code for more
information.