CYBLE_STATE_ADVERTISING;

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I am new at PSoC and I am trying some of the samples.

In PSoC_4_BLE_RGB_Power_LED I get a build error on CYBLE_STATE_ADVERTISING undeclared (first use in this function).

Anyone know how to help?

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
GyanC_36
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

Hello,

    Please find the attached successfully compiled/build project.

Note: If there are any components in the TopDesign.cysch which are grayed out ( Means needs an update ) , please right click on project name-> Update Component-> Next.

-Gyan

View solution in original post

0 Likes
4 Replies
himam_31
Employee
Employee
50 likes received 25 likes received 10 likes received

Please attach your project.

Thanks,

Hima

Anonymous
Not applicable

Here is the link to 100 projects in 100 days. It is project #34.

PSoC-4-BLE/100_Projects_in_100_Days/Day034_BLE_RGB_Power_LED_Control at master · cypresssemiconducto...

Regards

Anonymous
Not applicable

Which version of PSoC Creator are you using?

Did you update all components of the project after downloading it?

Did you try building before or after updating all components in the project?

Did you check that the topdesign.cysch file has a BLE component in it?

Did you try searching/grepping for the "CYBLE_STATE_ADVERTISING" declaration within the IDE files? (Sometimes things are preprocessor undeclared unless certain code/IDE/settings conditions are met.)

0 Likes
lock attach
Attachments are accessible only for community members.
GyanC_36
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

Hello,

    Please find the attached successfully compiled/build project.

Note: If there are any components in the TopDesign.cysch which are grayed out ( Means needs an update ) , please right click on project name-> Update Component-> Next.

-Gyan

0 Likes