From dc9671b2b14b472e90f44dc98614692c95474514 Mon Sep 17 00:00:00 2001 From: Sayanee Date: Mon, 20 May 2019 20:44:03 +0800 Subject: [PATCH] Add Environmental Sensing GATT Service and UV Index GATT Characteristics --- libraries/Bluefruit52Lib/keywords.txt | 2 ++ libraries/Bluefruit52Lib/src/BLEUuid.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/libraries/Bluefruit52Lib/keywords.txt b/libraries/Bluefruit52Lib/keywords.txt index d1cee182..1181a638 100644 --- a/libraries/Bluefruit52Lib/keywords.txt +++ b/libraries/Bluefruit52Lib/keywords.txt @@ -547,6 +547,7 @@ UUID16_SVC_CURRENT_TIME LITERAL1 UUID16_SVC_CYCLING_SPEED_AND_CADENCE LITERAL1 UUID16_SVC_LOCATION_AND_NAVIGATION LITERAL1 UUID16_SVC_DEVICE_INFORMATION LITERAL1 +UUID16_SVC_ENVIRONMENTAL_SENSING LITERAL1 UUID16_SVC_GLUCOSE LITERAL1 UUID16_SVC_HEALTH_THERMOMETER LITERAL1 UUID16_SVC_HEART_RATE LITERAL1 @@ -656,3 +657,4 @@ UUID16_PLX_FEATURES LITERAL1 +UUID16_CHR_UV_INDEX LITERAL1 diff --git a/libraries/Bluefruit52Lib/src/BLEUuid.h b/libraries/Bluefruit52Lib/src/BLEUuid.h index 6cdc1014..9b0b7529 100644 --- a/libraries/Bluefruit52Lib/src/BLEUuid.h +++ b/libraries/Bluefruit52Lib/src/BLEUuid.h @@ -84,6 +84,7 @@ class BLEUuid #define UUID16_SVC_CYCLING_POWER 0x1818 #define UUID16_SVC_LOCATION_AND_NAVIGATION 0x1819 #define UUID16_SVC_DEVICE_INFORMATION 0x180A +#define UUID16_SVC_ENVIRONMENTAL_SENSING 0x181A #define UUID16_SVC_GLUCOSE 0x1808 #define UUID16_SVC_HEALTH_THERMOMETER 0x1809 #define UUID16_SVC_HEART_RATE 0x180D @@ -195,6 +196,7 @@ class BLEUuid #define UUID16_PLX_SPOT_CHECK_MEAS 0x2A5E #define UUID16_PLX_CONTINUOUS_MEAS 0x2A5F #define UUID16_PLX_FEATURES 0x2A60 +#define UUID16_CHR_UV_INDEX 0x2A76 /*------------------------------------------------------------------*/ /* Company UUID