Lizzy project

Dependencies:   aconno_I2C Lis2dh12 adc52832_common aconno_SEGGER_RTT

Revision:
8:7ba4f82de9b6
Parent:
5:9903738f2587
Child:
9:aef8bb3d13ed
--- a/aconno_ble/aconno_ble.h	Wed Mar 14 08:48:26 2018 +0000
+++ b/aconno_ble/aconno_ble.h	Tue Mar 20 15:13:51 2018 +0000
@@ -10,11 +10,14 @@
 #include "mbed.h"
 #include "ble/BLE.h"
 #include "GapAdvertisingData.h"
+#include "lizzy_service.h"
 
 #define MSD_SIZE_b          (10)
 #define ADV_INTERVAL_MS     (100)
 #define APPLICATION_ID      (0xCF170059) //(0xCF170059)
 
+#define LSB_VALUE           (0x0001)
+
 /* Global variables and constants */
 
 struct __attribute__((packed, aligned(1))) advertising_packet{
@@ -37,6 +40,8 @@
     };
 };
 
+extern LizzyService *lizzy_service;
+
 /* Function declarations */
 void bleInitComplete(BLE::InitializationCompleteCallbackContext *params);
 void updatePayload(BLE *ble, advertising_packet *advertisementPacket);