BluetoothGatt

public final class BluetoothGatt extends Object

Constant Summary

int GATT_SUCCESS

Public Constructor Summary

Public Method Summary

void
close()
BluetoothGattService
getService(UUID uuid)
List<BluetoothGattService>
boolean
boolean
boolean

Inherited Method Summary

Constants

public static final int GATT_SUCCESS

Constant Value: 0

Public Constructors

public BluetoothGatt ()

Public Methods

public void close ()

public BluetoothGattService getService (UUID uuid)

Parameters
uuid

public List<BluetoothGattService> getServices ()

public boolean setCharacteristicNotification (BluetoothGattCharacteristic characteristic, boolean enable)

Parameters
characteristic
enable

public boolean writeCharacteristic (BluetoothGattCharacteristic characteristic)

Parameters
characteristic

public boolean writeDescriptor (BluetoothGattDescriptor descriptor)

Parameters
descriptor