Unknown CYBLE Stack Events

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

cross mob
Anonymous
Not applicable

Hi All

   

While debugging my project I am receiving two BLE Stack events, 0x104 and 0x105.

   

The project works OK but I am curious as to what they mean.

   

Does any one know their meaning?

   

Regards

   

John

0 Likes
4 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

There is a declaration

   

    CYBLE_EVT_MAX = 0xFF

   


which would mean that there are no events > 255. Are you quite sure you mean 0x0105 and not 105?

   

 

   

Bob

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

Hi Bob

   

Attached is a screen shot of my work station.

   

It shows the CySmart 1.2 tool I am using to talk to my device, the PS0C Creator in debug mode at a break point and a serial port terminal.

   

The local variable 'event' has the value 0x00000105.

   

Regards

   

John

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

No idea. You should inspect the call stack routines.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Hi Bob

   

Thanks for having a look, I'll take a look at the generated code when I have a minute, it's not causing an issue as yet but I would still like to know.

   

Thanks again

   

John

0 Likes