unknown type name 'CYBLE_API_RESULT_T'

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

cross mob
lock attach
Attachments are accessible only for community members.
shge_4395051
Level 4
Level 4
25 sign-ins 25 replies posted First solution authored

Hello 

I'm getting this error  (unknown type name 'CYBLE_API_RESULT_T')   in the BLE_StackGATT.h file.   I've updated my components as another post suggested.  A second post suggested to ignore the error but this is simply bad 

0 Likes
1 Solution
Renate
Level 3
Level 3
25 replies posted 25 sign-ins 10 replies posted

Delete #include "BLE_StackGatt.h" in BLEProcess.c, line #15.

You don't need that.

BLE_StackGatt.h needs BLE_Stack.h (where CYBLE_API_RESULT_T is defined as an enum).

(Also, project.h already has all that stuff in it.)

View solution in original post

0 Likes
5 Replies
Yugandhar
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 5 likes given

Hello,

Could you please let me know which version of BLE Component you are using ?

Thanks,

P Yugandhar.

0 Likes
shge_4395051
Level 4
Level 4
25 sign-ins 25 replies posted First solution authored

I am using Bluetooth component version v3_66.

thanks

-Shawn

0 Likes

Hello,

Did you check with other example projects ? Could you please share your complete project ?

Thanks,

P Yugandhar.

0 Likes
lock attach
Attachments are accessible only for community members.

Hi

I also tried the BLE temperature Measurement example project.  There were no errors with this project.  Please see attached bundle for the custom profile.

thanks for looking at this.

Shawn 

0 Likes
Renate
Level 3
Level 3
25 replies posted 25 sign-ins 10 replies posted

Delete #include "BLE_StackGatt.h" in BLEProcess.c, line #15.

You don't need that.

BLE_StackGatt.h needs BLE_Stack.h (where CYBLE_API_RESULT_T is defined as an enum).

(Also, project.h already has all that stuff in it.)

0 Likes