2 Replies Latest reply on Oct 27, 2017 9:50 AM by asha_ca_7833_1608416

    Calling CyBle_GapAddDeviceToWhiteList creates compile error

    asha_ca_7833_1608416

      Hi,

      I have:

       

      CY8CKIT-042-BLE

      PSoC Creator 4.1

      I added call to as below:

       

            apiResult = CyBle_GapAddDeviceToWhiteList(&whitelistdeviceaddress);

       

      I added include file "project.h" but this does not include "CyBle_StackGap.h" and so my build fails.

      I was wondering how to solve this error. Below is the exact error I get. Thanks, Asha