Axoloti error codes


#1

This topic will details error codes that you may encounter when using axoloti.

Control transfer error codes

When a board disconnects you will often see an error like
Control transfer failed: -1

these codes come when we write to USB (from the UI) to the board using libusb with a BulkTransfer() call.

the codes are:

ERROR_IO = -1;
ERROR_INVALID_PARAM = -2;
ERROR_ACCESS = -3;
ERROR_NO_DEVICE = -4;
ERROR_NOT_FOUND = -5;
ERROR_BUSY = -6;
ERROR_TIMEOUT = -7;
ERROR_OVERFLOW = -8;
ERROR_PIPE = -9;
ERROR_INTERRUPTED = -10;
ERROR_NO_MEM = -11;
ERROR_NOT_SUPPORTED = -12;
ERROR_OTHER = -99;
ERROR_COUNT = 14;

#2