Applications
Develop Python applications
LR54 User Guide
731
<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 LR54
Serial Number
: LR54-000068
Hostname
: LR54
MAC
: 00:40:D0:13:35:36
Hardware Version
: 50001959-01 A
Firmware Version
: 22.8.33.50
Bootloader Version
: 1
Firmware Build Date
: Mon, 26 August 2022 03:41:00
Schema Version
: 461
Timezone
: UTC
Current Time
: Mon, 26 August 2022 03:41:00
CPU
: 1.1
Uptime
: 1 day, 21 hours, 49 minutes, 47
seconds (164987s)
Temperature
: 39C
Contact
: Jane Smith
Disk
----
Load Average
: 0.10, 0.05, 0.00
RAM Usage
: 85.176MB/250.484MB(34%)
Disk /etc/config Usage
: 0.068MB/13.416MB(1%)
Disk /opt Usage
: 47.724MB/5309.752MB(1%)
Disk /overlay Usage
: MB/MB(%)
Disk /tmp Usage
: 0.004MB/40.96MB(0%)
Disk /var Usage
: 0.820MB/32.768MB(3%)</device_
request>
</requests>