kopia lustrzana https://github.com/Hamlib/Hamlib
add numbers to rig_errcode_e documentation
rodzic
f9a69d83e3
commit
ae24d50901
|
@ -121,24 +121,24 @@ extern HAMLIB_EXPORT_VAR(const char *) hamlib_copyright2;
|
|||
* of rig_errcode_e definitions in case of error, or 0 when successful.
|
||||
*/
|
||||
enum rig_errcode_e {
|
||||
RIG_OK = 0, /*!< No error, operation completed successfully */
|
||||
RIG_EINVAL, /*!< invalid parameter */
|
||||
RIG_ECONF, /*!< invalid configuration (serial,..) */
|
||||
RIG_ENOMEM, /*!< memory shortage */
|
||||
RIG_ENIMPL, /*!< function not implemented, but will be */
|
||||
RIG_ETIMEOUT, /*!< communication timed out */
|
||||
RIG_EIO, /*!< IO error, including open failed */
|
||||
RIG_EINTERNAL, /*!< Internal Hamlib error, huh! */
|
||||
RIG_EPROTO, /*!< Protocol error */
|
||||
RIG_ERJCTED, /*!< Command rejected by the rig */
|
||||
RIG_ETRUNC, /*!< Command performed, but arg truncated */
|
||||
RIG_ENAVAIL, /*!< function not available */
|
||||
RIG_ENTARGET, /*!< VFO not targetable */
|
||||
RIG_BUSERROR, /*!< Error talking on the bus */
|
||||
RIG_BUSBUSY, /*!< Collision on the bus */
|
||||
RIG_EARG, /*!< NULL RIG handle or any invalid pointer parameter in get arg */
|
||||
RIG_EVFO, /*!< Invalid VFO */
|
||||
RIG_EDOM /*!< Argument out of domain of func */
|
||||
RIG_OK = 0, /*!< 0 No error, operation completed successfully */
|
||||
RIG_EINVAL, /*!< 1 invalid parameter */
|
||||
RIG_ECONF, /*!< 2 invalid configuration (serial,..) */
|
||||
RIG_ENOMEM, /*!< 3 memory shortage */
|
||||
RIG_ENIMPL, /*!< 4 function not implemented, but will be */
|
||||
RIG_ETIMEOUT, /*!< 5 communication timed out */
|
||||
RIG_EIO, /*!< 6 IO error, including open failed */
|
||||
RIG_EINTERNAL, /*!< 7 Internal Hamlib error, huh! */
|
||||
RIG_EPROTO, /*!< 8 Protocol error */
|
||||
RIG_ERJCTED, /*!< 9 Command rejected by the rig */
|
||||
RIG_ETRUNC, /*!< 10 Command performed, but arg truncated */
|
||||
RIG_ENAVAIL, /*!< 11 Function not available */
|
||||
RIG_ENTARGET, /*!< 12 VFO not targetable */
|
||||
RIG_BUSERROR, /*!< 13 Error talking on the bus */
|
||||
RIG_BUSBUSY, /*!< 14 Collision on the bus */
|
||||
RIG_EARG, /*!< 15 NULL RIG handle or any invalid pointer parameter in get arg */
|
||||
RIG_EVFO, /*!< 16 Invalid VFO */
|
||||
RIG_EDOM /*!< 17 Argument out of domain of func */
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Ładowanie…
Reference in New Issue