cycle speed and cadence service

Dependencies:   BLE_API mbed nRF51822

Fork of Bluetooth_Heart_Rate_Monitor_dummy by Icarus Sensors

Revision:
43:dbb025ed4a55
Parent:
42:06ebef2e0e44
Child:
45:98c5a34b07a4
--- a/main.cpp	Mon Sep 22 10:38:25 2014 +0000
+++ b/main.cpp	Tue Sep 23 15:04:58 2014 +0000
@@ -19,7 +19,6 @@
 #include "HeartRateService.h"
 #include "BatteryService.h"
 #include "DeviceInformationService.h"
-// #include "DFUService.h"
 
 BLEDevice  ble;
 DigitalOut led1(LED1);
@@ -34,7 +33,7 @@
 #define DEBUG(...) /* nothing */
 #endif /* #if NEED_CONSOLE_OUTPUT */
 
-const static char     DEVICE_NAME[]        = "Nordic_HRM";
+const static char     DEVICE_NAME[]        = "HRMonitor";
 static const uint16_t uuid16_list[]        = {GattService::UUID_HEART_RATE_SERVICE,
                                               GattService::UUID_BATTERY_SERVICE,
                                               GattService::UUID_DEVICE_INFORMATION_SERVICE};
@@ -77,10 +76,8 @@
 
     uint8_t hrmCounter = 100;
     HeartRateService hrService(ble, hrmCounter, HeartRateService::LOCATION_FINGER);
-
     BatteryService battery(ble);
-    DeviceInformationService deviceInfo(ble, "ARM");
-    // DFUService dfu(ble);
+    DeviceInformationService deviceInfo(ble, "ARM", "Model1", "SN1", "hw-rev1", "fw-rev1", "soft-rev1");
 
     while (true) {
         if (triggerSensorPolling) {