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/CC2640R2F: Simple_peripheral does not work when linking the library built with "PERIPHERAL_CFG+CENTRAL_CFG"

Part Number: CC2640R2F


Tool/software: Code Composer Studio

Hi Experts,

I modified build_config.opt file in "simple_peripheral_cc2640r2lp_stack_library" in "simplelink_cc2640r2_sdk_1_50_00_58" as below.

/* BLE Host Build Configurations */
/* -DHOST_CONFIG=PERIPHERAL_CFG */
/* -DHOST_CONFIG=CENTRAL_CFG */
/* -DHOST_CONFIG=BROADCASTER_CFG */
/* -DHOST_CONFIG=OBSERVER_CFG */
/* -DHOST_CONFIG=PERIPHERAL_CFG+OBSERVER_CFG */
/* -DHOST_CONFIG=CENTRAL_CFG+BROADCASTER_CFG */
-DHOST_CONFIG=PERIPHERAL_CFG+CENTRAL_CFG


Building above library then link it in simple_peripheral_cc2640r2lp_app but it does not work. Advertising and connecting to host works fine but GATT service cannot be got. I used LightBlue iOS for BLE host.

Could you please advice me what is wrong?

Regards,

Uchikoshi