iot-sol
Version:
Intel(r) IoT Services Orchestration Layer - HTML5 IDE + Node.js middleware to create and host distributed IoT Apps in minutes
48 lines (46 loc) • 1.8 kB
HTML
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="generator" content="pandoc" />
<meta name="author" content="Copyright 2015 Intel Corporation All Rights Reserved." />
<title>IoT Services Orchestration Layer</title>
<style type="text/css">code{white-space: pre;}</style>
<link rel="stylesheet" href="styles/style.css" type="text/css" />
</head>
<body>
<div id="header">
<h1 class="title">IoT Services Orchestration Layer</h1>
<h2 class="author">Copyright 2015 Intel Corporation All Rights Reserved.</h2>
</div>
<div id="TOC">
<ul>
<li><a href="#user-defined">User defined</a><ul>
<li><a href="#f">f</a><ul>
<li><a href="#description">Description</a></li>
<li><a href="#config">Config</a></li>
<li><a href="#inport">Inport</a></li>
<li><a href="#outport">Outport</a></li>
<li><a href="#example">Example</a></li>
</ul></li>
</ul></li>
</ul>
</div>
<h1 id="user-defined">User defined</h1>
<h2 id="f">f</h2>
<h3 id="description">Description</h3>
<p>This service invokes user defined function.</p>
<h3 id="config">Config</h3>
<p><code>f(x)</code>: String. The body of user defined function (Javascript Language)</p>
<h3 id="inport">Inport</h3>
<p><code>x</code>: Any. The argument of user defined function.</p>
<h3 id="outport">Outport</h3>
<p><code>out</code>: Any. The result of user defined function.</p>
<h3 id="example">Example</h3>
<div class="figure">
<img src="./pic/fx.jpg" />
</div>
<p>In this example, we will get "fail" if <code>x</code> < 60, else will get "pass".</p>
</body>
</html>