Skip to main content

Module get

Module get 

Source
Expand description

The xDLMS GET service (IEC 62056-5-3, 6.9): read one or more COSEM object attributes.

Request bytes for GET-REQUEST-NORMAL, from IEC 62056-5-3 Annex F.1:

C0 01 C1 0001 0000800000FF 02 00
^tag                            ^^ access-selection (0 = none)
   ^^ normal   ^^ invoke-id-and-priority
        ^^^^^^^^^^^^^^^^^^^^^^^ attribute descriptor (class-id, obis, attr-id)

Modulesยง

request_type ๐Ÿ”’
Request-type octets of the GET service.
response_type ๐Ÿ”’
Response-type octets of the GET service.

Structsยง

AccessSelection
Optional selective-access parameters attached to an attribute descriptor.

Enumsยง

GetDataResult
The result carried by a GET-RESPONSE-NORMAL: either the attribute value or a data-access-result code.
GetRequest
A GET-Request APDU.
GetResponse
A GET-Response APDU.

Functionsยง

push_length ๐Ÿ”’
Writes an A-XDR length octet (short or long form).
read_length ๐Ÿ”’
Reads an A-XDR length octet, returning the length and the octets consumed.