This library includes use cases which can be used for replicating BLE use caes.

Revision:
2:c6894656d2f1
Parent:
1:857e59bbf707
--- a/MultipleServices.cpp	Thu Sep 25 08:18:37 2014 +0000
+++ b/MultipleServices.cpp	Thu Sep 25 11:55:16 2014 +0000
@@ -47,16 +47,16 @@
 static uint8_t bloodPressure[2] = {bpValue, 0x00};
 static uint8_t bpDevFeature[2] = {0x00, bpValue};
 
-GattCharacteristic bpMeasurment(GattCharacteristic::UUID_BLOOD_PRESSURE_MEASUREMENT_CHAR, bloodPressure, sizeof(bloodPressure), sizeof(bloodPressure), 
+GattCharacteristic bpMeasurment(GattCharacteristic::UUID_GLUCOSE_MEASUREMENT_CHAR, bloodPressure, sizeof(bloodPressure), sizeof(bloodPressure), 
                             GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_NOTIFY|GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_READ);
 
-GattCharacteristic bpFeature(GattCharacteristic::UUID_BLOOD_PRESSURE_FEATURE_CHAR, bpDevFeature, sizeof(bpDevFeature), sizeof(bpDevFeature), 
+GattCharacteristic bpFeature(GattCharacteristic::UUID_GLUCOSE_FEATURE_CHAR, bpDevFeature, sizeof(bpDevFeature), sizeof(bpDevFeature), 
                             GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_WRITE_WITHOUT_RESPONSE|
                             GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_WRITE);                            
                             
 
 GattCharacteristic *bpChars[] = {&bpMeasurment, &bpFeature};
-UUID BP_SERVICE(GattService::UUID_BLOOD_PRESSURE_SERVICE);
+UUID BP_SERVICE(GattService::UUID_GLUCOSE_SERVICE);
 GattService bpService(BP_SERVICE, bpChars, sizeof(bpChars) / sizeof(GattCharacteristic *));
 
 
@@ -78,7 +78,7 @@
 GattService batteryService(BATTERY_SERVICE, batteryChars, sizeof(batteryChars) / sizeof(GattCharacteristic *));
 
 
-static const uint16_t uuid16_list[] = {GattService::UUID_HEART_RATE_SERVICE, GattService::UUID_BLOOD_PRESSURE_SERVICE, GattService::UUID_BATTERY_SERVICE};
+static const uint16_t uuid16_list[] = {GattService::UUID_HEART_RATE_SERVICE, GattService::UUID_GLUCOSE_SERVICE, GattService::UUID_BATTERY_SERVICE};
 
     
 void disconnectionCallback(Gap::Handle_t handle)