cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

Anonymous
Not applicable

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

pastedImage_0.png

0 Likes
Reply
1 Solution
Anonymous
Not applicable

Hi,

We did clean and build.

We figured out the issue.

Our setup is "Loader" and "Loadable" and so some functions need to be made "KEEP" in the Loader so that the Loadable can see those functions.  Thanks, Asha

View solution in original post

2 Replies
Anonymous
Not applicable

#include <project.h>

Did you try clean and build? Or just build?

Did you check that all of your components are up-to-date? (update components in right-click menu of the Project file)

Did you configure your BLE device for peripheral, central, or both?

0 Likes
Reply
Anonymous
Not applicable

Hi,

We did clean and build.

We figured out the issue.

Our setup is "Loader" and "Loadable" and so some functions need to be made "KEEP" in the Loader so that the Loadable can see those functions.  Thanks, Asha

View solution in original post