public static enum PiGpioDdefs.ErrPI extends Enum<PiGpioDdefs.ErrPI>
errors
-1..-143 plus a very short English
explanation
are hier as enum objects. Their
ordinal
numbers 1..143 are the positive
error codes: Enum.ordinal()
== -
errNum()
no error (0)
, a the Python error
command interrupted (-144)
, and a
unknown PI_error
for a wrong pigpiod error
number.Modifier and Type | Field and Description |
---|---|
String |
expl
The pigpiod error's short explanation.
|
Modifier and Type | Method and Description |
---|---|
static PiGpioDdefs.ErrPI |
byErrNum(int num)
Get explained error by error number (-) or index.
|
int |
errNum()
Get the error number (-).
|
static void |
main(String[] args)
The enum ErrPi as application.
|
String |
toString()
Description of the enum object.
|
static PiGpioDdefs.ErrPI |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PiGpioDdefs.ErrPI[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PiGpioDdefs.ErrPI NO_ERROR
public static final PiGpioDdefs.ErrPI INIT_FAILED
public static final PiGpioDdefs.ErrPI BAD_USER_GPIO
public static final PiGpioDdefs.ErrPI BAD_GPIO
public static final PiGpioDdefs.ErrPI BAD_MODE
public static final PiGpioDdefs.ErrPI BAD_LEVEL
public static final PiGpioDdefs.ErrPI BAD_PUD
public static final PiGpioDdefs.ErrPI BAD_PULSEWIDTH
public static final PiGpioDdefs.ErrPI BAD_DUTYCYCLE
public static final PiGpioDdefs.ErrPI BAD_TIMER
public static final PiGpioDdefs.ErrPI BAD_MS
public static final PiGpioDdefs.ErrPI BAD_TIMETYPE
public static final PiGpioDdefs.ErrPI BAD_SECONDS
public static final PiGpioDdefs.ErrPI BAD_MICROS
public static final PiGpioDdefs.ErrPI TIMER_FAILED
public static final PiGpioDdefs.ErrPI BAD_WDOG_TIMEOUT
public static final PiGpioDdefs.ErrPI NO_ALERT_FUNC
public static final PiGpioDdefs.ErrPI BAD_CLK_PERIPH
public static final PiGpioDdefs.ErrPI BAD_CLK_SOURCE
public static final PiGpioDdefs.ErrPI BAD_CLK_MICROS
public static final PiGpioDdefs.ErrPI BAD_BUF_MILLIS
public static final PiGpioDdefs.ErrPI BAD_DUTYRANGE
public static final PiGpioDdefs.ErrPI BAD_SIGNUM
public static final PiGpioDdefs.ErrPI BAD_PATHNAME
public static final PiGpioDdefs.ErrPI NO_HANDLE
public static final PiGpioDdefs.ErrPI BAD_HANDLE
public static final PiGpioDdefs.ErrPI BAD_IF_FLAGS
public static final PiGpioDdefs.ErrPI BAD_CHANNEL
public static final PiGpioDdefs.ErrPI BAD_SOCKET_PORT
public static final PiGpioDdefs.ErrPI BAD_FIFO_COMMAND
public static final PiGpioDdefs.ErrPI BAD_SECO_CHANNEL
public static final PiGpioDdefs.ErrPI NOT_INITIALISED
public static final PiGpioDdefs.ErrPI INITIALISED
public static final PiGpioDdefs.ErrPI BAD_WAVE_MODE
public static final PiGpioDdefs.ErrPI BAD_CFG_INTERNAL
public static final PiGpioDdefs.ErrPI BAD_WAVE_BAUD
public static final PiGpioDdefs.ErrPI TOO_MANY_PULSES
public static final PiGpioDdefs.ErrPI TOO_MANY_CHARS
public static final PiGpioDdefs.ErrPI NOT_SERIAL_GPIO
public static final PiGpioDdefs.ErrPI BAD_SERIAL_STRUC
public static final PiGpioDdefs.ErrPI BAD_SERIAL_BUF
public static final PiGpioDdefs.ErrPI NOT_PERMITTED
public static final PiGpioDdefs.ErrPI SOME_PERMITTED
public static final PiGpioDdefs.ErrPI BAD_WVSC_COMMND
public static final PiGpioDdefs.ErrPI BAD_WVSM_COMMND
public static final PiGpioDdefs.ErrPI BAD_WVSP_COMMND
public static final PiGpioDdefs.ErrPI BAD_PULSELEN
public static final PiGpioDdefs.ErrPI BAD_SCRIPT
public static final PiGpioDdefs.ErrPI BAD_SCRIPT_ID
public static final PiGpioDdefs.ErrPI BAD_SER_OFFSET
public static final PiGpioDdefs.ErrPI GPIO_IN_USE
public static final PiGpioDdefs.ErrPI BAD_SERIAL_COUNT
public static final PiGpioDdefs.ErrPI BAD_PARAM_NUM
public static final PiGpioDdefs.ErrPI DUP_TAG
public static final PiGpioDdefs.ErrPI TOO_MANY_TAGS
public static final PiGpioDdefs.ErrPI BAD_SCRIPT_CMD
public static final PiGpioDdefs.ErrPI BAD_VAR_NUM
public static final PiGpioDdefs.ErrPI NO_SCRIPT_ROOM
public static final PiGpioDdefs.ErrPI NO_MEMORY
public static final PiGpioDdefs.ErrPI SOCK_READ_FAILED
public static final PiGpioDdefs.ErrPI SOCK_WRIT_FAILED
public static final PiGpioDdefs.ErrPI TOO_MANY_PARAM
public static final PiGpioDdefs.ErrPI SCRIPT_NOT_READY
public static final PiGpioDdefs.ErrPI BAD_TAG
public static final PiGpioDdefs.ErrPI BAD_MICS_DELAY
public static final PiGpioDdefs.ErrPI BAD_MILS_DELAY
public static final PiGpioDdefs.ErrPI BAD_WAVE_ID
public static final PiGpioDdefs.ErrPI TOO_MANY_CBS
public static final PiGpioDdefs.ErrPI TOO_MANY_OOL
public static final PiGpioDdefs.ErrPI EMPTY_WAVEFORM
public static final PiGpioDdefs.ErrPI NO_WAVEFORM_ID
public static final PiGpioDdefs.ErrPI I2C_OPEN_FAILED
public static final PiGpioDdefs.ErrPI SER_OPEN_FAILED
public static final PiGpioDdefs.ErrPI SPI_OPEN_FAILED
public static final PiGpioDdefs.ErrPI BAD_I2C_BUS
public static final PiGpioDdefs.ErrPI BAD_I2C_ADDR
public static final PiGpioDdefs.ErrPI BAD_SPI_CHANNEL
public static final PiGpioDdefs.ErrPI BAD_FLAGS
public static final PiGpioDdefs.ErrPI BAD_SPI_SPEED
public static final PiGpioDdefs.ErrPI BAD_SER_DEVICE
public static final PiGpioDdefs.ErrPI BAD_SER_SPEED
public static final PiGpioDdefs.ErrPI BAD_PARAM
public static final PiGpioDdefs.ErrPI I2C_WRITE_FAILED
public static final PiGpioDdefs.ErrPI I2C_READ_FAILED
public static final PiGpioDdefs.ErrPI BAD_SPI_COUNT
public static final PiGpioDdefs.ErrPI SER_WRITE_FAILED
public static final PiGpioDdefs.ErrPI SER_READ_FAILED
public static final PiGpioDdefs.ErrPI SER_READ_NO_DATA
public static final PiGpioDdefs.ErrPI UNKNOWN_COMMAND
public static final PiGpioDdefs.ErrPI SPI_XFER_FAILED
public static final PiGpioDdefs.ErrPI BAD_POINTER
public static final PiGpioDdefs.ErrPI NO_AUX_SPI
public static final PiGpioDdefs.ErrPI NOT_PWM_GPIO
public static final PiGpioDdefs.ErrPI NOT_SERVO_GPIO
public static final PiGpioDdefs.ErrPI NOT_HCLK_GPIO
public static final PiGpioDdefs.ErrPI NOT_HPWM_GPIO
public static final PiGpioDdefs.ErrPI BAD_HPWM_FREQ
public static final PiGpioDdefs.ErrPI BAD_HPWM_DUTY
public static final PiGpioDdefs.ErrPI BAD_HCLK_FREQ
public static final PiGpioDdefs.ErrPI BAD_HCLK_PASS
public static final PiGpioDdefs.ErrPI HPWM_ILLEGAL
public static final PiGpioDdefs.ErrPI BAD_DATABITS
public static final PiGpioDdefs.ErrPI BAD_STOPBITS
public static final PiGpioDdefs.ErrPI MSG_TOOBIG
public static final PiGpioDdefs.ErrPI BAD_MALLOC_MODE
public static final PiGpioDdefs.ErrPI TOO_MANY_SEGS
public static final PiGpioDdefs.ErrPI BAD_I2C_SEG
public static final PiGpioDdefs.ErrPI BAD_SMBUS_CMD
public static final PiGpioDdefs.ErrPI NOT_I2C_GPIO
public static final PiGpioDdefs.ErrPI BAD_I2C_WLEN
public static final PiGpioDdefs.ErrPI BAD_I2C_RLEN
public static final PiGpioDdefs.ErrPI BAD_I2C_CMD
public static final PiGpioDdefs.ErrPI BAD_I2C_BAUD
public static final PiGpioDdefs.ErrPI CHAIN_LOOP_CNT
public static final PiGpioDdefs.ErrPI BAD_CHAIN_LOOP
public static final PiGpioDdefs.ErrPI CHAIN_COUNTER
public static final PiGpioDdefs.ErrPI BAD_CHAIN_CMD
public static final PiGpioDdefs.ErrPI BAD_CHAIN_DELAY
public static final PiGpioDdefs.ErrPI CHAIN_NESTING
public static final PiGpioDdefs.ErrPI CHAIN_TOO_BIG
public static final PiGpioDdefs.ErrPI DEPRECATED
public static final PiGpioDdefs.ErrPI BAD_SER_INVERT
public static final PiGpioDdefs.ErrPI BAD_EDGE
public static final PiGpioDdefs.ErrPI BAD_ISR_INIT
public static final PiGpioDdefs.ErrPI BAD_FOREVER
public static final PiGpioDdefs.ErrPI BAD_FILTER
public static final PiGpioDdefs.ErrPI BAD_PAD
public static final PiGpioDdefs.ErrPI BAD_STRENGTH
public static final PiGpioDdefs.ErrPI FIL_OPEN_FAILED
public static final PiGpioDdefs.ErrPI BAD_FILE_MODE
public static final PiGpioDdefs.ErrPI BAD_FILE_FLAG
public static final PiGpioDdefs.ErrPI BAD_FILE_READ
public static final PiGpioDdefs.ErrPI BAD_FILE_WRITE
public static final PiGpioDdefs.ErrPI FILE_NOT_ROPEN
public static final PiGpioDdefs.ErrPI FILE_NOT_WOPEN
public static final PiGpioDdefs.ErrPI BAD_FILE_SEEK
public static final PiGpioDdefs.ErrPI NO_FILE_MATCH
public static final PiGpioDdefs.ErrPI NO_FILE_ACCESS
public static final PiGpioDdefs.ErrPI FILE_IS_A_DIR
public static final PiGpioDdefs.ErrPI BAD_SHELL_STATUS
public static final PiGpioDdefs.ErrPI BAD_SCRIPT_NAME
public static final PiGpioDdefs.ErrPI BAD_SPI_BAUD
public static final PiGpioDdefs.ErrPI NOT_SPI_GPIO
public static final PiGpioDdefs.ErrPI BAD_EVENT_ID
public static final PiGpioDdefs.ErrPI CMD_INTERRUPTED
public static final PiGpioDdefs.ErrPI UNKNOWN_ERROR
public final String expl
public static PiGpioDdefs.ErrPI[] values()
for (PiGpioDdefs.ErrPI c : PiGpioDdefs.ErrPI.values()) System.out.println(c);
public static PiGpioDdefs.ErrPI valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static PiGpioDdefs.ErrPI byErrNum(int num)
num
- the negative error number or its absolute (positive) valueUNKNOWN_ERROR
; NO_ERROR
public int errNum()
Enum.ordinal()
)public String toString()
ErrPI.NOT_PERMITTED -41: GPIO operation not permitted
toString
in class Enum<PiGpioDdefs.ErrPI>
public static void main(String[] args)
Enum.ordinal()
== -
errNum()
java de.weAut.PiGpioDdefs$ErrPI
args
- start parameters, ignored