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.5.tar.gz (17.9 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.5-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for rrhfoem04_lib-0.0.5.tar.gz
Algorithm Hash digest
SHA256 fca9b16419f0b31cdf6cd7e38e72db50647e81606ef529ada296abdcc8113a42
MD5 713ab21536e7a8aa229064c910500cc1
BLAKE2b-256 5d079ba6ed8ddc778e9bb241452b48e776e14be7e35cf2d6009c33b465ba023e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for rrhfoem04_lib-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6bdea2320b8b8c1a7f25a5fbe2c0a2a4c3a9bad2cf7b8a55d94f3304261e51f3
MD5 177d0696f48e83eedcd72f1a361e1938
BLAKE2b-256 77fd414c0e5514f77c64d712455b514c5e755057649c51094e74a08e7adbddab

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