Hello,
i use Gurux GXDLMSDirector to connect with my electricity meter (Landis Gyr E550) and i try to understand in details DLMS communication. I have stucked in association view part and i would like to decode information which goes from meter to computer after association request. i put log below and information which are interest me locates in "Next frame Value". I know that this information is one part of object list, but i don't know how to decode this. I would be grateful for any help.
7E A0 11 03 21 32 B7 3D E6 E6 00 05 01 02 FA 08 18 9E 7E
<HDLC len="10" >
<TargetAddress Value="1" />
<SourceAddress Value="10" />
<FrameType Value="32" />
<PDU>
<ReadRequest Qty="01" >
<VariableName Value="FA08" />
</ReadRequest>
</PDU>
</HDLC>
Hi,
i collected all the raw data which describes object list (in hex and in xml). I would like to understand algorithm, the way how the raw data is processing to get association view after association request, to extract short name references to objects from the data. I try to find the information how i could do that, but i didn't find the correct answer.
I know that i need to collect "NextFrame Value" from every frame i put them together and i know that there are informations about SN referencing of all objects of meters, but i couldn't extract them from the frames, because i don't know the algorithm.
i can put you log from the xml if you would like to see.
Hi,
Hi,
Received data is coming in frames and you need to get all the frames from the meter before you can decode the PDU (association view).
BR,
Mikko
Hi,
Hi,
i collected all the raw data which describes object list (in hex and in xml). I would like to understand algorithm, the way how the raw data is processing to get association view after association request, to extract short name references to objects from the data. I try to find the information how i could do that, but i didn't find the correct answer.
I know that i need to collect "NextFrame Value" from every frame i put them together and i know that there are informations about SN referencing of all objects of meters, but i couldn't extract them from the frames, because i don't know the algorithm.
i can put you log from the xml if you would like to see.
Hi,
Hi,
Data is split into PDUs and each PDU is split into HDLC frames. You will find basic information from HDLC here, but HDLC Framing and DLMS PDU are not very easy.
https://en.wikipedia.org/wiki/High-Level_Data_Link_Control
DLMS is standard and it's well documented. You need to get a copy from the Green Book if you are interested in this.
BR
Mikko