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.

Linux/WL1835MOD: BT RF SIG mode commands are not working for BLE Test in Certification

Part Number: WL1835MOD
Other Parts Discussed in Thread: WL1835

Tool/software: Linux

Hi,


We are using WL1835 module with the AM335x processor. We are doing the certification of BLE.

For that we need to put the device in RF SIG test mode and then connect the BT Tester(Anritsu8852) with the device using RF link(LMP).

We follow the section "BT SIG RF Testmode" mentioned in below link

Link: http://processors.wiki.ti.com/index.php/WL18xx_Bluetopia_PM_Bluetooth_RF_Testing


From the above mentioned section, we have converted the HCI commands into the hcitool format to execute it via AM335x debug console.

Below are the commands that we have used to put the device in RF SIG Test mode.

1) HCI_Enable_Device_Under_Test_Mode

hcitool cmd 0x06 0x03

2) HCI_Set_Event_Filter 0x02, 0x00, 0x03

hcitool cmd 0x03 0x05 0x02 0x00 0x03

3) HCI_Write_Scan_Enable 0x03

hcitool cmd 0x03 0x1a 0x03

By using above commands, we got our device in RF SIG Mode and also performed the BT test scripts using Anritsu8852 successfully.

But while we do the same test for BLE using Anritsu8852, it gives error. that means the above commands are not useful to put the device in BLE RF-SIG mode to test BLE using Anritsu8852.

Below are the figure of Anritsu8852 display for Bluetooth test as well as BLE Test.

Can you please provide the HCI commands to put the device in BLE RF SIG Test mode (Also in the form of hcitool) ?

For the certification test, we do not want to use HCITester tool because the WL1835 BT UART is connected with AM335x processor so we do not access the UART of BT from outside.

Thanks,

Ankit Bhalani

  • Ankit,

    The commands to put the device into BLE transmitter and receiver tests are in the same page : processors.wiki.ti.com/.../WL18xx_Bluetopia_PM_Bluetooth_RF_Testing

    For any other specific compliance test, please check the Anritsu documentation to get the command details..

    Thanks
  • Hi Hari,

    As per you suggestion, i put the DUT device as BLE receiver using below command and take control using Anritsu8852 through RF link as same as Bluetooth test?
    command : Send_HCI_BLE_Receiver_Test 0x201d, 0x00 (convert into hcitool form)

    Is it resolve the error that i am getting as specified in my previous post for BLE?
    error : BLE Addr Srce Invalid

    I want to confirm with you because for testing i need to go to certification lab for Anritsu8852. The Anrisu8852 device is not available locally here.

    If i get confirmation about the commands for BLE test then i will go for the test. So please help us to resolve the issue.


    Thanks,
    Ankit Bhalani
  • Ankit,

    The BLE test mode commands () (links in Hari's post above) are specified in the Bluetooth specification from Bluetooth SIG under the Direct Test Mode section. So the commands are common to all Bluetooth Low Energy and Dual-mode devices and not specific to the WL183x.

    Now how to test a BLE device using the Anritsu8852, this documentation has to be provided from Anritsu.

    Best regards,
    Vihang
  • Hi Vihang,

    As per you suggestion, we can execute the below commands

    1) HCI_Enable_Device_Under_Test_Mode

    hcitool cmd 0x06 0x03

    2) HCI_Set_Event_Filter 0x02, 0x00, 0x03

    hcitool cmd 0x03 0x05 0x02 0x00 0x03

    3) HCI_Write_Scan_Enable 0x03

    hcitool cmd 0x03 0x1a 0x03

    and then take control of DUT from Anritsu8852 using RF link to perform the test of BLE for certification.

    It means the above commands are common to put the device in test mode for both BLE as well as BT for certification. so here the issue is because of the anritsu8852 testing configuration for BLE. There is no issue regarding the test mode commands of BLE.

    It means we can perform the BLE certification test with the use of same commands as mentioned above.

    can you please confirm my understanding whether it is correct or not and if require, correct it ?

    Thanks,
    Ankit Bhalani