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/CC2564C: CC2564C:Can not disable BLE function

Part Number: CC2564C

Tool/software: Linux

Hi,

HCI_VS_LE_Enable (0xFD5B) 0x01 0x01 command can enable low energy function which could be observed by application tool by detecting beacon data.

HCI_VS_LE_Enable (0xFD5B) 0x00 0x00 command seems failed since that application tool still can detecting the changing beacon data.

To disable BLE function, does anything else need to do?

  • HCI_VS_LE_Enable (0xFD5B) 0x00 0x00 should disable the BLE.

    peijie shi said:
    HCI_VS_LE_Enable (0xFD5B) 0x00 0x00 command seems failed since that application tool still can detecting the changing beacon data.

    Please share the CC2564C FW logs of this scenario.

  • Attach FW log, please help check.
    thanks.
  • Peijie,

    From the logs, I see that you are using the CC2564B and not the CC2564C. Both devices handled the HCI_VS_LE_Enable function in the exact same way, but I wanted to state that for the record since the subject line mentions CC2564C.

    The BLE_DisableNOK.lgr logs show that the HCI_VS_LE_Enable 0xFD5B 0x00 0x00 command was sent from the host (#1277) while the LE Advertise is still active (#1240 HCI_LE_Write_Advertise_Enable 0x01). Because of this, the CC2564B returns the 0x0C (Command Disallowed) error code in the command complete event (#1278) of the HCI_VS_LE_Enable command.

    All LE procedures (i.e. advertising, scanning, active LE connections or LE test modes) must be stopped before the HCI_VS_LE_Enable 0xFD5B 0x00 0x00 command can succeed in disabling the LE.

    Best regards,

    Vihang

  • Dear Vihang,

    HCI_VS_LE_Enable 0xFD5B 0x00 0x00 works, thanks for your information.

    And I found another issue that after disable LE function successfully even though, the WBS of headset won't output voice.

    Do you have any ideas?

    Thanks. 

  • Hi Peijie,

    Before using the WBS, or any assisted modes, the AVPR add-on must be downloaded to the device. As you can see in the datasheet, you can either run BLE or assisted mode (WBS or A3DP) at a time. The BLE mode is activated by downloading the BLE add-on (found in the service-pack release) to the device and assisted mode is activated by downloading the AVPR add-on to the device.
    The appropriate add-on must be downloaded each time when switching between BLE and assisted modes.

    Best regards,
    Vihang