Package ej.bluetooth
Class BluetoothPermissions
- java.lang.Object
-
- ej.bluetooth.BluetoothPermissions
-
public class BluetoothPermissions extends Object
TheBluetoothPermissionsclass 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 Specification Vol 3, Part F, 3.2.5 Attribute Permissions".
-
-
Field Summary
Fields Modifier and Type Field Description static byteNONENo access.static byteREADRead access, no encryption required.static byteREAD_AUTHRead access, authentication required.static byteREAD_ENCRYPTRead access, encryption required.static byteRWRead and write access, no encryption required.static byteRW_AUTHRead and write access, authentication required.static byteRW_ENCRYPTRead and write access, encryption required.static byteWRITEWrite access, no encryption required.static byteWRITE_AUTHWrite access, authentication required.static byteWRITE_ENCRYPTWrite access, encryption required.
-
Constructor Summary
Constructors Constructor Description BluetoothPermissions()
-
-
-
Field Detail
-
NONE
public static final byte NONE
No access.- See Also:
- Constant Field Values
-
READ
public static final byte READ
Read access, no encryption required.- See Also:
- Constant Field Values
-
READ_ENCRYPT
public static final byte READ_ENCRYPT
Read access, encryption required.- See Also:
- Constant Field Values
-
READ_AUTH
public static final byte READ_AUTH
Read access, authentication required.- See Also:
- Constant Field Values
-
WRITE
public static final byte WRITE
Write access, no encryption required.- See Also:
- Constant Field Values
-
WRITE_ENCRYPT
public static final byte WRITE_ENCRYPT
Write access, encryption required.- See Also:
- Constant Field Values
-
WRITE_AUTH
public static final byte WRITE_AUTH
Write access, authentication required.- See Also:
- Constant Field Values
-
RW
public static final byte RW
Read and write access, no encryption required.- See Also:
- Constant Field Values
-
RW_ENCRYPT
public static final byte RW_ENCRYPT
Read and write access, encryption required.- See Also:
- Constant Field Values
-
RW_AUTH
public static final byte RW_AUTH
Read and write access, authentication required.- See Also:
- Constant Field Values
-
-