2005-02-16 12:25:51

by Flávio

[permalink] [raw]
Subject: [Bluez-devel] TPL (transmit power level)

Hi everbody,
I=B4m working with power control and i saw one thing that could be wrong:

Transmit power level (tpl) : _1octet (signed integer);
_range: -30<=3D N<=3D20;
_units: dBm.

In BlueZ the value of tpl is defined like unsigned int ( uint8_t level
) but i think that should be an int ( int8_t level ) like is defined
in core of bluetooth.

There is any particular reason for the level to be an unsigned int??

Regards Fl=E1vio!


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel


2005-02-23 14:43:34

by Steven Singer

[permalink] [raw]
Subject: Re: [Bluez-devel] TPL (transmit power level)

Fl?vio wrote:
> I can?t connect with the news group (news.csr.com)! So i hope that you
> could help me in some question:

news.csr.com is just a standard NNTP server. Most programs should
connect without any problems (Outlook Express, Netscape (or Firefox or
similar), gnus, tin and many others).

> Is there anyway for me to change the step size of the tpl to a smaller
> number (2 dBm)?
> And have more range in the values of tpl?

That's not possible without lots of expensive equipment to measure the
output power accurately. It's not something we recommend that users do.

Also, it's not generally a useful thing to do - why do you want to do
it?

> Where can i find newest versions of firmware and there changes ? (in
> conceptronic site don?t have)

You listed the following about your device:

> chip version : BlueCore2 ;
^^^^^^^^^ Doesn't look right
> HCI 17,11 ;
>
> SCO mapping : HCI ;
> HCI ver:1,1 ;
> HCI rev: 0X460;
> LMP ver:1,1 ;
> LMP subver:0X460

Software version 0x460 is a build for ROM devices which implies you have
a ROM part and so you will not be able to upgrade.

The chip version should have been identified as BlueCore3-ROM - I'm not
sure why it wasn't.

> I try to find information about firmware used in my dongle and it?s
> very dificult..almost nothing!

What is it you want to know? BlueZ will identify the device. Apart
from that, it's a Bluetooth dongle, it does Bluetooth stuff.

- Steven
--


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

**********************************************************************



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-02-22 19:20:51

by Flávio

[permalink] [raw]
Subject: Re: [Bluez-devel] TPL (transmit power level)

Hi Steven Singer,
Thanks for the explanation you are tottaly right and i am wrong! :)

I see that you are used to power control (bluetooth), and you are
related to CSR!
My dongle use one of CSR chips, here it=B4s some details:

chip version : BlueCore2 ; the dongle is Conceptronic CBT100U
HCI 17,11 ;
SCO mapping : HCI ;
HCI ver:1,1 ;
HCI rev: 0X460;
LMP ver:1,1 ;
LMP subver:0X46;

I can=B4t connect with the news group (news.csr.com)! So i hope that you
could help me in some question:

Is there anyway for me to change the step size of the tpl to a smaller
number (2 dBm)?
And have more range in the values of tpl?
Where can i find newest versions of firmware and there changes ? (in
conceptronic site don=B4t have)

I try to find information about firmware used in my dongle and it=B4s
very dificult..almost nothing!

I hope you can help me.
Thanks for the help.

Regards Fl=E1vio
Regards


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-02-22 16:59:33

by Steven Singer

[permalink] [raw]
Subject: Re: [Bluez-devel] TPL (transmit power level)

Fl?vio wrote:
> One more question about this topic.
> In bluetooth core says that the range of the tpl (transmit power
> level) is between -30<= N<=20 and the step (resolution) is one
> unit,

Where does it say that the step is one unit? It might say that the
units for this value are dBm.

> but when i execute the command hci_read_tpl (transmit power
> level) all the values that i receive are:
> 17 ; 14 ; 10 ; 6 ; 2 ; -2 ; -6 ; -9 and no more :(
> why?

This is completely as expected.

If you look right at the start of the Bluetooth spec in the radio
specification under transmitter characteristics, it says:

The power steps shall form a monotonic sequence with a maximum
step size of 8 dB amd a minimum step size of 2 dB.

The easiest way for a manufacturer to meet this specification is with
a preprogrammed set of levels.

A device isn't obliged to use the full range. The radio spec also says:

Power control capability under +4 dBm is optional.

Your chip appears to go down to -9 dBm which exceeds the spec.

> it?s something about Bluez or is the Firmware (of my dongle usb)
> that realy gives that values for tpl?

The firmware of the dongle reports the values.

Tour device is completely within spec.

- Steven
--


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

**********************************************************************



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-02-22 15:20:39

by Flávio

[permalink] [raw]
Subject: Re: [Bluez-devel] TPL (transmit power level)

Thanks Marcel for all the help!
Regards Fl=E1vio.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-02-22 15:08:47

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] TPL (transmit power level)

