com.intel.bluetooth
Interface BlueCoveConfigProperties


public interface BlueCoveConfigProperties

BlueCove runtime configuration properties. Can be configured as system properties. If System property is not an option (e.g. when running in Web Start) create text file with property name e.g. "bluecove.stack.first" write the value and add this file to BlueCove or Application jar

See Also:
BlueCoveImpl.setConfigProperty(String, String)

Field Summary
static String[] INITIALIZATION_PROPERTIES
          Some properties can't be changed at runtime once the Stack was initialized.
static String PROPERTY_CONNECT_TIMEOUT
          The amount of time in milliseconds for which the implementation will attempt to establish connection RFCOMM or L2CAP before it throws BluetoothConnectionException.
static String PROPERTY_CONNECT_UNREACHABLE_RETRY
          On MS stack retry connection automatically when received WSAENETUNREACH during connect.
static String PROPERTY_DEBUG
          Will enable debug prints prints in BlueCove code.
static String PROPERTY_DEBUG_LOG4J
          BlueCove log is redirected to log4j when log4j classes are available in classpath.
static String PROPERTY_DEBUG_STDOUT
          BlueCove log when enabled is printed to System.out.
static String PROPERTY_EMULATOR_HOST
          JSR-82 air simulator server can be on remote computer, default 'localhost'.
static String PROPERTY_EMULATOR_PORT
          JSR-82 air simulator server listen on different port, default 8090.
static String PROPERTY_EMULATOR_RMI_REGISTRY
          JSR-82 air simulator server and RMI registry can be started inside client JVM, default 'false'.
static String PROPERTY_INQUIRY_DURATION
          Device Inquiry time in seconds defaults to 11 seconds.
static int PROPERTY_INQUIRY_DURATION_DEFAULT
           
static String PROPERTY_INQUIRY_REPORT_ASAP
          Set true to make Device Inquiry call DiscoveryListener?.deviceDiscovered without waiting for updated service class.
static String PROPERTY_JSR_82_PSM_MINIMUM_OFF
          Remove JSR-82 1.1 restriction for legal PSM values are in the range (0x1001..0xFFFF).
static String PROPERTY_LOCAL_DEVICE_ADDRESS
          If Stack support multiple bluetooth adapters select one by its bluetooth address.
static String PROPERTY_LOCAL_DEVICE_ID
          If Stack support multiple bluetooth adapters select one by its system ID.
static String PROPERTY_NATIVE_PATH
          Load library (.dll) from specified location.
static String PROPERTY_NATIVE_RESOURCE
          "false" to disable the load of native library from resources.
static String PROPERTY_OBEX_MTU
          You can increase OBEX transfer speed by changing mtu to bigger value.
static String PROPERTY_OBEX_TIMEOUT
          The amount of time in milliseconds for which the implementation will attempt to successfully transmit a packet before it throws InterruptedIOException.
static String PROPERTY_STACK
          If automatic Bluetooth Stack detection is not enough this can be used to force desired Stack Initialization.
static String PROPERTY_STACK_FIRST
          Used to optimize stack detection.
 

Field Detail

PROPERTY_DEBUG

static final String PROPERTY_DEBUG
Will enable debug prints prints in BlueCove code. BlueCove log is redirected to log4j when log4j classes are available in classpath. Then BlueCove debug can be enabled using log4j configuration. Initialization property.

See Also:
Constant Field Values

PROPERTY_DEBUG_STDOUT

static final String PROPERTY_DEBUG_STDOUT
BlueCove log when enabled is printed to System.out. You can disable this feature. Initialization property.

See Also:
Constant Field Values

PROPERTY_DEBUG_LOG4J

static final String PROPERTY_DEBUG_LOG4J
BlueCove log is redirected to log4j when log4j classes are available in classpath. You can disable this feature. Initialization property.

See Also:
Constant Field Values

PROPERTY_STACK

static final String PROPERTY_STACK
If automatic Bluetooth Stack detection is not enough this can be used to force desired Stack Initialization. Values "widcomm", "bluesoleil" or "winsock". Use "emulator" value to start jsr-82 emulator. By default winsock is selected if available. Initialization property.

See Also:
Constant Field Values

PROPERTY_STACK_FIRST

static final String PROPERTY_STACK_FIRST
Used to optimize stack detection. If -Dbluecove.stack.first=widcomm then widcomm (bluecove.dll) stack is loaded first and if not available then BlueCove will switch to winsock. By default intelbth.dll is loaded first. Initialization property.

