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.

LAUNCHXL-CC26X2R1: How do I disable LE Ping Procedure and Optional GATT capabilities?

Part Number: LAUNCHXL-CC26X2R1

Hello,

I'm using SDK v5.10.

The BLE TCRL document for the Link Layer lists the LE Ping Procedure (LL.ICS.p15 9/2) as optional.  We wish to not support it so how do we disable it in our build?

Along those same lines, there are several capabilities in the GATT (GATT.ICS.p13 table 4) that are optional (ie Read Multiple Characteristic Values, Signed Write Without Response, Characteristic Value Reliable Writes, etc).  How do we disable the optional capabilities that we don't wish to support?

Thanks,

Dawn

  • Hey Dawn,

    The BLE5-stack provided is pre-compiled, so certain features may not easily be removed.

    The BLE TCRL document for the Link Layer lists the LE Ping Procedure (LL.ICS.p15 9/2) as optional.  We wish to not support it so how do we disable it in our build?

    For this, you can use the HCI command: HCI_EXT_SetLocalSupportedFeaturesCmd as outlined in this similar post (link here). The feature flag for LL ping is: LL_FEATURE_PING.

    Along those same lines, there are several capabilities in the GATT (GATT.ICS.p13 table 4) that are optional (ie Read Multiple Characteristic Values, Signed Write Without Response, Characteristic Value Reliable Writes, etc).  How do we disable the optional capabilities that we don't wish to support?

    This is something that cannot easily be disabled. You can avoid the use of the GATT API's that map to these capabilities which would only cover outgoing requests. If you were to receive an incoming write/read from another device that does support these capabilities, the stack will likely handle this and not reject the incoming request (since by default it is supported).

    When it comes to qualification, the component QDID used enabled these features. I guess you can de-select these features in your EPL (End Product Listing), but as the stack is pre-compiled I'm not sure there is value in doing so.

  • Thank you!  This was very helpful.