2004-03-28 00:42:35

by zubiwat

[permalink] [raw]
Subject: [Bluez-devel] Unknown answer

Hi
I'm sending these commands :
0x01 0x05 0x10 0x00
0x01 0x09 0x10 0x00

and I don't understand why I get answer like this:

04 FF 13 C2 01 00 09 00 02 00 02 68 00 00 BF 0E 00 00 00 00 00 00 04 0E 0B 01 05 10 00 C0 00 40 08 00 08 00 04 0E 0A 01 09 10 00 04 00 20 DD 09 00

Why when I'm trying to read buffer size (0x01 0x05 0x10 0x00) and read BT ADDR (0x01 0x09 0x10 0x00) I get so many events? It's strange because when I'm trying to read, device answers that it can't for example connect because of connection rejected due to security reasons (04 0E 0B 01 05 10 00 C0 00 40 08 00 08 00 ) or am I wrong?

Regards

Maciej Zubilewicz


2004-03-28 08:32:28

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] Unknown answer

Hi Maciej,

your questions are annoying me and this will be the last one I answer.
Please stop posting non BlueZ related things to our mailing lists,
because otherwise I have to ban you.

> I'm sending these commands :
> 0x01 0x05 0x10 0x00
> 0x01 0x09 0x10 0x00
>
> and I don't understand why I get answer like this:
>
> 04 FF 13 C2 01 00 09 00 02 00 02 68 00 00 BF 0E 00 00 00 00 00 00 04
> 0E 0B 01 05 10 00 C0 00 40 08 00 08 00 04 0E 0A 01 09 10 00 04 00 20
> DD 09 00

You should have taken my advise and sit down and decode your results,
because then you had seen the answers.

04 FF 13 C2 01 00 09 00 02 00 02 68 00 00 BF 0E 00 00 00 00 00 00

This is a vendor specific event. Ask your module manufacturer.

04 0E 0B 01 05 10 00 C0 00 40 08 00 08 00

And this is the result of the reading the buffer size.

04 0E 0A 01 09 10 00 04 00 20 DD 09 00

And here we have your local BD_ADDR, which is 00:09:dd:20:00:04

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