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.

CC2640R2F: Could BTool run on Linux environment ?

Part Number: CC2640R2F

Hi team,

My customer ask if BTool can run on Linux environment.

Inside BTool release note, it mention to install "mono" utility.

However, after installing "mono", it happen below error.

 

Please help clarify. If yes, please instruct how to do this. Thank you.

  • Hi Sir,

    our system it only support console text mode with Linux CentOS.
    And then I have follow BTool release note to install mono-devel package in my CentOS, but some error is coming and the fail looks related to GUI.

    Could I know does BTool support command line mode with console text mode in CentOS.

    Thank you

    Benny Lai

  • Hi Benny,

    The error you're getting is related to X Server. X Server is used for drawing GUI windows, and so this will not work without a desktop environment or window manager installed on the Linux system as there is no command line support for BTool. A solution may be to install a desktop environment/window manager on your current installation of CentOS or switching to a Linux distribution that has one pre-installed (such as Ubuntu). 

    Please let me know if you have anymore questions.

    Best,

    Nima

  • Hi Nima,

    Thanks for your information, as our original system design I think my only way is use HCI command to achieve the features.

    Thank you

    Benny Lai 

  • Hi Benny,

    If you need to send HCI commands to the device through Linux, using BlueZ (the official Linux Bluetooth stack) may be helpful. BlueZ offers some tools such as hciattach, hciconfig, and hcitool. However, we don't officially support this yet.

    Best,

    Nima

  • Hi Nima,

    Thanks for your information, I will try to study it soon.

    Thank you

    Benny Lai

  • Hi Nima,

    CC26xx cannot support fully HCI command set. It seems BlueZ cannot work with CC26xx.

    Therefore, I suggest customer to use BTool to find out the HCI command for their test case. Then they can copy the UART raw data and make script file on Linux host.