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
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