forking microbit-dal

Dependencies:   BLE_API mbed-dev-bin nRF51822-bluetooth-mdw

Fork of microbit-dal by Martin Woolley

Revision:
77:9909cbcd0ece
Parent:
74:9771cd712730
Child:
79:ab48b2043312
--- a/inc/bluetooth/MicroBitAnimationService.h	Tue Dec 27 10:59:38 2016 +0000
+++ b/inc/bluetooth/MicroBitAnimationService.h	Tue Dec 27 11:55:17 2016 +0000
@@ -30,14 +30,7 @@
 #include "Animator.h"
 #include "ble/BLE.h"
 
-// UUIDs for our service and characteristics
-extern const uint8_t  MicroBitAnimationServiceUUID[];
-// animation type: indicates the type of animation that should be executed by the microbit            : R|W
-extern const uint8_t  MicroBitAnimationServiceAnimationTypeCharacteristicUUID[];
-// animation status: indicates whether or not an animation is currently in progress                   : R|N
-extern const uint8_t  MicroBitAnimationServiceAnimationStatusCharacteristicUUID[];
-// animation control: allows various types of control to be exercised (start|stop|faster|slower)      : W
-extern const uint8_t  MicroBitAnimationServiceAnimationControlCharacteristicUUID[];
+// TODO: UUIDs for our service and characteristics
 
 /**
   * Class definition for a MicroBit BLE Animation Service.
@@ -63,15 +56,14 @@
     // Bluetooth stack we're running on.
     BLEDevice           &ble;
     
-    // memory for our Animation characteristics.
-    uint8_t   animation_type_buffer[1];
-    uint8_t   animation_status_buffer[1];
-    uint8_t   animation_control_buffer[1];
+    
+    // TODO: memory for our Animation characteristics.
+
 
-    // handles on this service's characterisitics.
-    GattAttribute::Handle_t animationTypeCharacteristicHandle;
-    GattAttribute::Handle_t animationStatusCharacteristicHandle;
-    GattAttribute::Handle_t animationControlCharacteristicHandle;
+
+    // TODO: handles on this service's characterisitics.
+    
+    
     
     void animationStatusUpdate(MicroBitEvent e);