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 68c21f38d69461b0b44cf4c771afdbdbc26d26e3..e783de5154054a83177e0c52cf38978dec387c21 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 68c21f38d69461b0b44cf4c771afdbdbc26d26e3..e6aedcd8d696c5e3e56c7bcafb66f391e84583bc 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 ca2a5f6df76990babab9fad24567662ebc56d895..cc950c93feae50497d6399752b9e60c6b880d5cc 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;
 
 /**