Reading and sending sensor data over BLE

Dependencies:   BSP_B-L475E-IOT01

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Wed May 10 10:17:08 2017 +0100
Parent:
26:1451c4ad0320
Child:
28:045bb97687bf
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:52 2017 +0100
+++ b/source/main.cpp	Wed May 10 10:17:08 2017 +0100
@@ -25,9 +25,7 @@
 const static char     DEVICE_NAME[] = "LED";
 static const uint16_t uuid16_list[] = {LEDService::LED_SERVICE_UUID};
 
-static EventQueue eventQueue(
-    /* event count */ 10 * /* event size */ 32
-);
+static EventQueue eventQueue(/* event count */ 10 * EVENTS_EVENT_SIZE);
 
 LEDService *ledServicePtr;