Commit: e289def741325b87881b4556bf600b77108bccba
Parent: 20f7a7b1ca6e186c969ed18926de7faee2041f91
Author: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-11-30 15:03:14
Tree: 5f49887d058d6d6bc4f18d44278342f937139626

thermometer: Always write CCC value when connecting This patch ensures that CCC values for Intermediate Temperature and Termperature Measurement are always written when connecting to device. This is to i.e. disable notifications and/or indications in case they are already enabled (reconnection scenario) but we don't have watcher registered so it's pointless for remote to send us data.

Diffstat

M profiles/thermometer/thermometer.c | 24 ++++++++++++++- - - - - - - - - -

1 files changed, 14 insertions(+), 10 deletions(-)

View Full Diff | Patch