See Also:
Constant Field Values

PROPERTY_NATIVE_RESOURCE

static final String PROPERTY_NATIVE_RESOURCE
"false" to disable the load of native library from resources. Initialization property.

See Also:
Constant Field Values

PROPERTY_NATIVE_PATH

static final String PROPERTY_NATIVE_PATH
Load library (.dll) from specified location. Initialization property.

See Also:
Constant Field Values

PROPERTY_LOCAL_DEVICE_ID

static final String PROPERTY_LOCAL_DEVICE_ID
If Stack support multiple bluetooth adapters select one by its system ID. (Linux BlueZ and Emulator) Initialization property.

See Also:
Constant Field Values

PROPERTY_LOCAL_DEVICE_ADDRESS

static final String PROPERTY_LOCAL_DEVICE_ADDRESS
If Stack support multiple bluetooth adapters select one by its bluetooth address. (Linux BlueZ and Emulator) Initialization property.

See Also:
Constant Field Values

PROPERTY_EMULATOR_HOST

static final String PROPERTY_EMULATOR_HOST
JSR-82 air simulator server can be on remote computer, default 'localhost'. Initialization property.

See Also:
Constant Field Values

PROPERTY_EMULATOR_PORT

static final String PROPERTY_EMULATOR_PORT
JSR-82 air simulator server listen on different port, default 8090.

Use 0 on the client to enable in process server, RMI will not be used. Initialization property.

See Also:
Constant Field Values

PROPERTY_EMULATOR_RMI_REGISTRY

static final String PROPERTY_EMULATOR_RMI_REGISTRY
JSR-82 air simulator server and RMI registry can be started inside client JVM, default 'false'. Initialization property.

See Also:
Constant Field Values

INITIALIZATION_PROPERTIES

static final String[] INITIALIZATION_PROPERTIES
Some properties can't be changed at runtime once the Stack was initialized.


PROPERTY_CONNECT_TIMEOUT

static final String PROPERTY_CONNECT_TIMEOUT
The amount of time in milliseconds for which the implementation will attempt to establish connection RFCOMM or L2CAP before it throws BluetoothConnectionException. Defaults to 2 minutes. WIDCOMM and OS X only.

See Also:
Constant Field Values

PROPERTY_CONNECT_UNREACHABLE_RETRY

static final String PROPERTY_CONNECT_UNREACHABLE_RETRY
On MS stack retry connection automatically when received WSAENETUNREACH during connect. Default to 2 retry attempts.

Since:
bluecove 2.1.0
See Also:
Constant Field Values

PROPERTY_INQUIRY_DURATION

static final String PROPERTY_INQUIRY_DURATION
Device Inquiry time in seconds defaults to 11 seconds. MS Stack and OS X only.

See Also:
Constant Field Values

PROPERTY_INQUIRY_DURATION_DEFAULT

static final int PROPERTY_INQUIRY_DURATION_DEFAULT
See Also:
Constant Field Values

PROPERTY_INQUIRY_REPORT_ASAP

static final String PROPERTY_INQUIRY_REPORT_ASAP
Set true to make Device Inquiry call DiscoveryListener?.deviceDiscovered without waiting for updated service class. WIDCOMM only.

See Also:
Constant Field Values

PROPERTY_OBEX_MTU

static final String PROPERTY_OBEX_MTU
You can increase OBEX transfer speed by changing mtu to bigger value. Default is 1024

See Also:
Constant Field Values

PROPERTY_OBEX_TIMEOUT

static final String PROPERTY_OBEX_TIMEOUT
The amount of time in milliseconds for which the implementation will attempt to successfully transmit a packet before it throws InterruptedIOException. Defaults to 2 minutes.

See Also:
Constant Field Values

PROPERTY_JSR_82_PSM_MINIMUM_OFF

static final String PROPERTY_JSR_82_PSM_MINIMUM_OFF
Remove JSR-82 1.1 restriction for legal PSM values are in the range (0x1001..0xFFFF). For JSR-82 1.2 Reserved Ranges @see JSR-82 1.2

See Also:
Constant Field Values


JSR-82 Javadocs Apache License, Version 2.0 Copyright © 2001-2008 Motorola, Inc. ALL RIGHTS RESERVED.
BlueCove Javadocs
Apache License, Version 2.0 Copyright © 2004-2008 BlueCove Team.