The chat responses are generated using Generative AI technology for intuitive search and may not be entirely accurate. They are not intended as professional advice. For full details, including our use rights, privacy practices and potential export control restrictions, please refer to our Generative AI Service Terms of Use and Generative AI Service Privacy Information. As this is a test version, please let us know if something irritating comes up. Like you get recommended a chocolate fudge ice cream instead of an energy managing application. If that occurs, please use the feedback button in our contact form!
Skip to content
Industrial IoT Open Source Tools and Libraries

Demo applications, libraries and SDKs as well as useful connectivity tools which are maintained and released as open source software.

mdsp oe-device-status Command¶

Syntax:

mdsp oe-device-status

Help:

mdsp oe-device-status --help

Alternative form:

mc oe-device-status

(The CLI was using mc as default command name in older versions)

Description¶

list, get, or update (open edge) device status information *

Usage¶

Parameter list:

Usage: mdsp oe-device-status|oeds [options]

list, get, or update (open edge) device status information *

Options:
 -m, --mode [list|info|update|template] list | info | update | template (default: "list")
 -i, --deviceid the device id
 -t, --target [health|health-config-data|inventory|connection-status] type of status information to retrieve or to update. [ health |
 health-config-data | inventory | connection-status] (default: "health")
 -w, --softwaretype [APP|FIRMWARE] software type [ APP | FIRMWARE ]
 -s, --softwareid software id
 -f, --file openedge.*.mdsp.json file with update information definition
 -o, --overwrite overwrite template file if it already exists
 -k, --passkey passkey
 -y, --retry retry attempts before giving up (default: "3")
 -v, --verbose verbose output
 -h, --help display help for command

Examples¶

Here are some examples of how to use the mdsp oe-device-status command:

 Examples:

 mdsp oe-device-status --mode list --deviceid 
 list all installed software on the device
 mdsp oe-device-status --mode list --deviceid 12345... --softwaretype APP
 list all apps installed on the device
 mdsp oe-device-status --mode info --target health --deviceid 
 get the device health status
 mdsp oe-device-status --mode info --target health-config-data --deviceid 
 get the device health config data
 mdsp oe-device-status --mode info --target inventory --deviceid 
 get the software inventory of the device
 mdsp oe-device-status --mode info --target connection-status --deviceid 
 get the device connection status
 mdsp oe-device-status --mode template --target inventory
 create template file for software inventory
 mdsp oe-device-status --mode template --target connection-status 
 create template file for connection status
 mdsp oe-device-status --mode update --target inventory --file openedge.inventory.mdsp.json --deviceid 
 update the software inventory of the device
 mdsp oe-device-status --mode update --target connection-status --deviceid 
 send a heartbeat to the device

See Insights Hub API documentation for more information about Insights Hub APIs.