Reading and sending sensor data over BLE
Dependencies: BSP_B-L475E-IOT01
Diff: source/main.cpp
- Revision:
- 27:ff1fb7b5f9ee
- Parent:
- 11:7404978b24e7
- Child:
- 39:ddabcba6eff1
diff -r 1451c4ad0320 -r ff1fb7b5f9ee source/main.cpp --- 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;