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. Exception Response Received: Instance ID 0.0.42.0.0.255

Exception Response Received: Instance ID 0.0.42.0.0.255

By girija , 4 October, 2024
Forums
Gurux.Serial

Hello Sir,

Recently we got our Smart Gas Meter tested in CTT 4.3 release 103 for certification. In the test "Read logical_name' of an instance Id 0.0.42.0.0.255 returns "Exception Response" in PC mode.
Here is the Request-Response Hex values.

1: 7E A0 19 03 21 76 4F DC E6 E6 00 C0 01 C1 00 01 00 00 2A 00 00 FF 01 00 7A AA 7E
<HDLC len="18" >
<TargetAddress Value="1" />
<SourceAddress Value="10" />
<FrameType Value="76" />
<PDU>
<GetRequest>
<GetRequestNormal>
<!-- Priority: High, ServiceClass: Confirmed, Invoke ID: 1 -->
<InvokeIdAndPriority Value="C1" />
<AttributeDescriptor>
<!-- Data -->
<ClassId Value="0001" />
<!-- 0.0.42.0.0.255 -->
<InstanceId Value="00002A0000FF" />
<AttributeId Value="01" />
</AttributeDescriptor>
</GetRequestNormal>
</GetRequest>
</PDU>
</HDLC>
2: 7E A0 0F 21 03 96 7A 15 E6 E7 00 D8 01 02 A7 71 7E
<HDLC len="E" >
<TargetAddress Value="10" />
<SourceAddress Value="1" />
<FrameType Value="96" />
<PDU>
<ExceptionResponse>
<StateError Value="ServiceNotAllowed" />
<ServiceError Value="ServiceNotSupported" />
</ExceptionResponse>
</PDU>
</HDLC>

The same test passes in MR mode testing. Below is the Request-Response Hex values of MR.

3: 7E A0 19 03 41 76 1A B9 E6 E6 00 C0 01 C1 00 01 00 00 2A 00 00 FF 01 00 7A AA 7E
<HDLC len="18" >
<TargetAddress Value="1" />
<SourceAddress Value="20" />
<!-- Invalid I Frame: 76. Expected: 98 -->
<FrameType Value="76" />
<PDU>
<GetRequest>
<GetRequestNormal>
<!-- Priority: High, ServiceClass: Confirmed, Invoke ID: 1 -->
<InvokeIdAndPriority Value="C1" />
<AttributeDescriptor>
<!-- Data -->
<ClassId Value="0001" />
<!-- 0.0.42.0.0.255 -->
<InstanceId Value="00002A0000FF" />
<AttributeId Value="01" />
</AttributeDescriptor>
</GetRequestNormal>
</GetRequest>
</PDU>
</HDLC>
4: 7E A0 18 41 03 96 B7 84 E6 E7 00 C4 01 C1 00 09 06 00 00 2A 00 00 FF C0 57 7E
<HDLC len="17" >
<TargetAddress Value="20" />
<SourceAddress Value="1" />
<!-- Invalid I Frame: 96. Expected: 98 -->
<FrameType Value="96" />
<PDU>
<GetResponse>
<GetResponseNormal>
<!-- Priority: High, ServiceClass: Confirmed, Invoke ID: 1 -->
<InvokeIdAndPriority Value="C1" />
<Result>
<Data>
<!-- 0.0.42.0.0.255 -->
<OctetString Value="00002A0000FF" />
</Data>
</Result>
</GetResponseNormal>
</GetResponse>
</PDU>
</HDLC>

Where am I making mistake?
Kindly guide me.

Regards,
Girija

Profile picture for user Kurumi

Kurumi

1 year 10 months ago

Hi, Your meter is returning…

Hi,

Your meter is returning an error and I don't know why because I don't have your source code.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Mon, 08/17/2026 - 09:47
    gurux.dlms.cpp 9.0.2608.1701
  • Mon, 08/17/2026 - 09:25
    gurux.dlms.c 9.0.2608.1701
  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201

New forum topics

  • negative indexing for custom method/attribute
  • System title
  • Elster a1800 clock reset to year 2000 with one tariff billing
  • Possible memory leak in file dlms.c, getCompactArrayItem(), getCompactArrayItem2()
  • Official Gurux.DLMS.Client.Example.Net fails during High GMAC secure association (Invalid PDU), while Gurux Director connects successfully
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin