Kai Ren / BluetoothWorld2018Peripheral

Dependencies:   microbit

Fork of BluetoothAsia2018Peripheral by Kai Ren

Revision:
10:bdd5a54dd4ce
Parent:
6:f296b217bb4c
Child:
12:085fd7fe163b
--- a/peripheral_src.txt	Tue Jul 31 07:01:23 2018 +0000
+++ b/peripheral_src.txt	Tue Jul 31 08:50:40 2018 +0000
@@ -46,8 +46,9 @@
     // TODO: create GattService containing the three characteristics
     // create an array of our characteristics so we can pass them to the service when we create it
     GattCharacteristic *characteristics[] = {&animationTypeCharacteristic, &animationStatusCharacteristic, &animationControlCharacteristic};
+ctrl+S then ctrl+B
 
-    // create the animation service and specify its characteristics. 3rd arg is the number of characteristics.
+    // TODO: create the animation service and specify its characteristics
     GattService         service(MicroBitAnimationServiceUUID, characteristics, sizeof(characteristics) / sizeof(GattCharacteristic *));
 ctrl+S then ctrl+B
 
@@ -98,4 +99,4 @@
         ble.gattServer().notify(animationStatusCharacteristicHandle,(uint8_t *)animation_status_buffer, 1);
     }
 }
-ctrl+S then ctrl+B
\ No newline at end of file
+ctrl+S then ctrl+B