2005-01-30 08:47:30

by Kazuhiro Ota

[permalink] [raw]
Subject: [Bluez-users] TPL is not changing

Hi,

I've installed bluez-libs-2.8-1 and bluez-utils-2.8-1 on our linux 2.4.27 systems with
HAGIWARA SYS-COM HNT-CFBT Bluetooth cards.

I measured TPL on one computer and found that it was always 0 independently of the
distance between devices.

The following is the result of actual measurement.

[root@localhost root]# hcitool cc 00:90:02:XX:XX:XX
[root@localhost root]# hcitool tpl 00:90:02:XX:XX:XX
Current transmit power level: 0
[root@localhost root]# hcitool rssi 00:90:02:XX:XX:XX
RSSI return value: -3
[root@localhost root]# hcitool tpl 00:90:02:XX:XX:XX
Current transmit power level: 0
[root@localhost root]# hcitool rssi 00:90:02:XX:XX:XX
RSSI return value: -13
[root@localhost root]# hcitool dc 00:90:02:XX:XX:XX

As you can see, RSSI is changing according to the distance between devices, but
TPL is not.

I would like to know the reason of this phenomenon.

Anyone has encounterd the same situation ?

Thanks
Kazuhiro


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2005-01-31 12:53:36

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] TPL is not changing

Hi Kazuhiro,

> Thank you for your response.
>
> My "hciconfig -a" says as follows:
>
> hci0: Type: PCCARD
> BD Address: 00:90:02:05:15:79 ACL MTU: 672:8 SCO MTU: 64:0
> UP RUNNING PSCAN ISCAN
> RX bytes:1232 acl:0 sco:0 events:24 errors:0
> TX bytes:361 acl:0 sco:0 commands:24 errors:0
> Features: 0xff 0xfb 0x01 0x00 0x00 0x00 0x00 0x00
> Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
> Link policy: RSWITCH HOLD SNIFF PARK
> Link mode: SLAVE ACCEPT
> Name: 'BlueZ (0)'
> Class: 0x000100
> Service Classes: Unspecified
> Device Class: Computer, Uncategorized
> HCI Ver: 1.1 (0x1) HCI Rev: 0x8105 LMP Ver: 1.1 (0x1) LMP Subver: 0x8d40
> Manufacturer: Ericsson Technology Licensing (0)

as Alain already mentioned, this chip lacks the support for power
control. Compare it with a CSR chip:

hci0: Type: USB
BD Address: 00:0B:AC:xx:xx:xx ACL MTU: 192:8 SCO MTU: 64:8
Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
<3-slot packets> <5-slot packets> <encryption> <slot offset>
<timing accuracy> <role switch> <hold mode> <sniff mode>
<park state> <RSSI> <channel quality> <SCO link> <HV2 packets>
<HV3 packets> <u-law log> <A-law log> <CVSD> <paging scheme>
<power control> <transparent SCO>
HCI Ver: 1.1 (0x1) HCI Rev: 0x20e LMP Ver: 1.1 (0x1) LMP Subver: 0x20e
Manufacturer: Cambridge Silicon Radio (10)

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-01-31 09:45:26

by Kazuhiro Ota

[permalink] [raw]
Subject: Re: [Bluez-users] TPL is not changing

Hi Marcel,

Thank you for your response.

My "hciconfig -a" says as follows:

hci0: Type: PCCARD
BD Address: 00:90:02:05:15:79 ACL MTU: 672:8 SCO MTU: 64:0
UP RUNNING PSCAN ISCAN
RX bytes:1232 acl:0 sco:0 events:24 errors:0
TX bytes:361 acl:0 sco:0 commands:24 errors:0
Features: 0xff 0xfb 0x01 0x00 0x00 0x00 0x00 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'BlueZ (0)'
Class: 0x000100
Service Classes: Unspecified
Device Class: Computer, Uncategorized
HCI Ver: 1.1 (0x1) HCI Rev: 0x8105 LMP Ver: 1.1 (0x1) LMP Subver: 0x8d40
Manufacturer: Ericsson Technology Licensing (0)

Regards,

Kazuhiro

--
Kazuhiro Ota
The department of information engineering,
Matsue College of Technology
[email protected]


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-01-31 02:37:51

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] TPL is not changing

Hi,

