Changed BLE UUID defined in Tizen according to OIC Spec
authorvimala.v <vimala.v@samsung.com>
Wed, 1 Jul 2015 12:19:20 +0000 (17:49 +0530)
committerErich Keane <erich.keane@intel.com>
Thu, 2 Jul 2015 16:20:53 +0000 (16:20 +0000)
Change-Id: I92dd97c6176484c621f37d6d946aee683c3da35d
Signed-off-by: vimala.v <vimala.v@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1475
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Abhishek Sharma <ce.abhishek@samsung.com>
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Reviewed-by: Erich Keane <erich.keane@intel.com>
resource/csdk/connectivity/src/bt_le_adapter/tizen/cableserver.c
resource/csdk/connectivity/src/bt_le_adapter/tizen/cableutil.h

index 3d3cd61..d800fc5 100644 (file)
 #define TZ_BLE_SERVER_TAG "TZ_BLE_GATT_SERVER"
 
 /**
- * @def CA_BLE_SERVICE_UUID
- * @brief UUID of OIC service. This UUID is common across all platform for LE transport.
- */
-#define CA_BLE_SERVICE_UUID  "713D0000-503E-4C75-BA94-3148F18D941E"
-
-/**
  * @def CA_BLE_INITIAL_BUF_SIZE
  * @brief Initial buffer size for Gatt Server.
  */
@@ -213,7 +207,7 @@ void CAStartBleGattServerThread(void *data)
 
     sleep(5); // Sleep is must because of the platform issue.
 
-    char *serviceUUID = CA_BLE_SERVICE_UUID;
+    char *serviceUUID = OIC_BLE_SERVICE_ID;
 
     ret  = CAAddNewBleServiceInGattServer(serviceUUID);
     if (CA_STATUS_OK != ret )
index b390f78..cfa63b1 100644 (file)
@@ -91,20 +91,20 @@ typedef struct gattCharDescriptor
     int total;                          /**< The total number of descriptor in a characteristic */
 } stGattCharDescriptor_t;
 
-#define OIC_BLE_SERVICE_ID "713D0000-503E-4C75-BA94-3148F18D941E"
+#define OIC_BLE_SERVICE_ID "ADE3D529-C784-4F63-A987-EB69F70EE816"
 ///TODO: OIC_BLE_SERVICE_ID  will be generated by invoking API in future.
 
 /**
  * @def CA_BLE_READ_CHAR_UUID
  * @brief UUID of read characteristic. This UUID is common across all platform for LE transport.
  */
-#define CA_BLE_READ_CHAR_UUID "713D0002-503E-4C75-BA94-3148F18D941E"
+#define CA_BLE_READ_CHAR_UUID "E9241982-4580-42C4-8831-95048216B256"
 
 /**
  * @def CA_BLE_WRITE_CHAR_UUID
  * @brief UUID of write characteristic. This UUID is common across all platform for LE transport.
  */
-#define CA_BLE_WRITE_CHAR_UUID "713D0003-503E-4C75-BA94-3148F18D941E"
+#define CA_BLE_WRITE_CHAR_UUID "AD7B334F-4637-4B86-90B6-9D787F03D218"
 
 /**
  * @brief  Used to increment the registered service count.