This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

WL1835MODCOM8B: HCI command for use Link Quality Monitor

Part Number: WL1835MODCOM8B
Other Parts Discussed in Thread: WL18XXCOM82SDMMC, WL1835MOD, WL1835

Hi,

I am using the WL1835MODCOMB with the WL18XXCOM82SDMMC adapter card. With HCITool I can send the correct firmware and execute the HCI commands. I can also check the execution with Logger 5.0.

Now I would like to use LQM to see the level of the broadcast signal.  What are the commands to execute to have a display on LQM?

I can not connect to the COM4 port because it is already used with HCITool. What is the COM port to use?

I tried :

Send_HCI_VS_Read_RSSI 0xFDFC, 0x01

Sender TX / RX packet:

Send_HCI_VS_DRPb_Tester_Packet_TX_RX 0xFDCC, 0, 3, 2402, 0xFFFF, 2, 0, 27, 7, 1, 0x01FF
Wait_HCI_Command_Complete_VS_DRPb_Tester_Packet_TX_RX_Event 5000, any, HCI_VS_DRPb_Tester_Packet_TX_RX, 0x00

But still nothing about LQM.
Thank you in advance for your help.

  • Dayan,

    The LQM uses the same COM port as the Logger 5.0 tool. Please refer to the following User's guide regarding the usage of both tools.

    http://www.ti.com/lit/pdf/swau058

    Best regards,

    Vihang

  • Hi,

    Thank you for your reply.
    I can display and have the traces with Logger5.0. I also see all the HCI commands that I send with HCITool
    but I have no signal on LQM.

    I do not understand why?
    Thank you

    Best regards,

  • Dayan,

    The LQM tool would only show RSSI, throughput and channel map information for an active connection. You should not need to send any special HCI commands from HCI Tester for this. As long as there is a BR/EDR or LE connection, the LQM will show the relevant statistics.

    To troubleshoot the issue, you may want to check the following:

    1. Is the correct COM port selected in the LQM tool. This COM port number should be the same as the BT Logger COM port.

    2. At the bottom of the LQM tool window, there are various tabs (e.g. BT Handle 1, BT Handle 2, ..., BLE Handle 1, ...etc). For each active connection over the air, the corresponding handle will show a blue dot next to the text. You may want to make sure that you are selecting the correct tab to view the active connection.

    3. On the right side of the LQM tool window, there are 5 tabs for AFH channel map for classic BT and BLE. Depending on the role of the local device in the connection, you may want to select the right tab to view the channel map updates in real-time.

    4. As I mentioned above, the LQM tool does not require any special HCI commands. As long as there is an active connection (link) with a remote device, LQM will populate the relevant stats.

    Best regards,

    Vihang

  • Vihang,

    I understand better the functioning of the LQM and where is my problem. Thank you for your very clear answer.
    I don't have active BLE connection which is why I don't  see the RSSI. What is the procedure for establishing a Bluetooth connection with the module as I have only one WL1835MOD card ? The Bluetooth fw is: TIInit_11.8.32.bts

    I can't see the WL1835 on Bluetooth interface on smartphone for example?

    Best regards,

    Dayan LOMBARDI

  • Dayan,

    Dayan LOMBARDI said:
    What is the procedure for establishing a Bluetooth connection with the module as I have only one WL1835MOD card ?

    A connection establishment requires a host stack running on your host MPU or MCU. While HCITester can perform several operations using HCI commands, the connection establishment (e.g. with a smartphone) requires profile and service level connections using the ACL data. The host stack is a must for this.

    You can refer to the TI Bluetooth stack examples regarding how to make a connection with a smartphone.

    Demo guide : http://processors.wiki.ti.com/index.php/TI_Bluetooth_Stack_for_WL18xx_-_Demo_Guide

    Getting started guide : http://processors.wiki.ti.com/index.php/TI_Bluetooth_Stack_for_WL18xx_-_Getting_Started_Guide

    Best regards,

    Vihang