Hi Flavio,

> I think that it should be this:
>=20
> T: Bus=3D01 Lev=3D01 Prnt=3D01 Port=3D00 Cnt=3D01 Dev#=3D 2 Spd=3D12 =
MxCh=3D 0
> D: Ver=3D 1.10 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 MxPS=3D64 #Cfgs=3D =
1
> P: Vendor=3D0a12 ProdID=3D0001 Rev=3D11.20
> C:* #Ifs=3D 2 Cfg#=3D 1 Atr=3Dc0 MxPwr=3D 0mA
> I: If#=3D 0 Alt=3D 0 #EPs=3D 3 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 Driv=
er=3Dhci_usb
> E: Ad=3D81(I) Atr=3D03(Int.) MxPS=3D 16 Ivl=3D1ms
> E: Ad=3D02(O) Atr=3D02(Bulk) MxPS=3D 64 Ivl=3D0ms
> E: Ad=3D82(I) Atr=3D02(Bulk) MxPS=3D 64 Ivl=3D0ms
> I: If#=3D 1 Alt=3D 0 #EPs=3D 2 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 Driv=
er=3Dhci_usb
> E: Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D 0 Ivl=3D1ms
> E: Ad=3D83(I) Atr=3D01(Isoc) MxPS=3D 0 Ivl=3D1ms
> I: If#=3D 1 Alt=3D 1 #EPs=3D 2 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 Driv=
er=3Dhci_usb
> E: Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D 9 Ivl=3D1ms
> E: Ad=3D83(I) Atr=3D01(Isoc) MxPS=3D 9 Ivl=3D1ms
> I: If#=3D 1 Alt=3D 2 #EPs=3D 2 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 Driv=
er=3Dhci_usb
> E: Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D 17 Ivl=3D1ms
> E: Ad=3D83(I) Atr=3D01(Isoc) MxPS=3D 17 Ivl=3D1ms
> I: If#=3D 1 Alt=3D 3 #EPs=3D 2 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 Driv=
er=3Dhci_usb
> E: Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D 25 Ivl=3D1ms
> E: Ad=3D83(I) Atr=3D01(Isoc) MxPS=3D 25 Ivl=3D1ms
> I: If#=3D 1 Alt=3D 4 #EPs=3D 2 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 Driv=
er=3Dhci_usb
> E: Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D 33 Ivl=3D1ms
> E: Ad=3D83(I) Atr=3D01(Isoc) MxPS=3D 33 Ivl=3D1ms
> I: If#=3D 1 Alt=3D 5 #EPs=3D 2 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 Driv=
er=3Dhci_usb
> E: Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D 49 Ivl=3D1ms
>=20
> Can i update for the 1.2 version with the firmware?

you can try it, but it can also break your dongle. So do it at your own
risk.

> Related to the values of tpl so it=B4s a problem of firmware that don=B4=
t
> respect the bluetooth core specifications (resolution of step:one unit
> ; range : -30-<=3DN<=3D20 )?

I don't know. Ask your Bluetooth chip manufacturer.

Regards

Marcel




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-02-22 14:43:28

by Flávio

[permalink] [raw]
Subject: Re: [Bluez-devel] TPL (transmit power level)

Hi Marcel

I think that it should be this:

T: Bus=3D01 Lev=3D01 Prnt=3D01 Port=3D00 Cnt=3D01 Dev#=3D 2 Spd=3D12 MxC=
h=3D 0
D: Ver=3D 1.10 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 MxPS=3D64 #Cfgs=3D 1
P: Vendor=3D0a12 ProdID=3D0001 Rev=3D11.20
C:* #Ifs=3D 2 Cfg#=3D 1 Atr=3Dc0 MxPwr=3D 0mA
I: If#=3D 0 Alt=3D 0 #EPs=3D 3 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 Driver=
=3Dhci_usb
E: Ad=3D81(I) Atr=3D03(Int.) MxPS=3D 16 Ivl=3D1ms
E: Ad=3D02(O) Atr=3D02(Bulk) MxPS=3D 64 Ivl=3D0ms
E: Ad=3D82(I) Atr=3D02(Bulk) MxPS=3D 64 Ivl=3D0ms
I: If#=3D 1 Alt=3D 0 #EPs=3D 2 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 Driver=
=3Dhci_usb
E: Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D 0 Ivl=3D1ms
E: Ad=3D83(I) Atr=3D01(Isoc) MxPS=3D 0 Ivl=3D1ms
I: If#=3D 1 Alt=3D 1 #EPs=3D 2 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 Driver=
=3Dhci_usb
E: Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D 9 Ivl=3D1ms
E: Ad=3D83(I) Atr=3D01(Isoc) MxPS=3D 9 Ivl=3D1ms
I: If#=3D 1 Alt=3D 2 #EPs=3D 2 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 Driver=
=3Dhci_usb
E: Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D 17 Ivl=3D1ms
E: Ad=3D83(I) Atr=3D01(Isoc) MxPS=3D 17 Ivl=3D1ms
I: If#=3D 1 Alt=3D 3 #EPs=3D 2 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 Driver=
=3Dhci_usb
E: Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D 25 Ivl=3D1ms
E: Ad=3D83(I) Atr=3D01(Isoc) MxPS=3D 25 Ivl=3D1ms
I: If#=3D 1 Alt=3D 4 #EPs=3D 2 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 Driver=
=3Dhci_usb
E: Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D 33 Ivl=3D1ms
E: Ad=3D83(I) Atr=3D01(Isoc) MxPS=3D 33 Ivl=3D1ms
I: If#=3D 1 Alt=3D 5 #EPs=3D 2 Cls=3De0(unk. ) Sub=3D01 Prot=3D01 Driver=
=3Dhci_usb
E: Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D 49 Ivl=3D1ms

