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. Change The Frame

Change the frame

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 morphheus , 29 June, 2018
Forums
Gurux DLMS for Java

Hi Mikko,

I have this frame:

<HDLC len="54" >
<TargetAddress Value="1" />
<SourceAddress Value="1" />
<!--AARE frame.-->
<FrameType Value="30" />
<PDU>
<AssociationResponse>
<ApplicationContextName Value="LN" />
<AssociationResult Value="0" />
<ResultSourceDiagnostic>
<ACSEServiceUser Value="0" />
</ResultSourceDiagnostic>
<InitiateResponse>
<NegotiatedDlmsVersionNumber Value="6" />
<NegotiatedConformance>
<ConformanceBit Name="Action" />
<ConformanceBit Name="EventNotification" />
<ConformanceBit Name="SelectiveAccess" />
<ConformanceBit Name="Set" />
<ConformanceBit Name="Get" />
<ConformanceBit Name="BlockTransferWithSetOrWrite" />
<ConformanceBit Name="BlockTransferWithGetOrRead" />
</NegotiatedConformance>
<NegotiatedMaxPduSize Value="500" />
<VaaName Value="7" />
</InitiateResponse>
</AssociationResponse>
</PDU>
</HDLC>

<HDLC len="24" >
<TargetAddress Value="1" />
<SourceAddress Value="1" />
<!--I frame.-->
<FrameType Value="32" />
<PDU>
<GetRequest>
<GetRequestNormal>
<InvokeIdAndPriority Value="193" />
<AttributeDescriptor>
<!--ASSOCIATION_LOGICAL_NAME-->
<ClassId Value="15" />
<!--0.0.40.0.0.255-->
<InstanceId Value="0000280000FF" />
<AttributeId Value="2" />
</AttributeDescriptor>
</GetRequestNormal>
</GetRequest>
</PDU>
</HDLC>

I would like to change this value: <!--0.0.40.0.0.255-->

<HDLC len="24" >
<TargetAddress Value="1" />
<SourceAddress Value="1" />
<!--I frame.-->
<FrameType Value="32" />
<PDU>
<GetRequest>
<GetRequestNormal>
<InvokeIdAndPriority Value="193" />
<AttributeDescriptor>
<!--DATA-->
<ClassId Value="1" />
<!--0.0.96.1.4.255-->
<InstanceId Value="0000600104FF" />
<AttributeId Value="2" />
</AttributeDescriptor>
</GetRequestNormal>
</GetRequest>
</PDU>
</HDLC>

BR,

Morphheus

Profile picture for user Kurumi

Kurumi

7 years 11 months ago

Change the frame

Hi Morphheus,

Read data with GXDLMSDirector. Copy sent trace to the GuruxDLMSTranslator
http://www.gurux.fi/GuruxDLMSTranslator?translate

Press "To Conformace Test" button.

Now you have frame what you want to.

BR,

Mikko

morphheus

7 years 11 months ago

Hi Mikko,

I would like to change this value: <!--0.0.40.0.0.255--> to <!--0.0.96.1.4.255--> through to gurux.dlms.client.example (java project)

Is it related to ClassId Value?
How to change that on java code?

BR,

Morphheus

morphheus

7 years 11 months ago

SOLVED

Hi Mikko,

GXReplyData reply = new GXReplyData();
readDataBlock(dlms.read("0.0.96.1.4.255", ObjectType.DATA, 2), reply);

BR,

Morphheus

  • 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