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: Alternative Solution for Whitelisting Feature Without Using PRIVACY_1_2_CFG Macro

Part Number: CC2650


Tool/software:

We are working on a project using the CC2650 and BLE SDK version 2.2.8.12, where we need to enable the whitelisting feature to comply with security directives like RED-DA. Enabling the PRIVACY_1_2_CFG macro resolved the issue described here: not-able-to-connect-in-whitelist-advertisement-when-devices-are-bonded

However, this increased flash consumption by approximately 7.5 kB, which presents challenges because:

  1. Our project already consumes around 92% of the available flash.
  2. We also need to accommodate the Over-the-Air Download (OAD) library, which currently doesn’t fit due to the increased memory usage.

Questions:

  1. Is it possible to skip using the PRIVACY_1_2_CFG macro and still manage the whitelisting feature? Are there alternative solutions or patches available?
  2. Are there ways to optimize flash and RAM consumption in this setup to fit both the OAD library and the whitelisting feature?

Any suggestions or guidance would be greatly appreciated!

  • Hi,

    Sorry for the delayed response. I believe it is required to use the PRIVACY_1_2_CFG to enable most security features (whitelist among these). However, if additional memory is required, then I would suggest referencing section 10.4 Optimizing Bluetooth Low Energy Stack Memory Usage. Particularly, I would see if there are other 4.2 features you can disable to save some space.

    Best Regards,

    Jan

  • Hi Jan,

    Thanks for the info and it had helped in reducing flash consumption

    one more query: In our project, we are using the Bond Manager but without LE Secure Connections. To ensure stable operation without potential heap-related issues, could you please confirm the minimum heap size required for the Bond Manager to function as expected?

    Looking forward to your insights.

    Thanks & Best Regards,

  • Hi,

    Glad to hear the suggestion worked! The minimum heap required likely depends on number of pairs and bonds used in your application. I would suggest attempting to find this value experimentally.

    Best Regards,

    Jan