https://github.com/dotupnet/dotup-ts-node-mifare-usb
https://github.com/dotupnet/dotup-ts-node-mifare-usb
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dotupnet/dotup-ts-node-mifare-usb
- Owner: dotupNET
- License: gpl-3.0
- Created: 2019-04-11T16:39:24.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T17:28:20.000Z (over 2 years ago)
- Last Synced: 2025-02-10T04:35:07.511Z (5 months ago)
- Language: JavaScript
- Size: 1.67 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage percentage][coveralls-image]][coveralls-url]
# dotup-ts-node-mifare-usb
## Description
## Installation
Requirements:
```shell
apt-get install libudev-dev
apt-get install libusb-dev
apt-get install libusb-1.0-0
apt-get install libusb-1.0-0-dev
```>npm install -g dotup-ts-node-mifare-usb --unsafe-perm
>sudo visudo
add this line after the existing Defaults secure_path=... entry:
>Defaults !secure_pathaccess without root: Create file `10-card.rules` in `/etc/udev/rules.d`
Product and vendor id is hex value>SUBSYSTEM=="usb", ATTR{idVendor}=="ffff", ATTR{idProduct}=="35", GROUP="users" MODE="0666"
>SUBSYSTEM=="usb", ATTR{bInterfaceClass}=="03", MODE="0666"
>KERNEL=="hiddev*", ATTRS{idVendor}=="ffff", MODE="0666"Activate the changes:
>sudo chmod 0666 /dev/hidraw*
>sudo udevadm control --reload-rules## Usage
List all HID devices
>hid-listListen to a HID device
>hid-listner -v 65535 -p 53## Release Notes
### 1.0.3Fixes/Features:
- hid-listner: device selector fails### 1.0.2
Fixes/Features:
- Initial release## License
MIT © [Peter Ullrich](https://github.com/dotupNET/)
**Enjoy!**
[npm-image]: https://badge.fury.io/js/dotup-ts-node-mifare-usb.svg
[npm-url]: https://npmjs.org/package/dotup-ts-node-mifare-usb
[travis-image]: https://travis-ci.org/dotupNET/dotup-ts-node-mifare-usb.svg?branch=master
[travis-url]: https://travis-ci.org/dotupNET/dotup-ts-node-mifare-usb
[daviddm-image]: https://david-dm.org/dotupNET/dotup-ts-node-mifare-usb.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/dotupNET/dotup-ts-node-mifare-usb
[coveralls-image]: https://coveralls.io/repos/dotupNET/dotup-ts-node-mifare-usb/badge.svg
[coveralls-url]: https://coveralls.io/r/dotupNET/dotup-ts-node-mifare-usb