Ble for smart sOlutions

Dependencies:   Adafruit_WS2801

Revision:
11:d6ed1437c2ee
Parent:
10:d845189d146e
diff -r d845189d146e -r d6ed1437c2ee source/ColorService.h
--- a/source/ColorService.h	Fri Jun 14 10:24:57 2019 +0200
+++ b/source/ColorService.h	Thu Jun 20 13:20:24 2019 +0200
@@ -31,20 +31,8 @@
         ble.gattServer().addService(colorService);
 
         ble.gattServer().onDataWritten(this, &ColorService::onDataWritten);
-//        serviceAdded = true;
     }
 
-
-    /**
-     * @brief   Update temperature characteristic.
-     * @param   newTemperatureVal New temperature measurement.
-     */
-//    void updateColor(const ColorType_t newColorVal)
-//    {
-//        color = ( *((int*)newColorVal ) );
-//        ble.gattServer().write(colorCharacteristic.getValueHandle(), (uint8_t *) &color, sizeof(ColorType_t));
-//    }
-
     virtual ~ColorService() {
         printf("[PERIPHERAL]\t Destructing ColorService");
     }