rf1996
IronLogic RF1996 (Z2-USB 1996) library wrapper for Node.js. Works on Windows and supports 32bit Node.js only, due to library's restrictions.
Installation
$ npm install rf1996
Methods
.open(port, callback)
Establishes connection with rf1996. Executes callback after method execution. Error (if any) is passed to the callback as an argument.
.device()
Reads connected device info.
.read()
Reads card data.
.write(object)
Writes EmMarine data to a card. Returns an object with information about operation's status. Expects first argument to be an object.
// Object example // Writes [0099] 125,00123 brackets: 99 group: 125 decimal: 123
.clear()
Wipes out data from a card.
Example usage
const rf1996 = ;rf1996;
License
This is only a wrapper for Ironlogic's RF1996 library from their publicly distributed SDK. All rights for the library belong to IronLogic company and other respective owners.