Parent: 63dcb5cdff6037e81d65150a5f3116fceeed299b
Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-02-16 15:11:50
Tree: 70cf525416e98f4487cebe3ca993625de08499d2
thermometer: Fix handling of missing Temperature Type According to HTS 1.0 (Table 3.1, and Sections 3.1.1.4 and 3.2), the Temperature Type Characteristic is optional. The only restriction is that it shall not be present if the Temperature Type is non-static, for which case the "Temperature Type" field shall be present on the Temperature Measurement Characteristic value. Given there is no default value specified when the Temperature Type is static and unknown, the "Type" entry for MeasurementReceived() on the Thermometer API was made optional.
Diffstat
| M | doc/thermometer-api.txt | | | 3 | ++- |
| M | test/test-thermometer | | | 3 | ++- |
| M | thermometer/thermometer.c | | | 11 | +++- - - - - - - - |
3 files changed, 7 insertions(+), 10 deletions(-)