OSDN Git Service

thermometer: Add common function to write characteristics CCC
authorAndrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Tue, 9 Oct 2012 11:19:54 +0000 (13:19 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 9 Oct 2012 15:56:26 +0000 (17:56 +0200)
commit215f837470d47187f58c1bfdc4c12eb74791bf77
tree48f0783272048705d4a6be598134839c8526ed90
parent99685790cb0ba2b2a640b6859bff71f137f38db6
thermometer: Add common function to write characteristics CCC

There are now few separate functions to write CCC for measurement
characteristics which looks similar. This patch adds common function
to write given value into CCC for given characteristics and leaves
dedicated functions to act only as simple wrappers.
profiles/thermometer/thermometer.c