public interface BluetoothPermissions
BluetoothPermissions
interface enumerates the values for attribute permissions.
A read flag and a write flag may be combined to create a set of permissions.
Attribute permissions are checked when a client wants to access an attribute. The permissions are only used by the server and they are not sent to the client.
Refer to «Core Vol 3, Part F, 3.2.5 Attribute Permissions».
Modifier and Type | Field and Description |
---|---|
static int |
NONE
No access.
|
static int |
READ
Read access, no encryption required.
|
static int |
READ_AUTH
Read access, authentication required.
|
static int |
READ_ENCRYPT
Read access, encryption required.
|
static int |
RW
Read and write access, no encryption required.
|
static int |
RW_AUTH
Read and write access, authentication required.
|
static int |
RW_ENCRYPT
Read and write access, encryption required.
|
static int |
WRITE
Write access, no encryption required.
|
static int |
WRITE_AUTH
Write access, authentication required.
|
static int |
WRITE_ENCRYPT
Write access, encryption required.
|
static final int NONE
static final int READ
static final int READ_ENCRYPT
static final int READ_AUTH
static final int WRITE
static final int WRITE_ENCRYPT
static final int WRITE_AUTH
static final int RW
static final int RW_ENCRYPT
static final int RW_AUTH