Send continuous stream to mobile

Dependencies:   MPU9250

Fork of pdiot-ble-notify-array by Andrew Bates

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Wed May 10 10:15:54 2017 +0100
Parent:
29:861204153da9
Child:
31:c5d506107459
Commit message:
Merge pull request #78 from ashok-rao/master

Using predefined macro for EVENT SIZE.
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-ble

Changed in this revision

source/main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/source/main.cpp	Tue May 09 14:45:28 2017 +0100
+++ b/source/main.cpp	Wed May 10 10:15:54 2017 +0100
@@ -23,9 +23,7 @@
 DigitalOut  led1(LED1, 1);
 InterruptIn button(BLE_BUTTON_PIN_NAME);
 
-static EventQueue eventQueue(
-    /* event count */ 10 * /* event size */ 32
-);
+static EventQueue eventQueue(/* event count */ 10 * EVENTS_EVENT_SIZE);
 
 const static char     DEVICE_NAME[] = "Button";
 static const uint16_t uuid16_list[] = {ButtonService::BUTTON_SERVICE_UUID};