My fork

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

Fork of microbit-dal-bluetooth-mdw by Martin Woolley

Files at this revision

API Documentation at this revision

Comitter:
bluetooth_mdw
Date:
Thu Jan 05 10:29:03 2017 +0000
Parent:
78:ad415e663f07
Commit message:
Added externs to header file

Changed in this revision

inc/bluetooth/MicroBitAnimationService.h Show annotated file Show diff for this revision Revisions of this file
--- a/inc/bluetooth/MicroBitAnimationService.h	Tue Jan 03 12:43:42 2017 +0000
+++ b/inc/bluetooth/MicroBitAnimationService.h	Thu Jan 05 10:29:03 2017 +0000
@@ -30,7 +30,14 @@
 #include "Animator.h"
 #include "ble/BLE.h"
 
-// TODO: UUIDs for our service and characteristics
+// 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[];
 
 /**
   * Class definition for a MicroBit BLE Animation Service.