Skip to content

LLRP implementation using NodeJS for Impinj Speedway

Notifications You must be signed in to change notification settings

vstanchev/llrp-nodejs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

llrp-nodejs

This fork is with modified Add ROSPEC message for Impinj Speedway R420

Nodejs module to read RFID tags by connecting to a RFID reader through LLRP protocol.

Authors

Billie Dee R. Ang

Jeriel Mari E. Lopez

Installation

npm install GeenenTijd/llrp-nodejs

Config

You can provide a config object with the following values:

ipaddress - IP of the RFID reader (default 192.168.0.30)

port - port of the RFID reader (default 5084)

log - log messages in the console (default false)

isReaderConfigSet - is the reader config set (default false)

isStartROSpecSent - has START_ROSPEC message been sent to the reader (default false)

Example


var llrp = require('llrp');

var reader = new llrp({
	ipaddress: '192.168.0.143'
});

reader.connect();

reader.on('timeout', function () {
	console.log('timeout');
});

reader.on('disconnect', function () {
	console.log('disconnect');
});

reader.on('error', function (error) {
	console.log('error: ' + JSON.stringify(error));
});

reader.on('didSeeTag', function (tag) {
	console.log('TAG: ' + tag.tagID);
});

// This fork adds a method to delete the rospec and close the connection.
reader.disconnect();

About

LLRP implementation using NodeJS for Impinj Speedway

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%