package com.punchthrough.bean.sdk.message;

/**
 * Represents an error returned by the Bean.
 */
public enum BeanError {
    /**
     * Timed out while waiting for state to update during programming, but before sending chunks
     */
    STATE_TIMEOUT,
    /**
     * Bean did not provide a reason for the error
     */
    UNKNOWN
}

@@ -143,86 +143,458 @@
 out 
-while waiting 
+during sketch programming, be
 for
+e
  s
-tate to update during programming, but before sending chunk
+ending chunks: Bean took too long to update its%0A     * current state%0A     */%0A    STATE_TIMEOUT,%0A    /**%0A     * Timed out configuring OAD characteristics%0A     */%0A    OAD_CONFIG_TIMEOUT,%0A    /**%0A     * Timed out requesting current firmware version%0A     */%0A    CURR_FW_VER_TIMEOUT,%0A    /**%0A     * Timed out starting firmware download%0A     */%0A    FW_START_TIMEOUT,%0A    /**%0A     * Timed out while sending firmware packet
 s%0A  
@@ -595,37 +595,43 @@
 ets%0A     */%0A    
-STATE
+FW_DOWNLOAD
 _TIMEOUT,%0A    /*

Add errors for firmware upload states