Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. How Can I Read LIN YANG

How can i read LIN YANG

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By samira , 23 April, 2018
Forums
DLMSDirector

Hi Mikko,
Previously I asked u about LIN YANG meter and you helpful guided me that it send data with ciphering method.
I ask some information of manufacturer and understand that the frame type is 1 (0X80) and they have defined special command. They said ciphering setting is like DLMS and ciphering key is default value.
Frame format:
7E TYPE(1Byte) Frame len(1 byte) Cmd(1byte) data FCS(2byte) 7E

Cmd: Control character, stands for frame meaning, description as follows:
1) 0x00: Frame as standard Data Unit between Meter and GPRS Module;
2) 0x01/0x81/0xC1: Frame as request parameter from GPRS Module to Meter,
Request/Accept/Refuse;
3) 0x02/0x82/0xC2: Frame as parameter from Meter to GPRS Module, details/Accept/Refuse;
4) 0x03/0x83/0xC3: Frame as state information from GPRS Module to Meter,
details/Accept/Refuse;
5) Other: Reserved.
The example of AARE and AARQ is:
AARQ:
7E 80 64 00 00 01 00 30 00 01 00 57 60 55 A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 4C 59 45 30 30 30 30 31 8A 02 07 80 8B 07 60 85 74 05 08 02 01 AC 0A 80 08 38 37 36 35 34 33 32 31 BE 23 04 21 21 1F 30 17 11 33 36 7F 13 49 2A FD C5 40 BD 5A 0C D9 2E 4B E7 0F 5B E5 27 58 99 EC E9 E6 BD ED DF DE 5F 7E
AARE:
Meter 7E 80 57 00 00 01 00 01 00 30 00 4A 61 48 A1 09 06 07 60 85 74 05 08 01 03 A2 03 02 01 00 A3 05 A1 03 02 01 00 A4 0A 04 08 4C 59 45 64 72 FB 16 5F BE 23 04 21 28 1F 30 23 E5 1E DF 13 9F 4B 98 1A 81 14 E5 C8 36 77 AC C8 0F 9F A3 6A 1D 9A 26 A9 7A 0A B4 57 5C C6 EE 7E
I have these questions:
1. For reading ciphered data, if I set secured connection section of Gurux GXDLMSDirector ,can i read data with Gurux GXDLMSDirector?
2. If the setting is not correct, please send me correct sample.

Image
Profile picture for user Kurumi

Kurumi

8 years 1 month ago

How can i read LIN YANG

Hi,
I check your example from AARE and AARQ messages and it's wrong. HDLC client and server address are counted wrong. Ask meter manufacturer to fix those.
AARQ APDU looks correct.
http://www.gurux.fi/GuruxDLMSTranslator?pdu=6055A109060760857405080103A…

BR,

Mikko

samira

8 years 1 month ago

request

Hi
thanks for your reply.
In fact this not example and these are AARQ and AARE logs that exchange between GSM module and meter over their serial port(we read an OBIS after this association and displayed on server)
The manufacturer said us all of thing is default of DLMS setting(ciphering key and...)
Do you have any tools for change glo_InitiateRequest to XML?
Best regard
Samira

Profile picture for user Kurumi

Kurumi

8 years 1 month ago

How can i read LIN YANG

Hi,

Ask the manufacturer to fix HDLC client and server address. They are wrong.

7E 80 64
00 00 01 00 30 00 //This is wrong.

More information from HDLC addressing:
http://www.gurux.fi/dlmsAddress

BR,

Mikko

samira

8 years 1 month ago

thanks

thank you for your answering. I do these and i am studying and if have new question i will ask again.
Best regard
Samira

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin