Device Status
glp/0/{SID}/fb/dev/{Edge_Protocol_ID}/{Handle}/sts |
Device status information is available in the feedback channel. The device’s status object reports various properties including the current state, whether some action is in progress, what the last error or alarm was, etc.
Device Status Objects
Field Name | Type | Notes | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
action | string | The name of the pending action, or null if none. Multiple actions can be triggered in rapid succession. The processor queues the actions and executes them in the order received, or in parallel where this is possible. Tools write to the action object to the request channel. Feedback is provided with the device’s status object through the feedback channel, and with error or warning diagnostics in the event channel if necessary. | ||||||||
addr | any | Contains protocol-specific addressing data. While not used by IAP, this can be useful for troubleshooting. The format of the address provided is specific to the processor. | ||||||||
cat | string | There are three fundamental device categories that represent a wide range of devices and applications:
| ||||||||
health | string | A device’s health is reported as one of these:
An ill health does not automatically affect the device’s state. For example, the device might still be provisioned (a state) but difficult to reach (suspect health). | ||||||||
interfaceType | string | Either “static”, “dynamic”. Dynamic interfaces support creation or deletion of interface blocks, properties and datapoints. The property is optional and defaults to “static” when not present. | ||||||||
manufacturer | string | (Can be null) Device manufacturer’s name, where available. | ||||||||
product | string | (Can be null) Alphanumeric product name, where available. | ||||||||
routing | any | (Can be null) routing is used to help restore a network following an edge server or edge device replacement. See the description of routing in Create Action Properties. | ||||||||
state | string | The state property describes the known state as provisioned, unprovisioned, or unknown. Example: "provisioned" | ||||||||
type | string | A device type indicator, interpreted based on the edge protocol. Example: “80000112345604” | ||||||||
unid | string | The device’s unique identifier within its edge protocol within the segment that contains it, typically a physical address such as a MAC ID. Example: "050301C0D0B0" | ||||||||
usage | string | A device application usage indicator. Possible values depend on the cat field (described above).
| ||||||||
version | string | Application version information in the format: M.NN.BBB Example: “1.23.031” |
glp/0/17qehie/fb/sts { "health":null, "state":"provisioned", "lon": { "ni": { "local": { "channelType":"internal" }, "lon0": { "channelType":"TP_FT-10" } } }, "mru":"2023-07-11 13:56:59.289 UTC" }