Bluetooth Low Energy enabled device with "Analog" feature, compatible with BlueST Protocol.

Dependencies:   X_NUCLEO_LED61A1

Bluetooth Low Energy enabled device with "Analog" feature, compatible with BlueST Protocol.

Revision:
1:71b8b1f19322
Parent:
0:43dcd7811b58
diff -r 43dcd7811b58 -r 71b8b1f19322 source/CustomService.h
--- a/source/CustomService.h	Thu May 10 12:52:16 2018 +0000
+++ b/source/CustomService.h	Mon Aug 06 10:00:29 2018 +0000
@@ -47,7 +47,7 @@
 #define COMMAND_DATA_LENGTH (sizeof(uint8_t))
 #define MAX_DATA_LENGTH     (COMMAND_DATA_LENGTH)
 
-const UUID::LongUUIDBytes_t CUSTOM_LED_SERVICE_UUID        = {0x00,0x00,0x00,0x00,0x00,0x01,0x11,0xe1,0xac,0x36,0x00,0x02,0xa5,0xd5,0xc5,0x1b};
+const UUID::LongUUIDBytes_t CUSTOM_SERVICE_UUID            = {0x00,0x00,0x00,0x00,0x00,0x01,0x11,0xe1,0x9a,0xb4,0x00,0x02,0xa5,0xd5,0xc5,0x1b};
 const UUID::LongUUIDBytes_t CUSTOM_LED_CHARACTERISTIC_UUID = {0x80,0x00,0x00,0x00,0x00,0x01,0x11,0xe1,0xac,0x36,0x00,0x02,0xa5,0xd5,0xc5,0x1b};
 
 class CustomService {
@@ -66,7 +66,7 @@
             GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_WRITE)
     {
         GattCharacteristic *char_table[] = {&command};
-        GattService led_service(CUSTOM_LED_SERVICE_UUID, char_table, sizeof(char_table) / sizeof(GattCharacteristic *));
+        GattService led_service(CUSTOM_SERVICE_UUID, char_table, sizeof(char_table) / sizeof(GattCharacteristic *));
         ble.addService(led_service);
         memset (packed_command, 0, MAX_DATA_LENGTH);
     }