Hi everybody
I implement a special sensor profile for a sensor peripheral, which is similar to the new (and not jet existing) Environmental Sensing Profile.
There it is possible to set special events when a notification is triggered, for instance if the characteristic value is above a certain limit, or after a certain time.
If I check the examples from TI I noticed, this kind of notification were triggered from the Application (e.g. thermometer). In the SimpleProfile profile, the notification (for characteristic 4) is triggered always on value change and is coded within the profile... I'm now not sure which way I should take.
I was therefore wondering: Is there a reason to implement the notification triggering from the Application? In my opinion, this is not really efficient because the trigger mechanism must be programmed again for every app. Or are there certain benefits by do this in the application?
I would really appreciate any ideas from you guys. How do you do this generally? And why?
Thanks in advance
Matthias