Can i update for the 1.2 version with the firmware?

Related to the values of tpl so it=B4s a problem of firmware that don=B4t
respect the bluetooth core specifications (resolution of step:one unit
; range : -30-<=3DN<=3D20 )?

Regards Fl=E1vio


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-02-22 03:16:34

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] TPL (transmit power level)

Hi Flavio,

> My dongle is an conceptronic CBT100U class1 (100m) and here it=B4s the
> information :
>=20
> chip version : BlueCore2 ;
> HCI 17,11 ;
>=20
> SCO mapping : HCI ;
> HCI ver:1,1 ;
> HCI rev: 0X460;
> LMP ver:1,1 ;
> LMP subver:0X460
> Should i update the firmware? Resolves my problem?In the chip specific
> don=B4t say about the class 1 :(

the class stuff is also not chip specific. The antenna matters in this
case.

> Note: My dongle is 1,1 version but can i update for the 1,2 version
> with the firmware?

Maybe yes, maybe no. What does /proc/bus/usb/devices contain?

Regards

Marcel




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-02-22 03:09:40

by Flávio

[permalink] [raw]
Subject: Re: [Bluez-devel] TPL (transmit power level)

Hi Marcel
My dongle is an conceptronic CBT100U class1 (100m) and here it=B4s the
information :

chip version : BlueCore2 ;
HCI 17,11 ;

SCO mapping : HCI ;
HCI ver:1,1 ;
HCI rev: 0X460;
LMP ver:1,1 ;
LMP subver:0X460
Should i update the firmware? Resolves my problem?In the chip specific
don=B4t say about the class 1 :(

Note: My dongle is 1,1 version but can i update for the 1,2 version
with the firmware?

Thanks for all the help Marcel!
Regards Flavio


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-02-22 02:28:52

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] TPL (transmit power level)

Hi Flavio,

> In bluetooth core says that the range of the tpl (transmit power
> level) is between -30<=3D N<=3D20 and the step (resolution) is one
> unit,but when i execute the command hci_read_tpl (transmit power
> level) all the values that i receive are:
> 17 ; 14 ; 10 ; 6 ; 2 ; -2 ; -6 ; -9 and no more :(
> why? it=B4s something about Bluez or is the Firmware (of my dongle usb)
> that realy gives that values for tpl?

this should be chip specific. Who is the manufacturer of your Bluetooth
chip inside your dongle?

Regards

Marcel




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-02-22 02:16:43

by Flávio

[permalink] [raw]
Subject: Re: [Bluez-devel] TPL (transmit power level)

Hi Marcel,=20

nice to see you back :)

About the the patch for the bug i can=B4t do it because i don=B4t know how!
Linux isn=B4t my usual OS ,sorry!

One more question about this topic.
In bluetooth core says that the range of the tpl (transmit power
level) is between -30<=3D N<=3D20 and the step (resolution) is one
unit,but when i execute the command hci_read_tpl (transmit power
level) all the values that i receive are:
17 ; 14 ; 10 ; 6 ; 2 ; -2 ; -6 ; -9 and no more :(
why? it=B4s something about Bluez or is the Firmware (of my dongle usb)
that realy gives that values for tpl?

thanks in advanced

Regards Fl=E1vio!


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-02-21 23:24:51

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] TPL (transmit power level)

Hi Flavio,

> I=B4m working with power control and i saw one thing that could be wron=
g:
>=20
> Transmit power level (tpl) : _1octet (signed integer);
> _range: -30<=3D N<=3D20;
> _units: dBm.
>=20
> In BlueZ the value of tpl is defined like unsigned int ( uint8_t level
> ) but i think that should be an int ( int8_t level ) like is defined
> in core of bluetooth.
>=20
> There is any particular reason for the level to be an unsigned int??

no, because this is bug. Thanks for spotting it. If you see more of
them, then simply send in a patch for it.

Regards

Marcel




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel