cf_rh320u_93_reader 0.3.1

Library for using Chafon CF-RH320U-93 (ISO 15693) USB card reader
Documentation
  • Coverage
  • 24.32%
    9 out of 37 items documented0 out of 3 items with examples
  • Size
  • Source code size: 31.79 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 792.25 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • michaelwright235/cf_rh320u_93_reader
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • michaelwright235

cf_rh320u_93_reader

Current Crates.io Version

Rust library for interaction with Chafon CF-RH320U-93 USB card readers. It's an open source implementation of the official library, which can be found on their website.

Features

  • Read and write ISO 15693 cards
  • Control buzzer and LED
  • Set and get internal serial number
  • And other commands

The main goal is to support all ISO 15693 related commands in the future.

Usage

First you need to open a device connection via open method of CFRH320U93 struct. Then you can call the desired method.

use cf_rh320u_93_reader::*;
let device = CFRH320U93::open()?;
let inventory = device.iso15693_inventory()?;
for card in inventory {
    println!("{:?}", card);
}

If something goes wrong, ReaderError enum is returned. It contains either a UsbError (which means that there was a connection error), or either a CommandError (a status code returned directly from a reader).