Skip to content

LLRP implementation using Nodejs for impinj speedway

Notifications You must be signed in to change notification settings

InvigAS/llrp-nodejs-impinj

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

llrp-nodejs

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

Status

This fork changes how the module works and adds some extra functionality.

Authors

Billie Dee R. Ang

Jeriel Mari E. Lopez

Installation

npm install llrp

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)

Example


var llrp = require('llrp');

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

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);
});

async function main() {
	reader.connect();
	await reader.sendMessage("DELETE_ROSPEC", { ROSpecID: 0 });
	await reader.sendMessage("SET_READER_CONFIG", { ResetToFactoryDefaults: 1 });
}

About

LLRP implementation using Nodejs for impinj speedway

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%