ST / Mbed OS mbed-os-example-ble-GAPButton

This example is a fork of the following mbed-os example:

https://developer.mbed.org/teams/mbed-os-examples/code/mbed-os-example-ble-GAPButton/

Please read the documentation in this page.

Revision:
30:217bfc94a9b7
Parent:
14:332bb3fa072b
diff -r 35ac362b9fd0 -r 217bfc94a9b7 source/main.cpp
--- a/source/main.cpp	Tue May 09 14:45:43 2017 +0100
+++ b/source/main.cpp	Wed May 10 10:16:56 2017 +0100
@@ -31,9 +31,7 @@
 #define GAPButtonUUID 0xAA00
 const uint16_t uuid16_list[] = {GAPButtonUUID};
 
-static EventQueue eventQueue(
-    /* event count */ 16 * /* event size */ 32
-);
+static EventQueue eventQueue(/* event count */ 16 * EVENTS_EVENT_SIZE);
 
 void print_error(ble_error_t error, const char* msg)
 {