From e4a6b63fcb375767c4773396b6797d071bd99dc0 Mon Sep 17 00:00:00 2001 From: Irit Arkin Date: Mon, 16 Nov 2015 13:46:07 +0000 Subject: [PATCH] New version Based on the main repo's master version, with edits to the API. --- ble/GattService.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/ble/GattService.h b/ble/GattService.h index f3d3b85..f9af983 100644 --- a/ble/GattService.h +++ b/ble/GattService.h @@ -29,6 +29,7 @@ public: UUID_CURRENT_TIME_SERVICE = 0x1805, UUID_CYCLING_SPEED_AND_CADENCE = 0x1816, UUID_DEVICE_INFORMATION_SERVICE = 0x180A, + UUID_ENVIRONMENTAL_SERVICE = 0x181A, UUID_GLUCOSE_SERVICE = 0x1808, UUID_HEALTH_THERMOMETER_SERVICE = 0x1809, UUID_HEART_RATE_SERVICE = 0x180D, @@ -46,16 +47,16 @@ public: public: /** * @brief Creates a new GattService using the specified 16-bit - * UUID, value length, and properties + * UUID, value length, and properties. * - * @note The UUID value must be unique and is normally >1 + * @note The UUID value must be unique and is normally >1. * * @param[in] uuid - * The UUID to use for this service + * The UUID to use for this service. * @param[in] characteristics - * A pointer to an array of characteristics to be included within this service + * A pointer to an array of characteristics to be included within this service. * @param[in] numCharacteristics - * The number of characteristics + * The number of characteristics. */ GattService(const UUID &uuid, GattCharacteristic *characteristics[], unsigned numCharacteristics) : _primaryServiceID(uuid), _characteristicCount(numCharacteristics), _characteristics(characteristics), _handle(0) {