Error codes


HERC error codes that are returned by HERC_ErrorGetCode().

HERC_OK

All is OK.

HERC_ERROR_INIT

Hercules is not initialized.

HERC_ERROR_PORT

Can't open com port.

HERC_ERROR_THREAD

Can't configure com port.

HERC_ERROR_DEVICE

Can't find a valid Hercules Device.

HERC_ERROR_RANGE

Number out of range..