Run on TY51822r3 board with ACC sensor (LIS3DH or BMC050)

Dependencies:   BLE_API LIS3DH mbed nRF51822 BMC050 nRF51_LowPwr nRF51_Vdd

Fork of BLE_EddystoneBeacon_Service by Bluetooth Low Energy

Revision:
33:862e6e0831ea
Parent:
32:41840b78597e
Child:
34:f6d4a699a1ea
--- a/main.cpp	Thu Oct 01 16:28:22 2015 +0000
+++ b/main.cpp	Thu Oct 01 18:30:37 2015 +0000
@@ -51,7 +51,8 @@
 int main(void)
 {
     printf("Starting Example\r\n"); // To enable low power mode disable all printf's
-
+    ble.init();
+    
     // Set Eddystone Frame Data (TLM,UID,URI...etc)
     eddyBeacon.setTLMFrameData(tlmVersion,5.0);
     eddyBeacon.setURLFrameData(advTxPower, Url, 2.0);
@@ -63,6 +64,7 @@
 
     // Start Advertising the eddystone service. 
     eddyBeacon.start(); 
+    ble.gap().startAdvertising();
     
     printf("Running...\r\n");
     while (true) {