theeyetribe

0.2.1 • Public • Published

#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!

Readme

Keywords

Package Sidebar

Install

npm i theeyetribe

Weekly Downloads

0

Version

0.2.1

License

ISC

Last publish

Collaborators

  • ibakaidov