-
Notifications
You must be signed in to change notification settings - Fork 3
/
windows-streaming-server.html
85 lines (64 loc) · 5.09 KB
/
windows-streaming-server.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
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>E4 streaming server</title>
<meta name="description" content="E4 streaming server allows to receive realtime data from multiple Empatica E4 devices.">
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="highlight/styles/github.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" 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]-->
<!-- 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>
<script src="highlight/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body>
<div id="container">
<div class="inner">
<header>
<p><a href="/">E4 for Developers</a> > E4 streaming server</p>
<h1>E4 streaming server</h1>
<h2>for Windows</h2>
<h6>Updated May, 2018</h6>
</header>
<section id="main_content">
<p>This is a <strong>reference guide</strong> for the communication protocol of the E4 streaming server.</p>
<p>The E4 streaming server allows to forward <strong>realtime data</strong> of multiple Empatica E4 devices to multiple TCP socket connections. Please note that each TCP connection can receive data from only one Empatica E4 device. To connect to multiple devices, multiple TCP connections are required.<br/>
The E4 streaming server is intended to make the data streams available to scripts and applications. However, the data streams can also be easily accessed e.g. for testing purposes with <a href="https://en.wikipedia.org/wiki/Telnet">Telnet</a>.</p>
<figure>
<img style="width: 600px;" src="images/E4_streaming_server_scheme.jpg"/>
<figcaption><strong>Figure 1:</strong> Illustration of the connectivity and function of the E4 streaming server. On one side are E4s, connected over BTLE to the E4 streaming server using the BLED112 dongle. On the other side are TCP clients, connected to the E4 streaming server through TCP connections over the network. The lines originating from the E4s illustrate the data flow from the E4 through the E4 streaming server to the subscribed TCP client. For example, the data from the first E4 is forwarded by the E4 streaming server to the first and third TCP client.</figcaption>
</figure>
<h3>Getting Started</h3>
<p></p>
<p>Please visit the <a href="windows-streaming-server-usage.html">Using E4 streaming server</a> page to learn about how to get the E4 streaming server started in Windows and how to connect E4s.</p>
<p>To find out how a connected TCP client communicates with the E4 streaming server, please refer to the page <a href="windows-streaming-server-commands.html">Message Protocol</a>. There you will also find a <a href="windows-streaming-server-commands.html#protocol-example">protocol example</a>.</p>
<p>The message structure of the live data is described on the page <a href="windows-streaming-server-data.html">Data Streaming Packets</a>.</p>
<p>Sample client C# code can be found in this <a href="https://github.com/empatica/ble-client-windows">github repository</a>.</p>
<footer>
<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>
</footer>
</section>
</div>
</div>
</body>
</html>