@@ -0,0 +1,2605 @@
+package info.izumin.android.bletia.rx;%0A%0Aimport android.bluetooth.BluetoothDevice;%0Aimport android.bluetooth.BluetoothGattCharacteristic;%0Aimport android.bluetooth.BluetoothGattDescriptor;%0Aimport android.content.Context;%0A%0Aimport info.izumin.android.bletia.core.AbstractBletia;%0Aimport info.izumin.android.bletia.rx.action.RxConnectAction;%0Aimport info.izumin.android.bletia.rx.action.RxDisconnectAction;%0Aimport info.izumin.android.bletia.rx.action.RxDiscoverServicesAction;%0Aimport info.izumin.android.bletia.rx.action.RxEnableNotificationAction;%0Aimport info.izumin.android.bletia.rx.action.RxReadCharacteristicAction;%0Aimport info.izumin.android.bletia.rx.action.RxReadDescriptorAction;%0Aimport info.izumin.android.bletia.rx.action.RxReadRemoteRssiAction;%0Aimport info.izumin.android.bletia.rx.action.RxWriteCharacteristicAction;%0Aimport info.izumin.android.bletia.rx.action.RxWriteDescriptorAction;%0Aimport rx.Observable;%0A%0A/**%0A * Created by izumin on 11/15/15.%0A */%0Apublic class RxBletia extends AbstractBletia %7B%0A    public static final String TAG = RxBletia.class.getSimpleName();%0A%0A    public RxBletia(Context context) %7B%0A        super(context);%0A    %7D%0A%0A    public Observable%3CVoid%3E conncet(BluetoothDevice device) %7B%0A        return execute(new RxConnectAction(device, getStateContainer()));%0A    %7D%0A%0A    public Observable%3CVoid%3E disconnect() %7B%0A        return execute(new RxDisconnectAction(getStateContainer()));%0A    %7D%0A%0A    public Observable%3CVoid%3E discoverServices() %7B%0A        return execute(new RxDiscoverServicesAction(getStateContainer()));%0A    %7D%0A%0A    public Observable%3CBluetoothGattCharacteristic%3E writeCharacteristic(BluetoothGattCharacteristic characteristic) %7B%0A        return execute(new RxWriteCharacteristicAction(characteristic));%0A    %7D%0A%0A    public Observable%3CBluetoothGattCharacteristic%3E readCharacteristic(BluetoothGattCharacteristic characteristic) %7B%0A        return execute(new RxReadCharacteristicAction(characteristic));%0A    %7D%0A%0A    public Observable%3CBluetoothGattDescriptor%3E writeDescriptor(BluetoothGattDescriptor descriptor) %7B%0A        return execute(new RxWriteDescriptorAction(descriptor));%0A    %7D%0A%0A    public Observable%3CBluetoothGattDescriptor%3E readDescriptor(BluetoothGattDescriptor descriptor) %7B%0A        return execute(new RxReadDescriptorAction(descriptor));%0A    %7D%0A%0A    public Observable%3CBluetoothGattCharacteristic%3E enableNotification(BluetoothGattCharacteristic characteristic, boolean enabled) %7B%0A        return execute(new RxEnableNotificationAction(characteristic, enabled));%0A    %7D%0A%0A    public Observable%3CInteger%3E readRemoteRssi() %7B%0A        return execute(new RxReadRemoteRssiAction());%0A    %7D%0A%7D%0A

Implement basic methods for RxBletia