B - 2
K
DAK
KwikNet Error Codes
KwikNet
Error Codes
KwikNet error codes are signed integers. Codes less than zero are error codes. Codes
greater than zero are warning codes. To assist you during testing, the hexadecimal value
of the least significant 16-bits of the error code is listed as it might appear in a register or
memory dump.
Mnemonic Value Value Meaning
(dec) (hex)
KN_EROK 0 0 Call successful
Warnings
KN_WRPROGRESS 1 0x0001 Operation is in progress (not complete)
Device Driver errors
KN_DER_BADID -1 0xFFFF Invalid device id
KN_DER_BADPARAM -2 0xFFFE Invalid parameter
KN_DER_BADMODE -3 0xFFFD Invalid in current operating mode
KN_DER_NOSUPPORT -4 0xFFFC Ioctl command is not supported
KN_DER_DEVICE -5 0xFFFB Device specific error occurred
KN_DER_NOTAVAIL -6 0xFFFA Requested data not yet available
KN_DER_OVERRUN -7 0xFFF9 Receive buffer overflow detected
Programming errors
KN_ERPARAM -10 0xFFF6 Invalid parameter
KN_ERLOGIC -11 0xFFF5 Unexpected sequence of events
KN_ERREJECT -12 0xFFF4 Requested operation rejected
System errors
KN_ERNOMEM -20 0xFFEC Memory not available for allocation
KN_ERNOBUFFER -21 0xFFEB Packet buffer not available
KN_ERQUEUE -22 0xFFEA Queuing resource not available
KN_ERTIMEOUT -23 0xFFE9 Operation timeout
KN_ERNETWORK -24 0xFFE8 Error generated by network stack
KN_ERIFACE -25 0xFFE7 Cannot find a device interface
Comments to this Manuals