-
Notifications
You must be signed in to change notification settings - Fork 3
/
legacy-index.html
155 lines (121 loc) · 8.57 KB
/
legacy-index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<!-- <link href="//static-content1.empatica.com/YaJqf/./css/style.css" rel="stylesheet" type="text/css"> -->
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css?2" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/github-dark.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print">
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<title>E4 for Developers</title>
<meta name="description" content="Empatica research products are currently compatible with three programming interfaces: Android and iOS SDKs and a Windows based Bluetooth Low Energy (BLE) Server.">
<!-- Favicon -->
<link rel="icon" href="//static-content1.empatica.com/YaJqf/img/favicon.png" type="image/png">
<link rel="apple-touch-icon" href="//static-content1.empatica.com/YaJqf/img/favicon.png">
<link href="//static-content1.empatica.com/YaJqf/img/favicon.png" rel="shortcut icon" type="image/x-icon">
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-25632719-2', 'auto');
ga('require', 'linkid', 'linkid.js');
ga('require', 'displayfeatures');
ga('send', 'pageview');
</script>
</head>
<body>
<div id="container">
<div class="inner">
<header>
<h1>E4 wristband</h1>
<h2>for Developers</h2>
<div id="downloads" class="clearfix">
<a href="https://github.com/empatica" id="view-on-github" class="button"><span>View on GitHub</span></a>
</div>
</header>
<p class="notes warning">Take a look a the new E4 link and E4 streaming server (previously called EmpaLink library and Windows BLE Server) <a href="index.html">E4 link and E4 streaming server</a></p>
<section id="main_content">
<h2><a id="empatica-developers-page" class="anchor" href="#empatica-developers-page" aria-hidden="true"></a>E4 Programming Interfaces</h2>
<p>E4 wristband research product are compatible with the <a href="#android">Android</a> and <a href="#ios">iOS</a> platforms using the SDK and with <a href="#windows">Windows</a> using the Bluetooth Low Energy (BLE) Server. All solutions are designed to allow real-time data streaming from E4 devices.</p>
<p>In order to build your own applications you need an API Key and the SDK(s) for your platform(s) of choice. The key is used to authenticate your applications for accounting purposes. You can read the guide <a href="https://support.empatica.com/hc/en-us/articles/206397545-Develop-your-own-app" title="Develop your own app">Develop your own app</a>.</p>
<p><small>There are no REST APIs at this time so access to data that has been uploaded to the <a href="https://www.empatica.com/connect">Empatica Connect</a> web application is only accessible through the use of the Web User Interface.</small></p>
<h2><a id="mobile-platforms" class="anchor" href="#mobile-platforms" aria-hidden="true"></a>Mobile SDKs</h2>
<p>Empatica provides developers SDKs for mobile development for Android and iOS platforms.</p>
<h3><a id="ios" class="anchor" href="#ios" aria-hidden="true"></a>iOS SDK</h3>
<h4>EmpaLink 0.7 <span class="notes warning">DEPRECATED</span></h4>
<p>You can find info on how to develop your mobile application using the <a href="ios-sdk-tutorial-070.html">Empatica SDK for iOS tutorial</a>. Sample projects are provided that demonstrate <a href="http://empatica.github.io/empatica-ios-sdk-sample-project-0.7.3-single-device.zip">single</a> and <a href="http://empatica.github.io/empatica-ios-sdk-sample-project-0.7.3-multiple-devices.zip">multiple</a> Empatica E4 wristbands connections from your iOS device.</p>
<p><code>
EmpaLink.framework is the legacy version of the framework. The minimum deployment target is iOS 7.0
</code></p>
<p>For more detailed information check <a href="ios-sdk-api-reference-070.html">EmpaLink 0.7 API reference</a></p>
<h3><a id="android" class="anchor" href="#android" aria-hidden="true"></a>Android SDK</h3>
<h4>EmpaLink 2.2 <span class="notes warning">DEPRECATED</span></h4>
<p>For development in Java on your prefered environment, EmpaLink for Android offers developers access to real-time data-streams from within your Android application. E4 data can be retrieved using the following methods:</p>
<table style="width:100%;">
<tr>
<th>Return Type</th>
<th>Method</th>
<th>Description</th>
</tr>
<tr>
<td>void</td>
<td><strong>didReceiveAcceleration</strong>(int x, int y, int z, double timestamp)</td>
<td>This method is invoked when a new acceleration value is available</td>
</tr>
<tr>
<td>void</td>
<td><strong>didReceiveBatteryLevel</strong>(float level, double timestamp)</td>
<td>This method is invoked when a new battery level value is available</td>
</tr>
<tr>
<td>void</td>
<td><strong>didReceiveBVP</strong>(float bvp, double timestamp)</td>
<td>This method is invoked when a new BVP value is available</td>
</tr>
<tr>
<td>void</td>
<td><strong>didReceiveGSR</strong>(float gsr, double timestamp)</td>
<td>This method is invoked when a new GSR value is available</td>
</tr>
<tr>
<td>void</td>
<td><strong>didReceiveIBI</strong>(float ibi, double timestamp)</td>
<td>This method is invoked when a new interbeat interval (IBI) value is available</td>
</tr>
<tr>
<td>void</td>
<td><strong>didReceiveTemperature</strong>(float temp, double timestamp)</td>
<td>This method is invoked when a new temperature value is available</td>
</tr>
</table>
<p></p>
<p>Note that button press/event mark timing is not yet available on the Android platform.</p> <p>You can find additional info, including a complete tutorial, on the <a href="android-sdk-tutorial-200-legacy.html">Empatica SDK for Android tutorial</a>.</p>
<h4>Sample project</h4>
<p>A sample console app that demonstrates how to establish a streaming connection to the E4 wristband can be found on the <a href="https://github.com/empatica/empalink-sample-project-android">Empalink Sample Project for Android GitHub project</a>. For simplicity the project demonstrates EDA streaming for ten-seconds - all other arguments are commented out.</p>
<h2><a id="streaming-servers" class="anchor" href="#streaming-servers" aria-hidden="true"></a>Streaming servers</h2>
<h4>BLE Server <span class="notes warning">DEPRECATED</span></h4>
<p>Stream data from one or more E4 wristbands into your Windows-based application with the Empatica BLE Server for Windows. Empatica’s Windows BLE Server solution operates exclusively with the <a href="https://www.silabs.com/wireless/bluetooth/bluegiga-low-energy-legacy-modules/device.bled112">BlueGiga BLED112 Bluetooth Smart Dongle.</a> </p>
<p>The Empatica BLE Server is a Windows application that can connect to multiple Empatica E4 devices using Bluetooth and stream data to local endpoint using multiple socket connections. Instructions about the Empatica BLE server are available at <a href="windows-ble-server.html">Empatica BLE server documentation</a>.</p>
<h4><a id="ble-client" class="anchor" href="#ble-client" aria-hidden="true"></a>BLE client <span class="notes warning">DEPRECATED</span></h4>
<p>The Empatica BLE Client application, developed in C#, is an demonstration console that works in conjunction with the BLE Server in the Windows platform. Instructions and client source-code available at: <a href="https://github.com/empatica/ble-server-client-windows">Empatica BLE client GitHub project</a>.</p>
<p></p>
<h2>
<a id="support-or-contact" class="anchor" href="#support-or-contact" aria-hidden="true"></a>Support or Contact
</h2>
<p>Having trouble with Empatica E4 software for Developers? <a href="mailto:[email protected]">Contact Support</a> and we’ll help you sort it out.</p>
</section>
<footer>
<p>Copyright © 2018 Empatica Inc.</p>
</footer>
</div>
</div>
</body>
</html>