RRHFOEM04 Python Library
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
hidapimodule (dependency to interact with hid modules) requires superuser privilage to run. Therefore, run your python script withsudoif 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.
Metadata
Release files for rrhfoem04-lib 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rrhfoem04_lib-0.0.6.tar.gz | 18.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rrhfoem04_lib-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 35.0 kB
Release files / rrhfoem04_lib-0.0.6.tar.gz
| Download URL | rrhfoem04_lib-0.0.6.tar.gz |
|---|---|
| Size | 18.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2279b16466ae9880ec6705cc0185094a358e808e12653ff3557ac620e4f103bb
|
|
BLAKE2b-256 checksum How to use checksums |
0629a963990758fe3dae9a63496145adc233defc39f2fd7b28d408b505b5e4cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / rrhfoem04_lib-0.0.6-py3-none-any.whl
| Download URL | rrhfoem04_lib-0.0.6-py3-none-any.whl |
|---|---|
| Size | 16.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91a5d7ec4970b2226c9da205eebdbf7121ae157aa1521ffa504744908c358dd8
|
|
BLAKE2b-256 checksum How to use checksums |
ef13da169da0c1df658c63bfb862d06284b02827886145de393e9602accc96a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|