BLE
Fork of BLE_API by
Diff: ble/GattService.h
- Revision:
- 909:0a28c427cdc7
- Parent:
- 908:f9a79127973a
- Child:
- 913:f728aa46e7df
diff -r f9a79127973a -r 0a28c427cdc7 ble/GattService.h --- a/ble/GattService.h Thu Nov 26 12:52:02 2015 +0000 +++ b/ble/GattService.h Thu Nov 26 12:52:02 2015 +0000 @@ -29,6 +29,7 @@ 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: /** * @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) {