@@ -0,0 +1,1298 @@
+// vim: et sw=4 sts=4 tabstop=4%0Apackage com.issc.gatt;%0A%0Aimport com.issc.Bluebit;%0Aimport com.issc.util.Log;%0A%0Aimport java.util.List;%0Aimport java.util.UUID;%0A%0Aimport android.bluetooth.BluetoothDevice;%0A%0Aimport com.samsung.android.sdk.bt.gatt.BluetoothGatt;%0Aimport com.samsung.android.sdk.bt.gatt.BluetoothGattCallback;%0Aimport com.samsung.android.sdk.bt.gatt.BluetoothGattCharacteristic;%0Aimport com.samsung.android.sdk.bt.gatt.BluetoothGattDescriptor;%0Aimport com.samsung.android.sdk.bt.gatt.BluetoothGattService;%0A%0A/**%0A * This is a wrapper.%0A *%0A * It will be an interface to help us to avoid depending on any specific%0A * platform.%0A **/%0Apublic class GattService %7B%0A%0A    private BluetoothGattService mSrv;%0A%0A    public GattService(BluetoothGattService srv) %7B%0A        mSrv = srv;%0A    %7D%0A%0A    public BluetoothGattService getService() %7B%0A        return mSrv;%0A    %7D%0A%0A    public BluetoothGattCharacteristic getCharacteristic(UUID uuid) %7B%0A        return mSrv.getCharacteristic(uuid);%0A    %7D%0A%0A    public List%3CBluetoothGattCharacteristic%3E getCharacteristics() %7B%0A        return mSrv.getCharacteristics();%0A    %7D%0A%0A    public int getInstanceId() %7B%0A        return mSrv.getInstanceId();%0A    %7D%0A%0A    public int getType() %7B%0A        return mSrv.getType();%0A    %7D%0A%0A    public UUID getUuid() %7B%0A        return mSrv.getUuid();%0A    %7D%0A%7D%0A%0A

Add GattService