Digi Connect EZ Mini User Manual page 387

Firmware version 22.2
Hide thumbs Also See for Connect EZ Mini:
Table of Contents

Advertisement

Applications
4. In Remote Manager, click Documentation > API Explorer.
5. Select the devices to use as the SCI targest:
a. Click SCI Targets.
b. Click Add Targets.
c. Enter or select the device ID of one of the devices.
d. Click Add.
e. Enter or select the device ID of the second device and click Add.
f. Click OK.
6. Click Examples > SCI > Data Service > Send Request.
Code similar to the following will be displayed in the HTTP message body text box:
<sci_request version="1.0">
<data_service>
<targets>
<device id="00000000-00000000-0000FFFF-A83CF6A3"/>
<device id="00000000-00000000-0000FFFF-485740BC"/>
</targets>
<requests>
<device_request target_name="myTarget">
my payload string
</device_request>
</requests>
</data_service>
</sci_request>
7. For the device_request element, replace the value of target_name with showSystem. This
matches the target parameter of the device_request.register function in the showsystem.py
application.
<device_request target_name="showSystem">
8. Click Send.
You should receive a response similar to the following:
<sci_reply version="1.0">
<data_service>
<device id="00000000-00000000-0000FFFF-A83CF6A3"/>
<requests>
<device_request target_name="showSystem" status="0">Model
Digi Connect EZ Mini User Guide
iii. Exit the shell:
# exit
: Digi Connect EZ
Serial Number
Hostname
MAC
Hardware Version
Firmware Version
Bootloader Version
: Connect EZ-000068
: Connect EZ
: 00:40:D0:13:35:36
: 50001959-01 A
: 22.2.9.85
: 1
Digidevice module
387

Advertisement

Table of Contents
loading

Table of Contents