Skip to contentSkip to conversation

Test Mode

Bluez-users Manjunath Prabhu 2 participants 3 messages Nov 30, 2004 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi Marcel

Quoted 7 lines
Quoted 4 lines

2) I tried using the test mode commands and I am simulatameously running the hcidump, which prints a unknown command type. I am just presuming that the commands might be working alright , only that hcidump doesn't decipher the test commands. Am i right??

What version of hcidump do you use? Show the undecoded output to us.

I am using hcidump ver 1.15.

I am trying to set my dongle for a local loopback test. I try with a "Enable device under test command"
root]# hcitool cmd 0x06 0x0003

Hci dump output is

< HCI Command: Unknown (0x06|0x0003) plen 0

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

01 03 18 00

I am not getting an error. I try to write the "write loopback method command" and enable local loopback.

root]# hcitool cmd 0x06 0x0002 0x01

Hci dump output is
< HCI Command: Unknown (0x06|0x0002) plen 1
01

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

01 02 18 11

Status shows 11 which is "HCI unsupported feature". I am using a version 1.1 anycom-120 usb dongle.
hciconfig -a gives the features as

Features: 0xff 0xff 0x05 0x00 0x00 0x00 0x00 0x00

Is this a problem with the firmware. Do i have to upgrade the firmware and Can i do it??

I also have another doubt......how can i generate the LMP commands required for the test mode....as in LMP_test_activate PDU and several other LMP commands. The test methodology only speaks about the LMP PDU's. How can i generate these LMP commands for the test scenarios.

Thanks,
Best Regards,
Manjunath.

-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#1 lore raw

Hi Manjunath,

Quoted 9 lines

I am trying to set my dongle for a local loopback test. I try with a "Enable device under test command"
root]# hcitool cmd 0x06 0x0003

Hci dump output is

< HCI Command: Unknown (0x06|0x0003) plen 0

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

01 03 18 00

write a patch for hcidump so that these HCI commands are decoded correctly.

Quoted 5 lines

I am not getting an error. I try to write the "write loopback method command" and enable local loopback.

root]# hcitool cmd 0x06 0x0002 0x01

Quoted 8 lines

Hci dump output is
< HCI Command: Unknown (0x06|0x0002) plen 1
01

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

01 02 18 11

Status shows 11 which is "HCI unsupported feature". I am using a version 1.1 anycom-120 usb dongle.

I don't think that this feature is mandatory to support. I never used or needed it.

Quoted 2 lines

Is this a problem with the firmware. Do i have to upgrade the firmware and Can i do it??

I don't know.

Quoted 4 lines

I also have another doubt......how can i generate the LMP commands required for the test mode....as in LMP_test_activate PDU and several other LMP commands. The test methodology only speaks about the LMP PDU's. How can i generate these LMP commands for the test scenarios.

You can't generate any LMP messages from the HCI. Actually the HCI command should result in a call to the appropiate LMP commands.

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://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw

Hi Marcel,
The LMP specification speaks about the Test Mode and Methodology saying that Adaptive power control, adaptive freq hopping scenarios can be imitated provided the respective LMP PDU's are sent.

How do I make the HCI commands initiate these LMP PDU's? The HCI specification have only the "Test Enable" and "Read and Write Loopback" test commands but other no commands which will result in inititating the LM to the testing modes. How do i conduct these adaptive tests?

Thank you,
regards,
Manjunath

Quoted 51 lines · Marcel Holtmann

Hi Manjunath,

Quoted 9 lines

I am trying to set my dongle for a local loopback test. I try with a "Enable device under test command"
root]# hcitool cmd 0x06 0x0003

Hci dump output is

< HCI Command: Unknown (0x06|0x0003) plen 0

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

01 03 18 00

write a patch for hcidump so that these HCI commands are decoded correctly.

Quoted 5 lines

I am not getting an error. I try to write the "write loopback method command" and enable local loopback.

root]# hcitool cmd 0x06 0x0002 0x01

Quoted 8 lines

Hci dump output is
< HCI Command: Unknown (0x06|0x0002) plen 1
01

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

01 02 18 11

Status shows 11 which is "HCI unsupported feature". I am using a version 1.1 anycom-120 usb dongle.

I don't think that this feature is mandatory to support. I never used or needed it.

Quoted 2 lines

Is this a problem with the firmware. Do i have to upgrade the firmware and Can i do it??

I don't know.

Quoted 4 lines

I also have another doubt......how can i generate the LMP commands required for the test mode....as in LMP_test_activate PDU and several other LMP commands. The test methodology only speaks about the LMP PDU's. How can i generate these LMP commands for the test scenarios.

You can't generate any LMP messages from the HCI. Actually the HCI command should result in a call to the appropiate LMP commands.

Regards

Marcel

Quoted 10 lines

-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users