Skip to main content

Python Library for interfacing with the RRHFOEM04 RFID Reader

Project description

RRHFOEM04 Python Library

PyPI License

This Python library provides an interface to interact with the RRHFOEM04 RFID/NFC reader. The library supports multiple RFID protocols including ISO15693 and ISO14443A, allowing for various card operations such as inventory scanning, reading, and writing.

Features

  • Multiple Protocol Support: Supports ISO15693, ISO14443A, and Mifare.
  • Automatic Connection Management: Easily manage device connections.
  • Error Handling: Robust error handling and recovery mechanisms.
  • Timing Controls: Built-in timing controls for reliable communication.
  • Single and Multi-Block Operations: Support for single and multiple block read/write operations.

Usage

Here's a simple example to get started with the RRHFOEM04 reader:

from rrhfoem04 import RRHFOEM04

# Initialize the reader and connect
reader = RRHFOEM04(auto_connect=True)

# Activate the buzzer
if reader.buzzer_on().success:
    print("Buzzer activated")

# Get reader information
result = reader.getReaderInfo()
print(f"getReaderInfo result: {result}")

# Perform an ISO15693 inventory scan
result = reader.ISO15693_singleSlotInventory()
print(f"ISO15693_singleSlotInventory result: {result}")

# Close the reader connection
reader.close()

Note:

The hidapi module (dependency to interact with hid modules) requires superuser privilage to run. Therefore, run your python script with sudo if you are using linux based system. eg: sudo python3 script.py

Contributing

Contributions are welcome! Please refer to the docs folder for more details on the library's internals and how to contribute.

License

This project is licensed under the MIT License.

Contact

For any inquiries or support, please open an issue on the GitHub repository.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rrhfoem04_lib-0.0.2.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rrhfoem04_lib-0.0.2-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file rrhfoem04_lib-0.0.2.tar.gz.

File metadata

  • Download URL: rrhfoem04_lib-0.0.2.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for rrhfoem04_lib-0.0.2.tar.gz
Algorithm Hash digest
SHA256 6f2f3a8dd421579cded790c70803c4d630f2642ab8a3429764ec274776fb947e
MD5 e4d8612d860171b9356fc81a962f47c1
BLAKE2b-256 7fac87c6e590413b1af9abdbc778025f9f0a9952a851060d119ec40ae7047e1a

See more details on using hashes here.

File details

Details for the file rrhfoem04_lib-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: rrhfoem04_lib-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for rrhfoem04_lib-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 195a39bf8b23d89542f6200c4ad73d278bb5d65ed6b8d4a189f65bcc38c5a65a
MD5 f9f1d2b5a76fe6f49f4ca246eee19ca8
BLAKE2b-256 d676ac0651ffe63c4f3f844aa22312e928fa07aa8875feefa32e3169c62a8a3c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page