package com.uxxu.konashi.lib;

import info.izumin.android.bletia.BletiaErrorType;

/**
 * Created by izumin on 9/16/15.
 */
public enum KonashiErrorType implements BletiaErrorType{
    INVALID_PARAMETER,
    NOT_ENABLED_UART,
    NOT_ENABLED_I2C,
    INVALID_PIN_NUMBER,
    INVALID_MODE,
    INVALID_PULLUP_PARAM,
    INVALID_OUTPUT_PARAM,
    INVALID_DUTY_RATIO,
    DATA_SIZE_TOO_LONG,
    DATA_SIZE_TOO_SHORT,
    INVALID_BAUDRATE,
    INVALID_CONDITION,
    NO_ERROR;

    @Override
    public int getCode() {
        return -1;
    }

    @Override
    public String getName() {
        return name();
    }
}

@@ -452,16 +452,59 @@
 DITION,%0A
+    INVALID_ENDIANNESS,%0A    INVALID_SPEED,%0A
     NO_E

Add ErrorType for SPI