0.2.1 • Published 10 years ago

theeyetribe v0.2.1

Weekly downloads
1
License
ISC
Repository
-
Last release
10 years ago

#TheEyeTribe Module for work with server of device TheEyeTribe.

##Install

npm i --save theeyetribe

##Api

	var options = {
		ip:'127.0.0.1', //Server adress
		port:6555, //Server port
		timeout:2000 //Heartbeat timeout
	};
	var tet = require('theeyetribe')(options);
	tet.on('data', console.log);
	tet.on('error', console.log);
	tet.on('close', console.log);
	tet.send({
		category: 'tracker',
		request: 'get',
		values: ['framerate','heartbeatinterval', 'frame']
	});

You can call function without options, in this case will use default options (as example). Or you can ask only one parameter, outher will be default.

Good luck!

0.2.1

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago