Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
|
SMP IO Capability value. More...
Public Member Functions | |
SMPIOCapability (final byte v) | |
Static Public Member Functions | |
static SMPIOCapability | get (final byte value) |
Maps the specified integer value to a constant of SMPIOCapability . More... | |
static SMPIOCapability | get (final String name) throws IllegalArgumentException |
Maps the specified name to a constant of SMPIOCapability. More... | |
Public Attributes | |
DISPLAY_ONLY =((byte)0) | |
Display output only, value 0. More... | |
DISPLAY_YES_NO =((byte)1) | |
Display output and boolean confirmation input keys only, value 1. More... | |
KEYBOARD_DISPLAY =((byte)4) | |
Display output and keyboard input, value 4. More... | |
KEYBOARD_ONLY =((byte)2) | |
Keyboard input only, value 2. More... | |
NO_INPUT_NO_OUTPUT =((byte)3) | |
No input not output, value 3. More... | |
UNSET =((byte)0xff) | |
Denoting unset value, i.e. More... | |
final byte | value |
SMP IO Capability value.
Vol 3, Part H, 2.3.2 IO capabilities
See get(byte)
for its native integer mapping.
Definition at line 37 of file SMPIOCapability.java.
org.direct_bt.SMPIOCapability.SMPIOCapability | ( | final byte | v | ) |
Definition at line 84 of file SMPIOCapability.java.
|
static |
Maps the specified name to a constant of SMPIOCapability.
Implementation simply returns valueOf(String)
. This maps the constant names itself to their respective constant.
name | the string name to be mapped to a constant of this enum type. |
IllegalArgumentException | if the specified name can't be mapped to a constant of this enum type as described above. |
Definition at line 64 of file SMPIOCapability.java.
|
static |
Maps the specified integer value to a constant of SMPIOCapability
.
value | the integer value to be mapped to a constant of this enum type. |
UNSET
if not supported. Definition at line 73 of file SMPIOCapability.java.
org.direct_bt.SMPIOCapability.DISPLAY_ONLY =((byte)0) |
Display output only, value 0.
Definition at line 39 of file SMPIOCapability.java.
org.direct_bt.SMPIOCapability.DISPLAY_YES_NO =((byte)1) |
Display output and boolean confirmation input keys only, value 1.
Definition at line 41 of file SMPIOCapability.java.
org.direct_bt.SMPIOCapability.KEYBOARD_ONLY =((byte)2) |
Keyboard input only, value 2.
Definition at line 43 of file SMPIOCapability.java.
org.direct_bt.SMPIOCapability.NO_INPUT_NO_OUTPUT =((byte)3) |
No input not output, value 3.
Definition at line 45 of file SMPIOCapability.java.
org.direct_bt.SMPIOCapability.KEYBOARD_DISPLAY =((byte)4) |
Display output and keyboard input, value 4.
Definition at line 47 of file SMPIOCapability.java.
org.direct_bt.SMPIOCapability.UNSET =((byte)0xff) |
final byte org.direct_bt.SMPIOCapability.value |
Definition at line 51 of file SMPIOCapability.java.