@@ -0,0 +1,884 @@
+package com.uxxu.konashi.lib.action;%0A%0Aimport android.bluetooth.BluetoothGattService;%0A%0Aimport com.uxxu.konashi.lib.KonashiErrorType;%0Aimport com.uxxu.konashi.lib.stores.I2cStore;%0A%0Aimport java.util.UUID;%0A%0Aimport info.izumin.android.bletia.BletiaException;%0Aimport info.izumin.android.bletia.wrapper.BluetoothGattWrapper;%0A%0A/**%0A * Created by izumin on 9/22/15.%0A */%0Apublic abstract class I2cAction extends KonashiWriteCharacteristicAction %7B%0A%0A    private final I2cStore mStore;%0A%0A    public I2cAction(BluetoothGattService service, UUID uuid, I2cStore store) %7B%0A        super(service, uuid);%0A        mStore = store;%0A    %7D%0A%0A    @Override%0A    public void execute(BluetoothGattWrapper gattWrapper) %7B%0A        if (mStore.isEnabled()) %7B%0A            super.execute(gattWrapper);%0A        %7D else %7B%0A            getDeferred().reject(new BletiaException(KonashiErrorType.NOT_ENABLED_I2C));%0A        %7D%0A    %7D%0A%7D%0A

Add I2cAction abstract class