By HERO , 18 August, 2020 Forums Gurux.DLMS Hi, I am working with Gurux.DLMS Python for electric meter. I am trying to set Conformance but It couldn't set to the wanted values. I add this part in the code: self.client.proposedConformance = Conformance.ACTION | Conformance.EVENT_NOTIFICATION | Conformance.SELECTIVE_ACCESS | Conformance.SET | Conformance.GET | Conformance.MULTIPLE_REFERENCES | Conformance.BLOCK_TRANSFER_WITH_ACTION | Conformance.BLOCK_TRANSFER_WITH_SET_OR_WRITE | Conformance.BLOCK_TRANSFER_WITH_GET_OR_READ | Conformance.ATTRIBUTE_0_SUPPORTED_WITH_GET | Conformance.PRIORITY_MGMT_SUPPORTED | Conformance.ATTRIBUTE_0_SUPPORTED_WITH_SET The output: aarqRequest TX: 20:49:50 7E A0 2C 02 21 21 10 17 2A E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 80 10 FF FF 37 5B 7E RX: 20:49:50 7E A0 38 21 02 21 30 84 D4 E6 E7 00 61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 00 00 10 04 C8 00 07 DE 6D 7E ------------ <HDLC len="43" > <TargetAddress Value="144" /> <SourceAddress Value="16" /> <!--AARQ frame.--> <FrameType Value="10" /> <PDU> <AssociationRequest> <ApplicationContextName Value="LN" /> <InitiateRequest> <ProposedDlmsVersionNumber Value="6" /> <ProposedConformance> <ConformanceBit Name="Get" /> <ConformanceBit Name="Attribute0SupportedWithSet" /> </ProposedConformance> <ProposedMaxPduSize Value="65535" /> </InitiateRequest> </AssociationRequest> </PDU> </HDLC> ########################################################### The correct AARQ Request (I got it from the GXDLMSDirector software): Send AARQ request. TX: 7E A0 2C 02 21 21 10 17 2A E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 1D FF FF C5 E4 7E RX: 7E A0 2C 02 21 21 10 17 2A E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 1D FF FF C5 E4 7E 7E A0 38 21 02 21 30 84 D4 E6 E7 00 61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 00 12 19 04 C8 00 07 5C 76 7E -------------------- <HDLC len="43" > <TargetAddress Value="144" /> <SourceAddress Value="16" /> <!--AARQ frame.--> <FrameType Value="10" /> <PDU> <AssociationRequest> <ApplicationContextName Value="LN" /> <InitiateRequest> <ProposedDlmsVersionNumber Value="6" /> <ProposedConformance> <ConformanceBit Name="Action" /> <ConformanceBit Name="SelectiveAccess" /> <ConformanceBit Name="Set" /> <ConformanceBit Name="Get" /> <ConformanceBit Name="MultipleReferences" /> <ConformanceBit Name="BlockTransferWithAction" /> <ConformanceBit Name="BlockTransferWithSetOrWrite" /> <ConformanceBit Name="BlockTransferWithGetOrRead" /> </ProposedConformance> <ProposedMaxPduSize Value="65535" /> </InitiateRequest> </AssociationRequest> </PDU> </HDLC> How Can be solved ? Hi, Hi, There is a bug. I added an issue from this and this is fixed ASAP. http://www.gurux.fi/node/16552 I know the reason so a new version is released soon. BR, Mikko Hi, Hi, Yes. The problem is solved with the update. Thanks, Hi, Hi, Thank you from this info. BR, Mikko
Hi, Hi, There is a bug. I added an issue from this and this is fixed ASAP. http://www.gurux.fi/node/16552 I know the reason so a new version is released soon. BR, Mikko
Hi,
Hi,
There is a bug. I added an issue from this and this is fixed ASAP.
http://www.gurux.fi/node/16552
I know the reason so a new version is released soon.
BR,
Mikko
Hi,
Hi,
Yes.
The problem is solved with the update.
Thanks,
Hi,
Hi,
Thank you from this info.
BR,
Mikko