This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

read parameter is not updated if bluetooth is disconnected

we are making a pedometer. when you are connected, you get notification for every step you make (just an integer)

you just did 50 steps. you can see it in the app. now you disconnect. you continue to do some steps, maybe 15 steps. then you reconnect, but don't make new steps. the "read" should be 65. but the read is still 50. I need to make one more step to get a notification (66)

Any idea where this comes from ?

Related