IOTIO

Fork of Nucleo_BLE_API by ST Americas mbed Team

Files at this revision

API Documentation at this revision

Comitter:
16038618
Date:
Sat Oct 29 14:16:12 2016 +0000
Parent:
1:79e5c08cbcc7
Commit message:
IOTIO

Changed in this revision

public/GattCharacteristic.h Show annotated file Show diff for this revision Revisions of this file
public/GattService.h Show annotated file Show diff for this revision Revisions of this file
diff -r 79e5c08cbcc7 -r 584d5bedac75 public/GattCharacteristic.h
--- a/public/GattCharacteristic.h	Fri Dec 19 19:52:49 2014 +0000
+++ b/public/GattCharacteristic.h	Sat Oct 29 14:16:12 2016 +0000
@@ -99,6 +99,10 @@
         UUID_CSC_MEASUREMENT_CHAR                         = 0x2A5B,
         UUID_RSC_FEATURE_CHAR                             = 0x2A54,
         UUID_RSC_MEASUREMENT_CHAR                         = 0x2A53,
+                UUID_PRESSURE_CHAR= 0x2A6D, //Specifications ->  https://developer.bluetooth.org/gatt/characteristics/Pages/CharacteristicViewer.aspx?u=org.bluetooth.characteristic.pressure.xml
+                UUID_TEMPERATURE_CHAR = 0x2A6E, //Specifications ->  https://developer.bluetooth.org/gatt/characteristics/Pages/CharacteristicViewer.aspx?u=org.bluetooth.characteristic.temperature.xml 
+                UUID_HUMIDITY_CHAR= 0x2A6F,   //Specifications ->  https://developer.bluetooth.org/gatt/characteristics/Pages/CharacteristicViewer.aspx?u=org.bluetooth.characteristic.humidity.xml
+                UUID_TRUE_WIND_DIRECTION_CHAR= 0x2A71  //Specifications ->  https://developer.bluetooth.org/gatt/characteristics/Pages/CharacteristicViewer.aspx?u=org.bluetooth.characteristic.true_wind_direction.xml
     };
 
     /**************************************************************************/
diff -r 79e5c08cbcc7 -r 584d5bedac75 public/GattService.h
--- a/public/GattService.h	Fri Dec 19 19:52:49 2014 +0000
+++ b/public/GattService.h	Sat Oct 29 14:16:12 2016 +0000
@@ -65,7 +65,8 @@
         UUID_REFERENCE_TIME_UPDATE_SERVICE  = 0x1806,
         UUID_RUNNING_SPEED_AND_CADENCE      = 0x1814,
         UUID_SCAN_PARAMETERS_SERVICE        = 0x1813,
-        UUID_TX_POWER_SERVICE               = 0x1804
+        UUID_TX_POWER_SERVICE               = 0x1804,
+                  UUID_ENVIRONMENTAL_SENSING_SERVICE    = 0x181A,      //Check the adopted services -> https://developer.bluetooth.org/gatt/services/Pages/ServicesHome.aspx 
     };
 
     const UUID &getUUID(void) const {