> the HAGIWARE SYS-COM card is a pretty old Ericsson based card and it
> doesn't support TPL. See the output of hciconfig:
>
> hci0: Type: PCCARD
> BD Address: 00:90:02:05:1D:56 ACL MTU: 672:8 SCO MTU: 64:0
> Features: 0xff 0xfb 0x01 0x00 0x00 0x00 0x00 0x00
> <3-slot packets> <5-slot packets> <encryption> <slot offset>
> <timing accuracy> <role switch> <hold mode> <sniff mode>
> <park state> <RSSI> <SCO link> <HV2 packets> <HV3 packets>
> <u-law log> <A-law log> <CVSD>

if anyone owns this card and doesn't need it anymore, please donate it
to me. I collect these old Bluetooth devices. This applies to any old
Bluetooth hardware that is no longer in use.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-01-31 01:59:29

by Alain Volmat

[permalink] [raw]
Subject: Re: [Bluez-users] TPL is not changing

Hi All,

the HAGIWARE SYS-COM card is a pretty old Ericsson based card and it
doesn't support TPL. See the output of hciconfig:

hci0: Type: PCCARD
BD Address: 00:90:02:05:1D:56 ACL MTU: 672:8 SCO MTU: 64:0
Features: 0xff 0xfb 0x01 0x00 0x00 0x00 0x00 0x00
<3-slot packets> <5-slot packets> <encryption> <slot offset>
<timing accuracy> <role switch> <hold mode> <sniff mode>
<park state> <RSSI> <SCO link> <HV2 packets> <HV3 packets>
<u-law log> <A-law log> <CVSD>

Alain

* Marcel Holtmann [Sun, 30 Jan 2005 at 15:37 +0100]
<quote>
> Hi Kazuhiro,
>
> > I've installed bluez-libs-2.8-1 and bluez-utils-2.8-1 on our linux 2.4.27 systems with
> > HAGIWARA SYS-COM HNT-CFBT Bluetooth cards.
> >
> > I measured TPL on one computer and found that it was always 0 independently of the
> > distance between devices.
> >
> > The following is the result of actual measurement.
> >
> > [root@localhost root]# hcitool cc 00:90:02:XX:XX:XX
> > [root@localhost root]# hcitool tpl 00:90:02:XX:XX:XX
> > Current transmit power level: 0
> > [root@localhost root]# hcitool rssi 00:90:02:XX:XX:XX
> > RSSI return value: -3
> > [root@localhost root]# hcitool tpl 00:90:02:XX:XX:XX
> > Current transmit power level: 0
> > [root@localhost root]# hcitool rssi 00:90:02:XX:XX:XX
> > RSSI return value: -13
> > [root@localhost root]# hcitool dc 00:90:02:XX:XX:XX
> >
> > As you can see, RSSI is changing according to the distance between devices, but
> > TPL is not.
> >
> > I would like to know the reason of this phenomenon.
>
> this is maybe, because your card doesn't support it. What does
> "hciconfig -a" say?
>
> Regards
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users
</quote>


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-01-30 14:37:43

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] TPL is not changing

Hi Kazuhiro,

> I've installed bluez-libs-2.8-1 and bluez-utils-2.8-1 on our linux 2.4.27 systems with
> HAGIWARA SYS-COM HNT-CFBT Bluetooth cards.
>
> I measured TPL on one computer and found that it was always 0 independently of the
> distance between devices.
>
> The following is the result of actual measurement.
>
> [root@localhost root]# hcitool cc 00:90:02:XX:XX:XX
> [root@localhost root]# hcitool tpl 00:90:02:XX:XX:XX
> Current transmit power level: 0
> [root@localhost root]# hcitool rssi 00:90:02:XX:XX:XX
> RSSI return value: -3
> [root@localhost root]# hcitool tpl 00:90:02:XX:XX:XX
> Current transmit power level: 0
> [root@localhost root]# hcitool rssi 00:90:02:XX:XX:XX
> RSSI return value: -13
> [root@localhost root]# hcitool dc 00:90:02:XX:XX:XX
>
> As you can see, RSSI is changing according to the distance between devices, but
> TPL is not.
>
> I would like to know the reason of this phenomenon.

this is maybe, because your card doesn't support it. What does
"hciconfig -a" say?

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users