|
@ -465,9 +465,17 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b |
|
|
<li><a href="#_stop_iot_server">2.3.2. stop IoT server</a></li> |
|
|
<li><a href="#_stop_iot_server">2.3.2. stop IoT server</a></li> |
|
|
<li><a href="#_start_iot_client">2.3.3. start IoT client</a></li> |
|
|
<li><a href="#_start_iot_client">2.3.3. start IoT client</a></li> |
|
|
<li><a href="#_stop_iot_client">2.3.4. stop IoT client</a></li> |
|
|
<li><a href="#_stop_iot_client">2.3.4. stop IoT client</a></li> |
|
|
<li><a href="#_start_iot_webclient">2.3.5. start IoT webclient</a></li> |
|
|
<li><a href="#_start_iot_client_n">2.3.5. start IoT client-n</a></li> |
|
|
<li><a href="#_stop_iot_webclient">2.3.6. stop IoT webclient</a></li> |
|
|
<li><a href="#_stop_iot_client_n">2.3.6. stop IoT client-n</a></li> |
|
|
<li><a href="#_use_webclient">2.3.7. Use webclient</a></li> |
|
|
<li><a href="#_start_iot_webclient">2.3.7. start IoT webclient</a></li> |
|
|
|
|
|
<li><a href="#_stop_iot_webclient">2.3.8. stop IoT webclient</a></li> |
|
|
|
|
|
<li><a href="#_stop_all_services">2.3.9. stop All services</a></li> |
|
|
|
|
|
</ul> |
|
|
|
|
|
</li> |
|
|
|
|
|
<li><a href="#_use_webclient">2.4. Use webclient</a> |
|
|
|
|
|
<ul class="sectlevel3"> |
|
|
|
|
|
<li><a href="#_send_data_in_request_body_with_get">2.4.1. send data in request body with GET</a></li> |
|
|
|
|
|
<li><a href="#_using_sockets_to_send_and_receive_data">2.4.2. Using Sockets to send and receive data</a></li> |
|
|
</ul> |
|
|
</ul> |
|
|
</li> |
|
|
</li> |
|
|
</ul> |
|
|
</ul> |
|
@ -735,7 +743,25 @@ cd iot-swarm-example</code></pre> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="sect3"> |
|
|
<div class="sect3"> |
|
|
<h4 id="_start_iot_webclient">2.3.5. start IoT webclient</h4> |
|
|
<h4 id="_start_iot_client_n">2.3.5. start IoT client-n</h4> |
|
|
|
|
|
<div class="listingblock bash"> |
|
|
|
|
|
<div class="content"> |
|
|
|
|
|
<pre class="highlight"><code>cd iot-swarm-example |
|
|
|
|
|
./start-iotclient-n.sh</code></pre> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="sect3"> |
|
|
|
|
|
<h4 id="_stop_iot_client_n">2.3.6. stop IoT client-n</h4> |
|
|
|
|
|
<div class="listingblock bash"> |
|
|
|
|
|
<div class="content"> |
|
|
|
|
|
<pre class="highlight"><code>cd iot-swarm-example |
|
|
|
|
|
./stop-iotclient-n.sh</code></pre> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="sect3"> |
|
|
|
|
|
<h4 id="_start_iot_webclient">2.3.7. start IoT webclient</h4> |
|
|
<div class="listingblock bash"> |
|
|
<div class="listingblock bash"> |
|
|
<div class="content"> |
|
|
<div class="content"> |
|
|
<pre class="highlight"><code>cd iot-swarm-example |
|
|
<pre class="highlight"><code>cd iot-swarm-example |
|
@ -744,7 +770,7 @@ cd iot-swarm-example</code></pre> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="sect3"> |
|
|
<div class="sect3"> |
|
|
<h4 id="_stop_iot_webclient">2.3.6. stop IoT webclient</h4> |
|
|
<h4 id="_stop_iot_webclient">2.3.8. stop IoT webclient</h4> |
|
|
<div class="listingblock bash"> |
|
|
<div class="listingblock bash"> |
|
|
<div class="content"> |
|
|
<div class="content"> |
|
|
<pre class="highlight"><code>cd iot-swarm-example |
|
|
<pre class="highlight"><code>cd iot-swarm-example |
|
@ -753,7 +779,17 @@ cd iot-swarm-example</code></pre> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="sect3"> |
|
|
<div class="sect3"> |
|
|
<h4 id="_use_webclient">2.3.7. Use webclient</h4> |
|
|
<h4 id="_stop_all_services">2.3.9. stop All services</h4> |
|
|
|
|
|
<div class="listingblock bash"> |
|
|
|
|
|
<div class="content"> |
|
|
|
|
|
<pre class="highlight"><code>cd iot-swarm-example |
|
|
|
|
|
./stop-all.sh</code></pre> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="sect2"> |
|
|
|
|
|
<h3 id="_use_webclient">2.4. Use webclient</h3> |
|
|
<div class="paragraph"> |
|
|
<div class="paragraph"> |
|
|
<p>open in Browser: <a href="http://localhost:8080" class="bare">http://localhost:8080</a></p> |
|
|
<p>open in Browser: <a href="http://localhost:8080" class="bare">http://localhost:8080</a></p> |
|
|
</div> |
|
|
</div> |
|
@ -763,11 +799,32 @@ cd iot-swarm-example</code></pre> |
|
|
<div class="paragraph"> |
|
|
<div class="paragraph"> |
|
|
<p>open Web Developer with ctrl+shift+K</p> |
|
|
<p>open Web Developer with ctrl+shift+K</p> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div class="sect3"> |
|
|
|
|
|
<h4 id="_send_data_in_request_body_with_get">2.4.1. send data in request body with GET</h4> |
|
|
<div class="paragraph"> |
|
|
<div class="paragraph"> |
|
|
<p>type text in <em>"Get iot Data"</em> and klick on it</p> |
|
|
<p>type text in <em>"Get iot Data"</em> and klick on it</p> |
|
|
</div> |
|
|
</div> |
|
|
<div class="paragraph"> |
|
|
<div class="paragraph"> |
|
|
<p>See in</p> |
|
|
<p>See <em>"action"</em> in</p> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="ulist"> |
|
|
|
|
|
<ul> |
|
|
|
|
|
<li> |
|
|
|
|
|
<p><strong>Console</strong> in browser</p> |
|
|
|
|
|
</li> |
|
|
|
|
|
<li> |
|
|
|
|
|
<p>and in Linux <strong>Terminal</strong></p> |
|
|
|
|
|
</li> |
|
|
|
|
|
</ul> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="sect3"> |
|
|
|
|
|
<h4 id="_using_sockets_to_send_and_receive_data">2.4.2. Using Sockets to send and receive data</h4> |
|
|
|
|
|
<div class="paragraph"> |
|
|
|
|
|
<p>type text in editor box</p> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="paragraph"> |
|
|
|
|
|
<p>See <em>"action"</em> in</p> |
|
|
</div> |
|
|
</div> |
|
|
<div class="ulist"> |
|
|
<div class="ulist"> |
|
|
<ul> |
|
|
<ul> |
|
@ -2365,7 +2422,7 @@ console.error('socket.io example');</code></pre> |
|
|
</div> |
|
|
</div> |
|
|
<div id="footer"> |
|
|
<div id="footer"> |
|
|
<div id="footer-text"> |
|
|
<div id="footer-text"> |
|
|
Last updated 2020-10-28 16:29:50 UTC |
|
|
Last updated 2020-10-28 18:59:27 UTC |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</body> |
|
|
</body> |
|
|