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.

CC2650: Where is HCI_LE_SetDataLenCmd?

Part Number: CC2650


Hi, I'm trying to use the TI Resource Explorer Development Tools for CC26xx Bluetooth Smart - v:2.01.00.44423. The version I downloaded is hci.h rev 44375 (Mon, 20 Jul 2015). 

Am I using a stale version of SensorTagStack? Where do I find HCI_LE_SetDataLenCmd? For reference github.com/ti-simplelink/ble_examples does exactly this, with the comment "This API is documented in hci.h". 

Thanks in advance! 

Allan 

  • Hi Allan,

    The newest version of SensorTag can be found as part of BLE Stack 2.2.1 : www.ti.com/.../ble-stack if you take a look at hci.h, found in C:\ti\simplelink\ble_sdk_2_02_01_18\src\inc, you will find documentation for HCI_LE_SetDataLenCmd().
  • Hi Marie, thanks for your prompt response! Your answer seems clear and correct, so I am going to verify it as answered. But the truth is that I am using an older version of Ble, the cc2650 SensorTagStack library available in resource explorer. I have only been able to use CCS Cloud, because I haven't been able to successfully import the resource explorer project into CCS desktop. 

    In any case, my question may not be relevant at this time because I don't see the new functionality supported by Android. I did find that the older functionality GATT_ExchangeMTU is supported from API 21, and I've incorporated that successfully as a workaround. 

    Again, thanks! 

    Allan 

  • Hello Allan,

    Some new handsets such as the Google Pixel and iPhone 7 support the DLE feature in a meaningful way. As new phones are announced, I would expect more devices support this v4.2 feature.

    Best wishes
  • JXS, thanks for your reply!

    I'm guessing you're referring to your post here and github here.
    e2e.ti.com/support/wireless_connectivity/bluetooth_low_energy/f/538/t/542688
    github.com/ti-simplelink/ble_examples/README.md

    Unfortunately for me, I haven't been able to get ccs desktop to work correctly, and the TI resource explorer version is CC26xx 2.01.00.44423. Is there a simple way to get the ble_sdk_2_02_01_18 version of SensorTagStack into my ccs cloud workspace?

    Thanks!
    Allan