A B C D E G L N O P R S T
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addManufacturerData(int, byte[]) - Method in class ej.bluetooth.util.AdvertisementData
-
Adds manufacturer data associated with the given manufacturer ID to this advertisement data.
- addServiceUuid(BluetoothUuid) - Method in class ej.bluetooth.util.AdvertisementData
-
Adds a service UUID.
- AdvertisementData - Class in ej.bluetooth.util
-
The
AdvertisementDataclass represents the content of a Bluetooth advertisement data payload. - AdvertisementData() - Constructor for class ej.bluetooth.util.AdvertisementData
-
Creates an advertisement data object with the default advertisement flags and no other content.
- AdvertisementFlags - Class in ej.bluetooth.util
-
The
AdvertisementFlagsclass enumerates the values for advertising data flags. - AttributeNotFoundException - Exception in ej.bluetooth.util
-
Signals that the desired Bluetooth attribute could not be found.
- AttributeNotFoundException() - Constructor for exception ej.bluetooth.util.AttributeNotFoundException
-
Constructs a
BluetoothAttributeNotFoundExceptionwith no detail message. - AttributeNotFoundException(String) - Constructor for exception ej.bluetooth.util.AttributeNotFoundException
-
Constructs a
BluetoothAttributeNotFoundExceptionwith the specified detail message. - AUTH - Static variable in class ej.bluetooth.util.SecurityLevels
-
Authentication required.
B
- BR_EDR_NOT_SUPPORTED - Static variable in class ej.bluetooth.util.AdvertisementFlags
-
BR/EDR Not Supported.
C
- CCC_UUID - Static variable in class ej.bluetooth.util.DescriptorHelper
-
UUID of the Client Characteristic Configuration descriptor.
- checkIndicationsEnabled(byte[]) - Static method in class ej.bluetooth.util.DescriptorHelper
-
Returns whether indications are enabled in the given CCC descriptor value.
- checkNotificationsEnabled(byte[]) - Static method in class ej.bluetooth.util.DescriptorHelper
-
Returns whether notifications are enabled in the given CCC descriptor value.
- createCccValue(boolean, boolean) - Static method in class ej.bluetooth.util.DescriptorHelper
-
Creates a CCC descriptor value specifying whether or not notifications and indications should be enabled.
- CUD_UUID - Static variable in class ej.bluetooth.util.DescriptorHelper
-
UUID of the Characteristic User Description descriptor.
- CURRENT_TIME_UUID - Static variable in class ej.bluetooth.util.services.cts.CurrentTimeConstants
-
The UUID of the current time characteristic.
- CurrentTimeClient - Class in ej.bluetooth.util.services.cts
-
The
CurrentTimeClientclass represents a current time client. - CurrentTimeClient(BluetoothConnection, BluetoothService) - Constructor for class ej.bluetooth.util.services.cts.CurrentTimeClient
-
Creates a current time client, using the current time service provided by a remote device and the connection to this device.
- CurrentTimeConstants - Class in ej.bluetooth.util.services.cts
-
Provides constants and static methods related to the standard current time service.
- CurrentTimeServer - Class in ej.bluetooth.util.services.cts
-
The
CurrentTimeServerclass represents a current time server. - CurrentTimeServer(BluetoothService) - Constructor for class ej.bluetooth.util.services.cts.CurrentTimeServer
-
Creates a current time server, using the current time service provided by this device.
D
- DescriptorHelper - Class in ej.bluetooth.util
-
Provides constants and utility methods related to GATT descriptors.
E
- ej.bluetooth.util - package ej.bluetooth.util
- ej.bluetooth.util.services.cts - package ej.bluetooth.util.services.cts
- ej.bluetooth.util.services.sps - package ej.bluetooth.util.services.sps
- ENCRYPT - Static variable in class ej.bluetooth.util.SecurityLevels
-
Encryption required.
G
- getAppearance() - Method in class ej.bluetooth.util.AdvertisementData
-
Gets the appearance contained in this advertisement data.
- getCharacteristic(BluetoothService, BluetoothUuid) - Static method in class ej.bluetooth.util.ServiceHelper
-
Returns the characteristic with the given UUID in the given service.
- getDescriptor(BluetoothCharacteristic, BluetoothUuid) - Static method in class ej.bluetooth.util.ServiceHelper
-
Returns the descriptor with the given UUID in the given characteristic.
- getDeviceName() - Method in class ej.bluetooth.util.AdvertisementData
-
Gets the device name contained in this advertisement data.
- getFlags() - Method in class ej.bluetooth.util.AdvertisementData
-
Gets the advertisement flags contained in this advertisement data.
- getManufacturerData(int) - Method in class ej.bluetooth.util.AdvertisementData
-
Gets the manufacturer data associated with the given manufacturer ID contained in this advertisement data.
- getNumServiceUuids() - Method in class ej.bluetooth.util.AdvertisementData
-
Gets the number of service UUIDs.
- getReadPermission(int) - Static method in class ej.bluetooth.util.ServiceHelper
-
Returns the read permission for the given security level.
- getServiceDefinition(int) - Static method in class ej.bluetooth.util.services.cts.CurrentTimeConstants
-
Gets the definition of the current time service.
- getServiceDefinition(int) - Static method in class ej.bluetooth.util.services.sps.SerialPortConstants
-
Gets the definition of the serial port service.
- getServiceUuid(int) - Method in class ej.bluetooth.util.AdvertisementData
-
Gets the service UUID at the given index.
- getWritePermission(int) - Static method in class ej.bluetooth.util.ServiceHelper
-
Returns the write permission for the given security level.
L
- LE_BR_EDR_CONTROLLER - Static variable in class ej.bluetooth.util.AdvertisementFlags
-
Simultaneous LE and BR/EDR to Same Device Capable (Controller).
- LE_BR_EDR_HOST - Static variable in class ej.bluetooth.util.AdvertisementFlags
-
Simultaneous LE and BR/EDR to Same Device Capable (Host).
- LE_GENERAL_DISC_MODE - Static variable in class ej.bluetooth.util.AdvertisementFlags
-
General Discoverable Mode.
- LE_LIMITED_DISC_MODE - Static variable in class ej.bluetooth.util.AdvertisementFlags
-
Limited Discoverable Mode.
- LOCAL_TIME_INFO_UUID - Static variable in class ej.bluetooth.util.services.cts.CurrentTimeConstants
-
The UUID of the local time info characteristic.
N
- NONE - Static variable in class ej.bluetooth.util.SecurityLevels
-
No encryption required.
O
- onCurrentTimeUpdate(long) - Method in class ej.bluetooth.util.services.cts.CurrentTimeClient
-
Called when the current time is received.
- onDataReceived(byte[]) - Method in class ej.bluetooth.util.services.sps.SerialPortClient
-
Called when data has been received from the server.
- onDataReceived(BluetoothConnection, byte[]) - Method in class ej.bluetooth.util.services.sps.SerialPortServer
-
Called when data has been received from a client.
- onDataSent(boolean) - Method in class ej.bluetooth.util.services.sps.SerialPortClient
-
Called when data has been sent to the server.
- onDataSent(BluetoothConnection, boolean) - Method in class ej.bluetooth.util.services.sps.SerialPortServer
-
Called when data has been sent to a client.
- onLocalTimeUpdate(long) - Method in class ej.bluetooth.util.services.cts.CurrentTimeClient
-
Called when the local time is received.
- onNotificationReceived(BluetoothConnection, BluetoothCharacteristic, byte[]) - Method in class ej.bluetooth.util.services.sps.SerialPortClient
- onNotificationSent(BluetoothConnection, BluetoothCharacteristic, boolean) - Method in class ej.bluetooth.util.services.sps.SerialPortServer
- onReadCompleted(BluetoothConnection, BluetoothAttribute, byte, byte[]) - Method in class ej.bluetooth.util.services.cts.CurrentTimeClient
- onReadRequest(BluetoothConnection, BluetoothAttribute) - Method in class ej.bluetooth.util.services.cts.CurrentTimeServer
- onReadRequest(BluetoothConnection, BluetoothAttribute) - Method in class ej.bluetooth.util.services.sps.SerialPortServer
- onWriteCompleted(BluetoothConnection, BluetoothAttribute, byte) - Method in class ej.bluetooth.util.services.sps.SerialPortClient
- onWriteRequest(BluetoothConnection, BluetoothAttribute, byte[]) - Method in class ej.bluetooth.util.services.sps.SerialPortServer
P
- parse(byte[]) - Static method in class ej.bluetooth.util.AdvertisementData
-
Parses the given advertisement data payload and returns an advertisement data object.
- printService(BluetoothService, PrintStream) - Static method in class ej.bluetooth.util.ServiceHelper
-
Prints information on the given service to the given print stream.
R
- requestTime() - Method in class ej.bluetooth.util.services.cts.CurrentTimeClient
-
Requests the current time and local time to the server.
- RX_UUID - Static variable in class ej.bluetooth.util.services.sps.SerialPortConstants
-
The UUID of the RX characteristic.
S
- SecurityLevels - Class in ej.bluetooth.util
-
The
SecurityLevelsclass enumerates the values for security levels of GATT attributes. - sendData(byte[]) - Method in class ej.bluetooth.util.services.sps.SerialPortClient
-
Sends the given data to the server.
- sendData(BluetoothConnection, byte[]) - Method in class ej.bluetooth.util.services.sps.SerialPortServer
-
Sends the given data to the given client.
- serialize() - Method in class ej.bluetooth.util.AdvertisementData
-
Serializes this advertisement data into a byte array.
- SerialPortClient - Class in ej.bluetooth.util.services.sps
-
The
SerialPortClientclass represents a serial port client. - SerialPortClient(BluetoothConnection, BluetoothService) - Constructor for class ej.bluetooth.util.services.sps.SerialPortClient
-
Creates a serial port client, using the serial port service provided by a remote device and the connection to this device.
- SerialPortConstants - Class in ej.bluetooth.util.services.sps
-
Provides constants and static methods related to the serial port service.
- SerialPortServer - Class in ej.bluetooth.util.services.sps
-
The
SerialPortServerclass represents a serial port server. - SerialPortServer(BluetoothService) - Constructor for class ej.bluetooth.util.services.sps.SerialPortServer
-
Creates a serial port server, using the serial port service provided by this device.
- SERVICE_UUID - Static variable in class ej.bluetooth.util.services.cts.CurrentTimeConstants
-
The UUID of the current time service.
- SERVICE_UUID - Static variable in class ej.bluetooth.util.services.sps.SerialPortConstants
-
The UUID of the serial port service.
- ServiceHelper - Class in ej.bluetooth.util
-
Provides utility methods related to GATT services.
- setAppearance(short) - Method in class ej.bluetooth.util.AdvertisementData
-
Sets the appearance of this advertisement data.
- setDeviceName(String) - Method in class ej.bluetooth.util.AdvertisementData
-
Sets the device name of this advertisement data.
- setFlags(int) - Method in class ej.bluetooth.util.AdvertisementData
-
Sets the advertisement flags of this advertisement data.
- start() - Method in class ej.bluetooth.util.services.cts.CurrentTimeClient
-
Starts this current time client.
- start() - Method in class ej.bluetooth.util.services.cts.CurrentTimeServer
-
Starts this current time server.
- start() - Method in class ej.bluetooth.util.services.sps.SerialPortClient
-
Starts this serial port client.
- start() - Method in class ej.bluetooth.util.services.sps.SerialPortServer
-
Starts this serial port server.
- stop() - Method in class ej.bluetooth.util.services.cts.CurrentTimeClient
-
Stops this current time client.
- stop() - Method in class ej.bluetooth.util.services.cts.CurrentTimeServer
-
Stops this current time server.
- stop() - Method in class ej.bluetooth.util.services.sps.SerialPortClient
-
Stops this serial port client.
- stop() - Method in class ej.bluetooth.util.services.sps.SerialPortServer
-
Stops this serial port server.
T
- TX_UUID - Static variable in class ej.bluetooth.util.services.sps.SerialPortConstants
-
The UUID of the TX characteristic.
All Classes All Packages