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.4.tar.gz (17.7 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.4-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rrhfoem04_lib-0.0.4.tar.gz
  • Upload date:
  • Size: 17.7 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.4.tar.gz
Algorithm Hash digest
SHA256 e5049bd7b91bde966c17c9df5809fa56954f26b047896638e043cb1c910bc125
MD5 55b2d581c4e74b7e4b7a6d0d3a7ac6c5
BLAKE2b-256 8387d381f11b8b98f03054a23726a19f0fc412ab9bc07926120702843fff14dc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rrhfoem04_lib-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 16.6 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0b8cfac42bee7fa978fcb826d19eadbe0ca9ad149a084ee30d87d4c24ef18c29
MD5 0d484641022c2b209aee63c3d73137b9
BLAKE2b-256 b24e6a30c2e5c5b27ff466c91a9fd294f9b79e623539157c54388bd7b7ce296f

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