Android Question BLE2 SetNotify

alizeti

Member
Licensed User
On my side, I just want to enable one notification and if I don't put a breakpoint before the setNotify, it doesn't work
This is what I get if no breakpoint

Setting descriptor. Success = true
writing descriptor: false

if breakpoint
Setting descriptor. Success = true
writing descriptor: true

Any idea?!
 

emexes

Expert
Licensed User
Any idea?!
I never had this issue, possibly because I do BLE with a state machine "checklist" that retries each step several times until Success = True.

Or... maybe I do have the issue, but it's masked by resilient (some would say: pessimistic) programming. ? But I don't remember seeing many retries when testing.
 
Upvote 0
Top