Methods Summary |
---|
public void | onCharacteristicChanged(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic)Callback triggered as a result of a remote characteristic notification.
|
public void | onCharacteristicRead(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, int status)Callback reporting the result of a characteristic read operation.
|
public void | onCharacteristicWrite(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, int status)Callback indicating the result of a characteristic write operation.
If this callback is invoked while a reliable write transaction is
in progress, the value of the characteristic represents the value
reported by the remote device. An application should compare this
value to the desired value to be written. If the values don't match,
the application must abort the reliable write transaction.
|
public void | onConnectionStateChange(BluetoothGatt gatt, int status, int newState)Callback indicating when GATT client has connected/disconnected to/from a remote
GATT server.
|
public void | onDescriptorRead(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, int status)Callback reporting the result of a descriptor read operation.
|
public void | onDescriptorWrite(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, int status)Callback indicating the result of a descriptor write operation.
|
public void | onMtuChanged(BluetoothGatt gatt, int mtu, int status)Callback indicating the MTU for a given device connection has changed.
This callback is triggered in response to the
{@link BluetoothGatt#requestMtu} function, or in response to a connection
event.
|
public void | onReadRemoteRssi(BluetoothGatt gatt, int rssi, int status)Callback reporting the RSSI for a remote device connection.
This callback is triggered in response to the
{@link BluetoothGatt#readRemoteRssi} function.
|
public void | onReliableWriteCompleted(BluetoothGatt gatt, int status)Callback invoked when a reliable write transaction has been completed.
|
public void | onServicesDiscovered(BluetoothGatt gatt, int status)Callback invoked when the list of remote services, characteristics and descriptors
for the remote device have been updated, ie new services have been discovered.
|