handled-rfid-reader-decoder

1.0.0 • Public • Published

JS Handled RFID Reader Decoder

JS module which handles and decodes input keyboard event from an Handled RFID reader

It actually decodes :

  • Vanch VD-67E with Hexadecimal EPC configuration

### Installation

  npm i handled-rfid-reader-decoder

or

 yarn add handled-rfid-reader-decoder

or download source directly from github

Usage

Import package

First import the package

const HandledRFIDReaderDecoder = require('handled-rfid-reader-decoder')

Bind keyboard input

Then use it as an handler of keyboard events, ex :

$("#field").keyDown(event => HandledRFIDReaderDecoder.onInput(event, onValidCallback))

Where:

  • event is the javascript event generated by the navigator
  • onValidCallback is a callback called only when the reader sends an enter key input

Clear current tag value

The tag value is not clear automatically when the reader sends an enter key input. But you can clear it manually with :

HandledRFIDReaderDecoder.clear();

Requests

Feel free to ask for request or to do pull request if you think you've improved the plugin

License

This piece of software is issued under the GNU GENERAL PUBLIC LICENSE. You can view the license here

Readme

Keywords

Package Sidebar

Install

npm i handled-rfid-reader-decoder

Weekly Downloads

0

Version

1.0.0

License

GLP-3.0

Unpacked Size

37.6 kB

Total Files

4

Last publish

Collaborators

  • ptournem