New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

empatica-e4-client

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

empatica-e4-client

EmpaticaE4 is a node.js module, which can communicate with Empatica BLE Server to fetch the sensor stream data from the EmpaticaE4 device.

  • 1.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by50%
Maintainers
2
Weekly downloads
 
Created
Source

empatica-e4-client

empatica-e4-client is a node.js module, which can communicate with Empatica BLE Server to fetch the sensor stream data from the EmpaticaE4 device.

Intruction to setup the Emaptica BLE Server is provided in link

Installation

$ cd <project_path>
$ npm install empatica-e4-client

Subscribe Options

EmpaticaE4.E4_ACC   //3-axis accleration
EmpaticaE4.E4_BVP   //Blood Volume Pulse
EmpaticaE4.E4_GSR   //Galvanic Skin Response
EmpaticaE4.E4_TEMP  //Skin Temperature
EmpaticaE4.E4_IBI   //Interbeat Interval
EmpaticaE4.E4_BATT  //Device Battery
EmpaticaE4.E4_TAG   //Device Tag

Demo

var EmpaticaE4 = require('empatica_e4-client');
var dev1 = new EmpaticaE4();

var portNumber  = 28000;
var ipAddress   = '127.0.0.1';
var deviceID    = 'XX1234';        //Empatica E4 device ID 
dev1.connect(portNumber ,ipAddress, deviceID, function(data){  
	var sensorData = EmpaticaE4.getString(data);
	console.log(sensorData);
});
setTimeout(function() {
	dev1.subscribe(EmpaticaE4.E4_BVP);
}, 1000);

Keywords

FAQs

Package last updated on 27 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc