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.

Request BLE 5.0 HCI python script

Part Number: CC2642R


Hi Sir,

Our previous project used the old version of TI BLE chip, we use the following python script to send HCI Command from SOC to BLE FW via UART
https://github.com/dsavard/TI_BLE_C254x

But our new project uses TI CC2642R, which is a BLE 5.0 chip.
When we continued to use the previous python script to send HCI command to let the host_test BLE FW establish a connection with other simple_peripheral devices, it will fail.
Use the current BLE 5.0 Btool to verify this issue, BLE 5.0 Btool can establish connection successfully.
.
We found that the current HCI GAP command used by BLE 5.0 Btool is different from python script.
The previous python script used the 0xFE09 GAP command (Gap Establish Link Request), and did not define the 0xFE62 command.
BLE5.0 Btool uses 0xFE62 GAP command  (GapInit_connect), and  I can't find 0xFE09 command in BLE5.0 Btool Advanced Commands GUI menu.
BLE 5.0 seems to no longer use the 0xFE09 command.
I want to ask
1. Does the BLE5.0 define a new HCI GAP command to establish a connection?
2. Is there a python script that supports BLE5.0 HCI commands? Where can I download from?

Thank you.
Ariel


  • Hi Ariel,

    I have asked a concern engineer to comment. In the mean time, you may want to review the BLE Core Specifications. You may also want to contact the person who provided the python script you referred to (as far as I know this script is not owned by TI) in order to ask for support.

    Note: I have edited the flags you picked for your thread. Please avoid sharing email addresses in public.

    Best regards,

  • Ariel,

    Yes, GapInit_connect is 0xFE62. 

    You can access the documentation through Documentation_Overview.html on the following path:

    C:\ti\<your sdk>\docs   (for example, C:\ti\simplelink_cc13x2_26x2_sdk_4_20_00_35\docs)

    Navigate to the TI BLE5-Stack User’s Guide -- > BLE5-Stack --> Host Controller Interface (HCI) --> HCI Vendor-Specific Commands. From there, you will find a link to the HCI Vendor Specific Guide.

    As for your second questions, the python script on Github is not supported by Texas Instruments.

    I hope this helps.

    -Luis