BTLE demo for MAXWSNENV.

Dependencies:   BLE_API BMP180 Si7020 mbed MaximBLE

Revision:
1:1876781d537e
Parent:
0:f71931ae3db1
Child:
2:6f76d6160601
--- a/main.cpp	Fri Jul 10 21:28:56 2015 +0000
+++ b/main.cpp	Thu Mar 03 14:48:57 2016 +0000
@@ -69,7 +69,6 @@
 
 // BLE Objects
 static BLE ble;
-static DeviceInformationService *devInfoService;
 static EnvironmentalService *envService;
 static CurrentTimeService *timeService;
 static LowPowerTimeout bleUpdateTimeout;
@@ -238,7 +237,7 @@
 }
 
 // *****************************************************************************
-void disconnectionCallback(Gap::Handle_t handle, Gap::DisconnectionReason_t reason)
+void disconnectionCallback(const Gap::DisconnectionCallbackParams_t *params)
 {
     /* Restart Advertising on disconnection */
     connHandle = 0;
@@ -345,7 +344,7 @@
     ble.gap().setAdvertisingType(GapAdvertisingParams::ADV_CONNECTABLE_UNDIRECTED);
 
     /* Prepare Services */
-    devInfoService = new DeviceInformationService(ble, "Maxim Integrated",
+    new DeviceInformationService(ble, "Maxim Integrated",
                                                        "WSNENV",
                                                        "000001",
                                                        "1",