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.

CCS/CC2642R: Why HCI specific code is present in simple_peripheral.c under Simple Peripheral example in SDK v3.10?

Part Number: CC2642R

Tool/software: Code Composer Studio

We are using the SDK v3.10 for simple peripheral application example. In the example, we can see HCI events are handled and/or used in the simple_peripheral.c file a lot. However, for Peripheral firmware applciation, we do not need HCI functionality at all and we are wondering why the simple_peripheral.c contains HCI specific implementation.

Is there a specific reason of having HCI specific implementation in the simple_peripheral application? Can we remove such functionality from the file? Is there a dependency of this function (starts with HCI_LE***) to any of the BLE peripheral functionality that may be affected due to removal of the HCI code?