Difference between revisions of "Sample Plugin for DevMgt"

From ESS-WIKI
Jump to: navigation, search
Line 7: Line 7:
 
= Demo =
 
= Demo =
  
[[File:DevMgtSample Overall.jpg|600x400px]]
+
[[File:DevMgtSample Overall.jpg|600x400px|DevMgtSample Overall.jpg]]
  
  
  
= Protocol =
+
= Protocol =
  
 
1. Handler reports its Capability and data value
 
1. Handler reports its Capability and data value
Line 23: Line 23:
  
  
= '''<span style="font-size:larger;"></span>'''Code =
+
= Code =
  
 
== '''<span style="font-size:larger;">Simulator Data</span>''' ==
 
== '''<span style="font-size:larger;">Simulator Data</span>''' ==
  
== [[File:DevMgtSample-Code-JSON.jpg|1200x300px|DevMgtSample-Code-JSON.jpg]] ==
+
[[File:DevMgtSample-Code-JSON.jpg|1200x300px|DevMgtSample-Code-JSON.jpg]]
  
 
== <span style="font-size:larger;">'''Update Handler Capabliity /&nbsp;Register child Devices &&nbsp;Capability&nbsp; / Auto Update child device data'''</span> ==
 
== <span style="font-size:larger;">'''Update Handler Capabliity /&nbsp;Register child Devices &&nbsp;Capability&nbsp; / Auto Update child device data'''</span> ==
  
== [[File:DevMgtSample-Code-Register-AutoReport.jpg|800x1200px|DevMgtSample-Code-Register-AutoReport.jpg]]&nbsp; ==
+
[[File:DevMgtSample-Code-Register-AutoReport.jpg|800x1200px|DevMgtSample-Code-Register-AutoReport.jpg]]
  
 
= Release =
 
= Release =

Revision as of 06:32, 9 May 2018

Introduction

   This DevMgt hanlder sample code is descripting "How to retransmit child devices that connected through a EI-Agent's plugin".


Demo

DevMgtSample Overall.jpg


Protocol

1. Handler reports its Capability and data value

2. Register a new child device

3. Send child device's capability 

4. Auto report child device's data


Code

Simulator Data

DevMgtSample-Code-JSON.jpg

Update Handler Capabliity / Register child Devices & Capability  / Auto Update child device data

DevMgtSample-Code-Register-AutoReport.jpg

Release

Item Name Version Download
1 DevMgtSample-v1.0.1-20180509.zip
v1.0.1  Download Link