public interface GattController
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
connect() |
void |
disconnect() |
boolean |
readCharacteristic(android.bluetooth.BluetoothGattCharacteristic characteristic) |
void |
refresh() |
boolean |
setCharacteristicNotification(android.bluetooth.BluetoothGattCharacteristic characteristic,
boolean enable) |
boolean |
writeCharacteristic(android.bluetooth.BluetoothGattCharacteristic characteristic) |
boolean |
writeCharacteristic(android.bluetooth.BluetoothGattCharacteristic characteristic,
boolean readResponse) |
boolean |
writeDescriptor(android.bluetooth.BluetoothGattDescriptor descriptor) |
boolean connect()
void close()
void disconnect()
void refresh()
boolean writeCharacteristic(android.bluetooth.BluetoothGattCharacteristic characteristic)
boolean writeCharacteristic(android.bluetooth.BluetoothGattCharacteristic characteristic, boolean readResponse)
boolean readCharacteristic(android.bluetooth.BluetoothGattCharacteristic characteristic)
boolean writeDescriptor(android.bluetooth.BluetoothGattDescriptor descriptor)
boolean setCharacteristicNotification(android.bluetooth.BluetoothGattCharacteristic characteristic, boolean enable)