CyBle_GetStackLibraryVersion() doesn't agree with TopDesign.cydsn > BLE_MODULE > Built-in?

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

cross mob
RaMe_1910901
Level 1
Level 1

Re: PSoC Creator  3.3 CP3 (3.3.0.9604)

TopDesign.cydsn > BLE_MODULE > Built-in says

     CY_MAJOR_VERSION = 3

     CY_MINOR_VERSION = 10

CyBle_GetStackLibraryVersion() returns

     majorVersion == 3

     minorVersion = 1

     ...

Shouldn't minorVersion be 10, or CY_MAJOR_VERSION == 1?

Is this a bug with the 3.10 (3.1??) BLE component for PSoC4.

Thanks,

R. Merkel

Philips Oral Health Care

0 Likes
1 Solution

Hello Merkel,

There is no version 4.05. Please refer to the list of BLE component versions in this link. If the BLE component is version 3.54v then the CyBle_GetStackLibraryVersion((CYBLE_STACK_LIB_VERSION_T *stackVersion) parameter CYBLE_STACK_LIB_VERSION_T will gives major version=3, minor version=5, patch number=4.

Please refer to this structure in BLE component datasheet for more information.

Thanks,

P Yugandhar.

View solution in original post

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

Hello Merkel,

The BLE component versions are labelled 3.10, 3.20, 3.30 and so on. When the CyBle_GetStackLibraryVersion returns minor version 1, it actually means 10. The second digit after the decimal is always zero.

Thanks,

P Yugandhar.

0 Likes

So the function can't return minor versions less than 10, i.e., 4.05?

0 Likes

Hello Merkel,

There is no version 4.05. Please refer to the list of BLE component versions in this link. If the BLE component is version 3.54v then the CyBle_GetStackLibraryVersion((CYBLE_STACK_LIB_VERSION_T *stackVersion) parameter CYBLE_STACK_LIB_VERSION_T will gives major version=3, minor version=5, patch number=4.

Please refer to this structure in BLE component datasheet for more information.

Thanks,

P Yugandhar.

0 Likes