Lizzy project

Dependencies:   aconno_I2C Lis2dh12 adc52832_common aconno_SEGGER_RTT

Branch:
SimpleGATTExample
Revision:
22:7dae8496b97c
Parent:
19:2681edc2f2b9
--- a/aconno_ble/aconno_ble.h	Thu Sep 13 12:20:35 2018 +0200
+++ b/aconno_ble/aconno_ble.h	Thu Sep 13 15:14:14 2018 +0200
@@ -14,30 +14,12 @@
 
 #define MSD_SIZE_b          (10)
 #define ADV_INTERVAL_MS     (1000)
-#define APPLICATION_ID      (0xCF170059) //(0xCF170059)
-
-#define LSB_VALUE           (0xFFFF)    // this is divided by 2^16 in app
+#define APPLICATION_ID      (0x9A780059) //(0xCF170059)
 
 /* Global variables and constants */
-
 struct __attribute__((packed, aligned(1))) advertising_packet{
     uint32_t header;
     uint8_t  type;
-    union{
-        struct{
-            int16_t gyroscope[3];
-            int16_t accelerometer[3];
-            int16_t magnetometer[3];
-            uint16_t acc_lsb_value;
-        };
-        struct{
-            float temperature;
-            float humidity;
-            float pressure;
-            float light;
-            uint8_t battery;
-        };
-    };
 };
 
 extern LizzyService *lizzy_service;