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

Notifications and read function to be used in the same application

Hi Devs,

based on this example

https://github.com/NordicPlayground/nRF52-Bluetooth-Course

i was able to run it, and the value field appear below the Unknown Characteristics properties incremented every second as expected.

MY question however is whether it is possible at all to have both the enable notification and "read" button to run at the same time and update that value field. The purpose is that if i don't enable notifications, and just push the read button, the value field will be read on demand and not pushed to the client. Of course a better functionality would be if "notifications enabled" and read button pushed, both will not crash each other and just update the value field at a faster pace. Hope i have explained the situation clearly, and any help would be appreciated. thx.

Parents Reply Children
No Data
Related