2004-03-27 18:38:25

by zubiwat

[permalink] [raw]
Subject: [Bluez-devel] BT Initialization

Hi
I'm setting CSR BT device using code from blueZ hciattach.c
and after this when I'm trying to send some commands I get only this:
04 FF 13 C2 01 00 09 00 02 00 02 68 00 00 BF 0E 00 00 00 00 00 00
I get this even when I'm not sending anything. I looked for this event into specification and couldn't find it.
I think that I have to send some command to set BT up and then it will listen to my other commands like reading BT ADDR.
If someone could send me a code how to set up BT device and read BT ADDR for example I would be greatfull.

Regards

Maciej Zubilewicz


2004-03-27 18:44:23

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] BT Initialization

Hi Maciej,

> I'm setting CSR BT device using code from blueZ hciattach.c
> and after this when I'm trying to send some commands I get only this:
> 04 FF 13 C2 01 00 09 00 02 00 02 68 00 00 BF 0E 00 00 00 00 00 00
> I get this even when I'm not sending anything. I looked for this event
> into specification and couldn't find it.
> I think that I have to send some command to set BT up and then it will
> listen to my other commands like reading BT ADDR.
> If someone could send me a code how to set up BT device and read
> BT ADDR for example I would be greatfull.

this is a vendor specific event and if you had looked into the BlueZ
source you would have seen that we send as first command the read local
supported features HCI command. Actually my question is what kind of
code do you wanna to see, because the complete BlueZ stack is open
source.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel