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
-------------------------------------------------------
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
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
On Tue, 30 Nov 2004 15:43:33 +0100, Marcel Holtmann <[email protected]> wrote:
> Hi Manjunath,
>
> > 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
> > > HCI Event: Command Complete (0x0e) plen 4
> > 01 03 18 00
>
> write a patch for hcidump so that these HCI commands are decoded
> correctly.
>
>
>
> > 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
> > > 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.
>
> > Is this a problem with the firmware. Do i have to upgrade the
> > firmware and Can i do it??
>
> I don't know.
>
> > 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
>
-------------------------------------------------------
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
Hi Manjunath,
> 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
> > HCI Event: Command Complete (0x0e) plen 4
> 01 03 18 00
write a patch for hcidump so that these HCI commands are decoded
correctly.
> 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
> > 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.
> Is this a problem with the firmware. Do i have to upgrade the
> firmware and Can i do it??
I don't know.
> 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
Hi,
I was able to conduct the local loopback test on DBT-120...so i can
state that anycom usb-120 does not support the HCI_Write_Loopback_Mode
command.
I tried the remote loopback test as per Peter's instructions and the
spec ....it doesn't seem to work.
I first have set my remote device(B) for Remote_loopback (Becoz
estabhlising a connection and then setting for loopback doesn't work).
I use then the Write command and verify that its set using the Read
command. I now establish a HCI connection from my local device(A) to
B. The connection is established. From A, i send a command packet to
B, expecting a loopback event, instead i get a regular reply for the
command packet (as though the remote device is not set for loopback).
"hcitool con" on A shows the connection.
< ACL 00:11:35:00:22:B9 handle 41 state 1 lm MASTER
"hcitool con" on B doesn't show anything.
I also tried the switch role for B to be the master....but it remains
as the slave.
Hope you can help me out.
Thanks,
regards,
manjunath
On Mon, 06 Dec 2004 15:41:10 +0000, Steven Singer <[email protected]> wrote:
> Manjunath Prabhu wrote:
> > Status shows 11 which is "HCI unsupported feature". I am using a
> > version 1.1 anycom-120 usb dongle.
>
> Maybe the device doesn't support loopback.
>
> It's not mandatory (in fact, nothing at HCI is mandatory - it's not a
> qualifiable stack layer). There's no features bit to tell you if it's
> supported as it's a test command.
>
> The Anycom-120 dongle is a Silicon Wave dongle. I don't know if they put
> loopback support in all (any?) of their dongles. It's not really that
> useful for anything other than host code testing (which most people
> don't want to do).
>
> CSR devices support loopback (but we don't test it that thoroughly since
> hardly anybody ever uses it, and even when they do it's as a test so
> they don't care if it's not that robust).
>
> Use hciconfig -a to see if it's a 1.2 device. If it is, it might
> support the HCI_Read_Local_Supported_Commands command, which will give
> you a list of all the commands the dongle supports. Use the BT 1.2 spec
> to find out the OCF and OGF and to decode the result.
>
> Having said that, even it it's a 1.2 device it might not support the
> HCI_Read_Local_Supported_Commands command (in which case it should
> return error code 0x01).
>
> Even then, it might claim to support the loopback command as it may
> understand the command but be unable to enter loopback mode for some
> other reason (like, for example, the loopback command must be the first
> command after a reset for some manufacturer specific reasons, or the
> device must not be scanning).
>
> If you really need the feature then contact the manufacturer directly.
> However, most people have no use for the command, so don't be too
> surprised if it's not supported.
>
> - 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.
>
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
>
> http://www.mimesweeper.com
> **********************************************************************
>
> -------------------------------------------------------
> 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
Manjunath Prabhu wrote:
> Status shows 11 which is "HCI unsupported feature". I am using a
> version 1.1 anycom-120 usb dongle.
Maybe the device doesn't support loopback.
It's not mandatory (in fact, nothing at HCI is mandatory - it's not a
qualifiable stack layer). There's no features bit to tell you if it's
supported as it's a test command.
The Anycom-120 dongle is a Silicon Wave dongle. I don't know if they put
loopback support in all (any?) of their dongles. It's not really that
useful for anything other than host code testing (which most people
don't want to do).
CSR devices support loopback (but we don't test it that thoroughly since
hardly anybody ever uses it, and even when they do it's as a test so
they don't care if it's not that robust).
Use hciconfig -a to see if it's a 1.2 device. If it is, it might
support the HCI_Read_Local_Supported_Commands command, which will give
you a list of all the commands the dongle supports. Use the BT 1.2 spec
to find out the OCF and OGF and to decode the result.
Having said that, even it it's a 1.2 device it might not support the
HCI_Read_Local_Supported_Commands command (in which case it should
return error code 0x01).
Even then, it might claim to support the loopback command as it may
understand the command but be unable to enter loopback mode for some
other reason (like, for example, the loopback command must be the first
command after a reset for some manufacturer specific reasons, or the
device must not be scanning).
If you really need the feature then contact the manufacturer directly.
However, most people have no use for the command, so don't be too
surprised if it's not supported.
- 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.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
http://www.mimesweeper.com
**********************************************************************
-------------------------------------------------------
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
Hi Peter,
On Mon, 06 Dec 2004 14:51:54 +0000, Peter Stephenson <[email protected]> wrote:
> Manjunath Prabhu wrote:
> > Can you tell me how this can be done??? I am trying to set the device
> > for loopback but not able to get through......How do I set the
> > loopback without entering the Test mode.
>
> Use HCI_write_loopback_mode. For local this is trivial; either it
> works straight away or something is wrong. For remote, you may need
> to have a connection already set up and I believe there may be
> restrictions as to whether you are master or slave on the link; try
> both.
>
I had tried this for local loopback......the write command
root]# hcitool cmd 0x06 0x0002 0x01
>
Hci dump output is
< HCI Command: Unknown (0x06|0x0002) plen 1
01
> 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.
Regards,
manjunath
> Since these are test modes, not designed for normal use, keep it as
> simple as possible. Start from scratch for local loopback, start with
> just a single remote connection for remote loopback.
>
> pws
>
> **********************************************************************
>
>
> 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.
>
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
>
> http://www.mimesweeper.com
> **********************************************************************
>
> -------------------------------------------------------
> 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
Manjunath Prabhu wrote:
> Can you tell me how this can be done??? I am trying to set the device
> for loopback but not able to get through......How do I set the
> loopback without entering the Test mode.
Use HCI_write_loopback_mode. For local this is trivial; either it
works straight away or something is wrong. For remote, you may need
to have a connection already set up and I believe there may be
restrictions as to whether you are master or slave on the link; try
both.
Since these are test modes, not designed for normal use, keep it as
simple as possible. Start from scratch for local loopback, start with
just a single remote connection for remote loopback.
pws
**********************************************************************
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.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
http://www.mimesweeper.com
**********************************************************************
-------------------------------------------------------
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
Hi Peter,
On Wed, 01 Dec 2004 10:28:34 +0000, Peter Stephenson <[email protected]> wrote:
>
>
> > 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?
>
> It's quite deliberate that the only thing you can do with a production
> device is put it into test mode as a slave
> (HCI_Enable_Device_Under_Test_Mode), requiring all test instructions to
> be sent from the master. To do the test end you need a specialist
> tester. These tend to be expensive since they're aimed at manufacturers
> doing a lot of testing.
>
> You can use local and remote loopback without any extra hardware
> support, however. They are completely separate from the test modes you
> are talking about.
Can you tell me how this can be done??? I am trying to set the device
for loopback but not able to get through......How do I set the
loopback without entering the Test mode.
thanks,
regards,
Manjunath
>
> Since the features aren't available over HCI, you need to ask somewhere
> else. However, if you're looking for a cheap way of using the Bluetooth
> test modes you're probably out of luck. Most manufacturers (including
> us) provide some simplified but non-standard test commands you can run
> between two modules for RF testing and characterisation.
>
> --
> Peter Stephenson <[email protected]> Software Engineer
> CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
> Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
>
> **********************************************************************
> 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.
>
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
>
> http://www.mimesweeper.com
> **********************************************************************
>
>
>
>
> -------------------------------------------------------
> 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
Manjunath Prabhu wrote:
> Thanks for the reply. What scenario should i be looking for inorder to
> set up these tests. Can I conduct the tests using my dongle as a slave
> and a CATC or Frontline or a Mobiwave BT trainer/protocol analyser as
> the Master. Will I be able to modify the baseband to suite my needs?
> Do they have a provision for fusing new codes (something like a
> flash)??
If you mean implementation-specific tests, typically they will do simple
transmissions and bit error rate measurements and possibly not a lot
more. You will either need two devices of the appropriate manufacturer,
or something like a signal generator; a Bluetooth sniffer isn't likely
to be good enough. (You might have some luck with the trainer-capable
sniffers, but I don't have any experience of them.) It's unlikely
you'll be able to modify the test modes in any substantial way. You
won't be able to control them from Bluez without some hacking.
> I think i better write to the sales person from respective organisations....
Yes, indeed. If you're determined to do this under Linux, you'd better
mention it; I don't think it's widely supported for test modes at the
moment.
pws
**********************************************************************
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.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
http://www.mimesweeper.com
**********************************************************************
-------------------------------------------------------
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
Hi peter,
Thanks for the reply. What scenario should i be looking for inorder to
set up these tests. Can I conduct the tests using my dongle as a slave
and a CATC or Frontline or a Mobiwave BT trainer/protocol analyser as
the Master. Will I be able to modify the baseband to suite my needs?
Do they have a provision for fusing new codes (something like a
flash)??
I think i better write to the sales person from respective organisations....
regards,
manjunath
On Wed, 01 Dec 2004 10:28:34 +0000, Peter Stephenson <[email protected]> wrote:
>
>
> > 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?
>
> It's quite deliberate that the only thing you can do with a production
> device is put it into test mode as a slave
> (HCI_Enable_Device_Under_Test_Mode), requiring all test instructions to
> be sent from the master. To do the test end you need a specialist
> tester. These tend to be expensive since they're aimed at manufacturers
> doing a lot of testing.
>
> You can use local and remote loopback without any extra hardware
> support, however. They are completely separate from the test modes you
> are talking about.
>
> Since the features aren't available over HCI, you need to ask somewhere
> else. However, if you're looking for a cheap way of using the Bluetooth
> test modes you're probably out of luck. Most manufacturers (including
> us) provide some simplified but non-standard test commands you can run
> between two modules for RF testing and characterisation.
>
> --
> Peter Stephenson <[email protected]> Software Engineer
> CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
> Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
>
> **********************************************************************
> 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.
>
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
>
> http://www.mimesweeper.com
> **********************************************************************
>
>
>
>
> -------------------------------------------------------
> 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
> 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?
It's quite deliberate that the only thing you can do with a production
device is put it into test mode as a slave
(HCI_Enable_Device_Under_Test_Mode), requiring all test instructions to
be sent from the master. To do the test end you need a specialist
tester. These tend to be expensive since they're aimed at manufacturers
doing a lot of testing.
You can use local and remote loopback without any extra hardware
support, however. They are completely separate from the test modes you
are talking about.
Since the features aren't available over HCI, you need to ask somewhere
else. However, if you're looking for a cheap way of using the Bluetooth
test modes you're probably out of luck. Most manufacturers (including
us) provide some simplified but non-standard test commands you can run
between two modules for RF testing and characterisation.
--
Peter Stephenson <[email protected]> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
**********************************************************************
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.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
http://www.mimesweeper.com
**********************************************************************
-------------------------------------------------------
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
Hi Manjunath,
> 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?
I am the wrong person to talk to about these things. I never used the
test mode (as I said sometimes now) and actually I think that I never
will do.
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