Re: understading bluetooth init

Marcel Holtmann
2008-12-23T23:10:40Z

Hi Claudio,

first things first, don't top-post on the mailing list. It is a proper
open source mailing list that uses bottom posting and inline quoting.

> I'm using an arduino board and a ps3 gamepad to move 3 servos for a
> small robotic arm. I would like to put a BT dongle to the arduino, the
> one that is used from a normal computer, without buy a bluetooth module
> that cost too much for now because my arm is just a prototype for
> something that i'll build in the few months.
> Anyway to make it short, i don't need to make huge data transfer, but
> just some bytes, so i can skip many USB and BT features to do that?
>
> I know something about bluez because is searched inside source code to
> create Rbluez, ruby c extension, but i tried to find out what exactly
> happen, in kernel space and user space, when i plug a usb dongle but,
> for me, is too much now.
>
> Maybe to start this search you can tell me which file is have to
> investigate!

as I said before, there is no easy answer to such a question. You can
grab one of my old presentation that I did around 2003, but even that
might not help that much. It is a really complex system. Sorry, there is
nothing I can really do in a quick answer. If you wanna look into the
kernel code, look at net/bluetooth/ and include/net/bluetooth/. The
actual drivers for the USB dongle is at drivers/bluetooth/btusb.c.

Regards

Marcel