diff options
author | DoHyun Pyun <dh79.pyun@samsung.com> | 2016-09-01 12:50:58 +0900 |
---|---|---|
committer | Pyun DoHyun <dh79.pyun@samsung.com> | 2016-09-05 21:29:48 -0700 |
commit | 3002cdc88b27468ae8a7128e0e5e9c78d8fdaeee (patch) | |
tree | 4dd2ce81a9850c00d53d7c5af6aa7d05b75c3f17 /include | |
parent | 9920dae6152cd1d67263c329d505dcd3777958a4 (diff) | |
download | bluetooth-3002cdc88b27468ae8a7128e0e5e9c78d8fdaeee.tar.gz bluetooth-3002cdc88b27468ae8a7128e0e5e9c78d8fdaeee.tar.bz2 bluetooth-3002cdc88b27468ae8a7128e0e5e9c78d8fdaeee.zip |
Modify the enum definitions for gatt permission
Change-Id: I6d800ebbdffea8daecfbe33971d4e7825540959d
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/mobile/bluetooth_type.h | 8 | ||||
-rw-r--r-- | include/tv/bluetooth_type.h | 12 | ||||
-rw-r--r-- | include/wearable/bluetooth_type.h | 12 |
3 files changed, 16 insertions, 16 deletions
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; /** |