By albusaidi, 28 June, 2018 Forums Gurux DLMS for Java Hi How to add Conformances to gurux.dlms.client.example.java in order to establish the connection? for example , <!--AARQ frame.--> <FrameType Value="10" /> <PDU> <AssociationRequest> <ApplicationContextName Value="LN" /> <SenderACSERequirements Value="1" /> <MechanismName Value="Low" /> <CallingAuthentication Value="3030303030303031" /> <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> I would like to change Conformance Bit or add new. also how to change ProposedMaxPduSize Value?? Regards Conformance Hi, You can change conformance like this: client.getProposedConformance().remove(Conformance.ACTION); Max PDU size: client.setMaxReceivePDUSize(100); BR, Mikko Log in or register to post comments
Conformance Hi, You can change conformance like this: client.getProposedConformance().remove(Conformance.ACTION); Max PDU size: client.setMaxReceivePDUSize(100); BR, Mikko
Conformance
Hi,
You can change conformance like this:
client.getProposedConformance().remove(Conformance.ACTION);
Max PDU size:
client.setMaxReceivePDUSize(100);
BR,
Mikko