From: DoHyun Pyun Date: Thu, 1 Sep 2016 03:50:58 +0000 (+0900) Subject: Modify the enum definitions for gatt permission X-Git-Tag: accepted/tizen/common/20160907.154456~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3002cdc88b27468ae8a7128e0e5e9c78d8fdaeee;p=platform%2Fcore%2Fapi%2Fbluetooth.git Modify the enum definitions for gatt permission Change-Id: I6d800ebbdffea8daecfbe33971d4e7825540959d Signed-off-by: DoHyun Pyun --- diff --git a/include/mobile/bluetooth_type.h b/include/mobile/bluetooth_type.h index 68c21f3..e783de5 100644 --- a/include/mobile/bluetooth_type.h +++ b/include/mobile/bluetooth_type.h @@ -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; /** diff --git a/include/tv/bluetooth_type.h b/include/tv/bluetooth_type.h index 68c21f3..e6aedcd 100644 --- a/include/tv/bluetooth_type.h +++ b/include/tv/bluetooth_type.h @@ -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; /** diff --git a/include/wearable/bluetooth_type.h b/include/wearable/bluetooth_type.h index ca2a5f6..cc950c9 100644 --- a/include/wearable/bluetooth_type.h +++ b/include/wearable/bluetooth_type.h @@ -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; /**