Modify the enum definitions for gatt permission 97/86397/5
authorDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 1 Sep 2016 03:50:58 +0000 (12:50 +0900)
committerPyun DoHyun <dh79.pyun@samsung.com>
Tue, 6 Sep 2016 04:29:48 +0000 (21:29 -0700)
Change-Id: I6d800ebbdffea8daecfbe33971d4e7825540959d
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
include/mobile/bluetooth_type.h
include/tv/bluetooth_type.h
include/wearable/bluetooth_type.h

index 68c21f3..e783de5 100644 (file)
@@ -704,10 +704,10 @@ typedef enum {
 typedef enum {
        BT_GATT_PERMISSION_READ = 0x01,  /**< Read permission */
        BT_GATT_PERMISSION_WRITE = 0x02,  /**< Write permission */
-       BT_GATT_PERMISSION_ENCRYPTION = 0x04,  /**< Encryption permission */
-       BT_GATT_PERMISSION_AUTHENTICATION = 0x08,  /**< Authentication permission */
-       BT_GATT_PERMISSION_AUTHORIZATION = 0x10,  /**< Authorization permission */
-       BT_GATT_PERMISSION_NONE = 0x20,  /**< None */
+       BT_GATT_PERMISSION_ENCRYPT_READ = 0x04,  /**< Readable permission required encryption */
+       BT_GATT_PERMISSION_ENCRYPT_WRITE = 0x08,  /**< Writable permission required encryption */
+       BT_GATT_PERMISSION_ENCRYPT_AUTHENTICATED_READ = 0x10,    /**< Readable permission required encryption and authentication */
+       BT_GATT_PERMISSION_ENCRYPT_AUTHENTICATED_WRITE = 0x20,  /**< Writable permission required encryption and authentication */
 } bt_gatt_permission_e;
 
 /**
index 68c21f3..e6aedcd 100644 (file)
@@ -702,12 +702,12 @@ typedef enum {
  * @since_tizen 3.0
  */
 typedef enum {
-       BT_GATT_PERMISSION_READ = 0x01,  /**< Read permission */
-       BT_GATT_PERMISSION_WRITE = 0x02,  /**< Write permission */
-       BT_GATT_PERMISSION_ENCRYPTION = 0x04,  /**< Encryption permission */
-       BT_GATT_PERMISSION_AUTHENTICATION = 0x08,  /**< Authentication permission */
-       BT_GATT_PERMISSION_AUTHORIZATION = 0x10,  /**< Authorization permission */
-       BT_GATT_PERMISSION_NONE = 0x20,  /**< None */
+       BT_GATT_PERMISSION_READ = 0x01,   /**< Readable permission */
+       BT_GATT_PERMISSION_WRITE = 0x02, /**< Writeable permission */
+       BT_GATT_PERMISSION_ENCRYPT_READ = 0x04,  /**< Readable permission required encryption */
+       BT_GATT_PERMISSION_ENCRYPT_WRITE = 0x08,  /**< Writable permission required encryption */
+       BT_GATT_PERMISSION_ENCRYPT_AUTHENTICATED_READ = 0x10,    /**< Readable permission required encryption and authentication */
+       BT_GATT_PERMISSION_ENCRYPT_AUTHENTICATED_WRITE = 0x20,  /**< Writable permission required encryption and authentication */
 } bt_gatt_permission_e;
 
 /**
index ca2a5f6..cc950c9 100644 (file)
@@ -701,12 +701,12 @@ typedef enum {
  * @since_tizen 3.0
  */
 typedef enum {
-       BT_GATT_PERMISSION_READ = 0x01,  /**< Read permission*/
-       BT_GATT_PERMISSION_WRITE = 0x02,  /**< Write permission */
-       BT_GATT_PERMISSION_ENCRYPTION = 0x04,  /**< Encryption permission */
-       BT_GATT_PERMISSION_AUTHENTICATION = 0x08,  /**< Authentication permission */
-       BT_GATT_PERMISSION_AUTHORIZATION = 0x10,  /**< Authorization permission */
-       BT_GATT_PERMISSION_NONE = 0x20,  /**< None */
+       BT_GATT_PERMISSION_READ = 0x01,   /**< Readable permission */
+       BT_GATT_PERMISSION_WRITE = 0x02, /**< Writeable permission */
+       BT_GATT_PERMISSION_ENCRYPT_READ = 0x04,  /**< Readable permission required encryption */
+       BT_GATT_PERMISSION_ENCRYPT_WRITE = 0x08,  /**< Writable permission required encryption */
+       BT_GATT_PERMISSION_ENCRYPT_AUTHENTICATED_READ = 0x10,    /**< Readable permission required encryption and authentication */
+       BT_GATT_PERMISSION_ENCRYPT_AUTHENTICATED_WRITE = 0x20,  /**< Writable permission required encryption and authentication */
 } bt_gatt_permission_e;
 
 /**