giovynet.bt
Enum Parameter

java.lang.Object
  extended by java.lang.Enum<Parameter>
      extended by giovynet.bt.Parameter
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Parameter>

public enum Parameter
extends java.lang.Enum<Parameter>

GiovynetBT parameters.


Enum Constant Summary
ADDRES_LOCAL
          Returns the local device bluetooth addres.
ADDRES_REMOTE
          Returns the remote device bluetooth adress.
CONNECTABLE
          Returns the connectable mode setting, on or off.
ECBONDING
          Returns the EasyConnect bonding setting, initiator or responder.
ECCONNECTION
          Returns the EasyConnect connection setting, auto, initiator or responder.
ENCRYPTION
          Returns the encryption mode setting, on or off.
FLOW
          Returns the flow control setting, none or hardware.
LINK_TIMEOUT
          Returns the link timeout setting.
NAME_LOCAL
          Returns the local device name.
NAME_REMOTE
          Returns the remote device name.
PARITY
          Returns the parity setting, odd, even or not.
SECURITY
          Returns the security setting, on or off.
SLEEP
          Returns the sleep setting, on, off or idle.
SNIFF
          Returns the sniff setting, on or off.
STATUS
          Returns the connection status, true or false.
TRUSTED_LIST
          Returns the trusted list status, on or off.
TXPOWER
          Returns the transmit power setting (1-10).
VISIBLE
          Returns the visible mode setting, on or off.
 
Method Summary
 java.lang.String getValue()
          Gets the value of the parameter.
static Parameter valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Parameter[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ADDRES_LOCAL

public static final Parameter ADDRES_LOCAL
Returns the local device bluetooth addres.


ADDRES_REMOTE

public static final Parameter ADDRES_REMOTE
Returns the remote device bluetooth adress.


CONNECTABLE

public static final Parameter CONNECTABLE
Returns the connectable mode setting, on or off.


ECBONDING

public static final Parameter ECBONDING
Returns the EasyConnect bonding setting, initiator or responder.


ECCONNECTION

public static final Parameter ECCONNECTION
Returns the EasyConnect connection setting, auto, initiator or responder.


ENCRYPTION

public static final Parameter ENCRYPTION
Returns the encryption mode setting, on or off.


FLOW

public static final Parameter FLOW
Returns the flow control setting, none or hardware.


LINK_TIMEOUT

public static final Parameter LINK_TIMEOUT
Returns the link timeout setting.


NAME_LOCAL

public static final Parameter NAME_LOCAL
Returns the local device name.


NAME_REMOTE

public static final Parameter NAME_REMOTE
Returns the remote device name.


PARITY

public static final Parameter PARITY
Returns the parity setting, odd, even or not.


SECURITY

public static final Parameter SECURITY
Returns the security setting, on or off.


SLEEP

public static final Parameter SLEEP
Returns the sleep setting, on, off or idle.


SNIFF

public static final Parameter SNIFF
Returns the sniff setting, on or off.


STATUS

public static final Parameter STATUS
Returns the connection status, true or false.


TRUSTED_LIST

public static final Parameter TRUSTED_LIST
Returns the trusted list status, on or off.


TXPOWER

public static final Parameter TXPOWER
Returns the transmit power setting (1-10).


VISIBLE

public static final Parameter VISIBLE
Returns the visible mode setting, on or off.

Method Detail

values

public static Parameter[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Parameter c : Parameter.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Parameter valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getValue

public java.lang.String getValue()
Gets the value of the parameter.

Returns:
String