Enum uem_reader::errors::UemInternalError
source · #[repr(u8)]
pub enum UemInternalError {
Show 79 variants
NoTag,
Crc,
WrongKey,
Parity,
ResultCode,
Protocol,
SerialNumber,
LoadKey,
NotAuthenticated,
BitCount,
ByteCount,
WriteData,
Increment,
Decrement,
ReadData,
Overflow,
Framing,
UnknownOperation,
Collision,
Reset,
Interface,
NoBitwiseAnticoll,
Coding,
HardwareAbsent,
UnknownCommand,
CommandNotSupported,
WrongMfrcMode,
WrongCryptoMode,
FlashEraseRequired,
FlashKeyAbsent,
Transceive,
IcodeStackOverflow,
HaltB,
FlashOperating,
InternalCall,
CascadeLevel10,
BaudrateNotSupported,
SamTimeout,
SamApdu,
SamCardMac,
SamAuthentication,
SamByteCount,
ParameterValue,
MifareClassicNacF,
MifareClassicNacE,
MifareClassicNacD,
MifareClassicNacC,
MifareClassicNacB,
MifareClassicNacA,
MifareClassicNac9,
MifareClassicNac8,
MifareClassicNac7,
MifareClassicNac6,
MifareClassicNac5,
MifareClassicNac4,
MifareClassicNac3,
MifareClassicNac2,
MifareClassicNac1,
MifareClassicNac0,
MifarePlusGeneralManipulate,
MifarePlusCardMac,
MifarePlusEv1NotSupported,
MifarePlusLength,
MifarePlusNoStateForCommand,
MifarePlusNotExistingBlock,
MifarePlusBlockNumber,
MifarePlusMac,
MifarePlusCommandOverflow,
MifarePlusAuthentication,
MifarePlusEv1Tmac,
NotYetImplemented,
Crc16,
ReceiveBufferOverflow,
InternalReaderLibrary,
ValueBlockFormat,
UnsupportedParameter,
IncompleteChaining,
Temperature,
Unknown,
}Expand description
Error codes returned by a reader
Variants§
NoTag
No RFID card found in vicinity
Crc
CRC radio transaction check failed
WrongKey
Failed to perform operation with supplied key
Parity
Parity bit transaction check failed
ResultCode
Received an error result code from a card
Protocol
Wrong protocol selected for this command
SerialNumber
Unknown serial number of a device
LoadKey
Failed to load key into flash memory
NotAuthenticated
The card is not in a valid authentication state
BitCount
Incorrect bits count during transation
ByteCount
Incorrect byte count during transation
WriteData
Failed to write data block on a card
Increment
Failed to increment card counter
Decrement
Failed to decrement card counter
ReadData
Failed to read card data block
Overflow
Internal radio exchange buffer overflow
Framing
Reader-card transaction frame is malformed
UnknownOperation
The requested operation is not implemented is a card
Collision
Collision detected during card activation
Reset
Interface
NoBitwiseAnticoll
Bitwise avticollision is not supported by a card
Coding
Error with coding of bytes in transaction
HardwareAbsent
The required hardware is absent in a reader
UnknownCommand
The requested command is not implemented in a reader
CommandNotSupported
The requested command is not supported by a reader
WrongMfrcMode
The radio chip is in wrong mode. Check that you selected right mode: ISO14443A/B or ISO15693
WrongCryptoMode
Both reader and host should be in plain, authenticated and/or encrypted transaction modes
FlashEraseRequired
Please erase reader flash memory before writing new data in it
FlashKeyAbsent
The required key is absent in a flash memory
Transceive
Failed to transceive data with a card
IcodeStackOverflow
Stack overflow for ISO 15693 card
HaltB
Failed to perform Halt operation with ISO 14443B card
FlashOperating
Flash reader memory is in use
InternalCall
Some internal call within reader is failed
CascadeLevel10
Error while performing cascade level 3 activation with a card
BaudrateNotSupported
The requested card speed is not supported
SamTimeout
SAM module has timed out to respond
SamApdu
There was an error with SAM APDU response
SamCardMac
Wrong RFID card MAC response while interacting with SAM module
SamAuthentication
Failed to authenticate with SAM module
SamByteCount
Incorrect bytes count sent/received from SAM module
ParameterValue
Incorrect command parameter value
MifareClassicNacF
Series of error responses for Mifare Classic card type
MifareClassicNacE
MifareClassicNacD
MifareClassicNacC
MifareClassicNacB
MifareClassicNacA
MifareClassicNac9
MifareClassicNac8
MifareClassicNac7
MifareClassicNac6
MifareClassicNac5
MifareClassicNac4
MifareClassicNac3
MifareClassicNac2
MifareClassicNac1
MifareClassicNac0
MifarePlusGeneralManipulate
Series of error responses for Mifare Plus type cards
MifarePlusCardMac
MifarePlusEv1NotSupported
MifarePlusLength
MifarePlusNoStateForCommand
MifarePlusNotExistingBlock
MifarePlusBlockNumber
MifarePlusMac
MifarePlusCommandOverflow
MifarePlusAuthentication
MifarePlusEv1Tmac
NotYetImplemented
The requested feature is not yet implemented
Crc16
CRC16 command/response check failed
ReceiveBufferOverflow
The reception buffer on reader radio chip has overflowed
InternalReaderLibrary
Error in internal reader library
ValueBlockFormat
Incorrect format of a card value block
UnsupportedParameter
A command parameter is not supported
IncompleteChaining
Commands in a chain are malformed
Temperature
Reader is overheating
Unknown
Unknown error
Trait Implementations§
source§impl Clone for UemInternalError
impl Clone for UemInternalError
source§fn clone(&self) -> UemInternalError
fn clone(&self) -> UemInternalError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UemInternalError
impl Debug for UemInternalError
source§impl PartialEq<UemInternalError> for UemInternalError
impl PartialEq<UemInternalError> for UemInternalError
source§fn eq(&self, other: &UemInternalError) -> bool
fn eq(&self, other: &UemInternalError) -> bool
self and other values to be equal, and is used
by ==.