
Send continuous stream to mobile
Fork of pdiot-ble-notify-array by
Revision 30:84797119c14a, committed 2017-05-10
- 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};