Skip to main content

Module device_info

Module device_info 

Source
Expand description

Decode the WAN API v2.0.0 device-information example for a commissioned logical device.

Structs§

DeviceInfo
Values read directly from the device-info object, excluding component inventory.

Enums§

DeviceInfoError
Stable failure categories. These carry no peer-provided identifiers or XML.

Constants§

MAX_XML_BYTES
Maximum size of the decoded XML document in this lab profile.
MAX_XML_DEPTH
Maximum element nesting, counting the document element as depth one.
XML_MEDIA_TYPE
Media type of decoded COSEM XML in the WAN API.

Functions§

decode_device_info
Read the example’s unannotated fw_version representation. The requested logical device includes its .sm suffix. All three identity fields must agree. Unsupported version/active representations require a separate reviewed mapping.