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/WL1837MOD: BLE testing Transmitter Test for FCC certification

Part Number: WL1837MOD
Other Parts Discussed in Thread: WL1837

Tool/software: Linux

Hi, 

We use the wl1837 for wifi and BLE on our device. I am using the below wiki for BLE transmitter tests

I am using the hcitool for tx tests and others as well. I  want to check the output power for low, medium and high channels on BLE i.e 0, 19, 39.

The commands on the wiki show the below but how do I change the channel number in these commands?

hcitool cmd 0x3f 0x01fb 0x01 0xff 0x00 0x00 0x00 0x80 0x00 //disable RF Calibration
hcitool cmd 0x08 0x001e 0x00 0x00 0x00
hcitool cmd 0x08 0x001f

Can you please let me know how can i change the channel in the above command, I think the second command should have some field for channel number. Is it also possible to change the power value?

Thanks for your time,
Surabhi

  • Hi Surabhi,

    The second command (0x08 0x001e ...) is the HCI_LE_Transmitter_Test Command from the BT core spec.

    The 1st parameter in this HCI_LE_Transmitter_Test command is the channel value. According to the BT core spec. document, this parameter(N) is defined as N = (test_freq_in_MHz - 2402)/2. So the value of this parameter would be 0x00, 0x13 and 0x27 for 2402MHz, 2440MHz and 2480MHz channels.

    Please refer to the command documentation in the BT core spec for the 2nd (Length_of_Test_Data) and the 3rd (Packet_Payload) parameters.

    Best regards,

    Vihang

  • Hi Vihang,
    Thanks for your reply and link to the BT core spec. I can find the command now in the spec.
    Regards,
    Surabhi
  • Hi Vihang,
    I have a question that whether the Bluetooth LE and WiFi can ever transmit simultaneously. We use only one antenna on the device.
    Thanks,
    Surabhi