[−][src]Enum rfid_rs::picc::Command
Commands that can be send to the PICC.
The commands used for MIFARE Classic begin with Mf (cfr Section 9).
The commands used for MIFARE Ultralight begin with Ul (cfr Section 8.6).
Use PCD_MFAuthent to authenticate access to a sector,
then use the other commands to read/write/modify the blocks on the sector.
The read/write commands can also be used for MIFARE Ultralight.
Variants
REQuest command, Type A. invites PICCs in state IDLE to go to READY
and prepare for anticollision or selection. 7 bit frame.
Wake-UP command, Type A. invites PICCs in state IDLE and HALT to go to READY(*)
and prepare for anticollision or selection. 7 bit frame.
Cascade Tag. Not really a command, but used during anti collision.
Anti collision/Select, Cascade Level 1
Anti collision/Select, Cascade Level 2
Anti collision/Select, Cascade Level 3
HaLT command, Type A. Instructs an ACTIVE PICC to go to state HALT.
Request command for Answer To Reset.
Perform authentication with Key A
Perform authentication with Key B
Reads one 16 byte block from the authenticated sector of the PICC.
Also used for MIFARE Ultralight.
Writes one 16 byte block to the authenticated sector of the PICC.
Called "COMPATIBILITY WRITE" for MIFARE Ultralight.
Decrements the contents of a block and stores the result in the internal data register.
Increments the contents of a block and stores the result in the internal data register.
Reads the contents of a block into the internal data register.
Writes the contents of the internal data register to a block.
Writes one 4 byte page to the PICC.
Trait Implementations
impl Clone for Command
[src]
impl Copy for Command
[src]
impl Debug for Command
[src]
impl PartialEq<Command> for Command
[src]
impl StructuralPartialEq for Command
[src]
Auto Trait Implementations
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,