Skip to content

esek/e-rfid-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This fork is not under active development, used internally as a locked dependency

Changes from original branch:

  • This text
  • Add new associated function to implementation of GenericUid to ease testing

Rust MFRC522 driver

This is a no_std driver for the MFRC522, an ISO/IEC 14443 A/MIFARE reader/writer IC. This repository is an extension of japaric/mfrc522 and the new home of the mfrc522 crate. For more information on the background of this repository, go here.

What works:

  • SPI communication with the MFRC522
  • Anticollision loop
  • Select for 4-byte and 7-byte UIDs
  • Mifare Classic authentication
  • Reading/writing data
  • Configurable timeout
  • Non-blocking API + support for the interrupt pin
  • Mifare Ultralight C 3DES authentication (no support planned)

Examples

In the examples/ directory, you can find an example for the Raspberry Pi and BeagleBone Black. The BeagleBone example fully demonstrates the available functionality.

This code has also been tested with the STM32L476 Nucleo board, if an extra example for this use-case would be required, please open an issue.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages