I am trying use the simulator to perform load testing on 1 Million meters with same replication as meter does, like secrets, ciphering etc., So I tried to modify crystal.xml but there is little understanding gap I want to fullfill.
Need crystal.xml using which Profile Generics read can be perfomed. I am able to create xml file with HIGH association but can you please provide me xml using which I can read all profile generics with all type of associations.
Below is the file which I have created with refence to the already created one:
[XML removed]
Hi, You need to add a…
Hi,
You need to add a profile generic as you added other COSEM objects. Read this as a reference:
https://gurux.fi/Gurux.DLMS.Simulator.Templates
I'll remove the XML because it is not needed.
BR,
Mikko
BR,
Mikko
I am able to create template…
I am able to create template and read profile generics but I added 1 DLMSData meter serial number and it is added into the template but when I tried to read the value for same but it is not coming.
Please verify my templates:
<?xml version="1.0" ?>
<Objects>
<GXDLMSData>
<LN>0.0.42.0.0.255</LN>
<Access>11</Access>
<Value Type="9">47 52 58 33</Value>
</GXDLMSData>
<GXDLMSData>
<LN>0.0.43.1.1.255</LN>
<Access>13</Access>
<Value Type="6">149</Value>
</GXDLMSData>
<GXDLMSAssociationLogicalName>
<LN>0.0.40.0.1.255</LN>
<Version>2</Version>
<Access>13333303333</Access>
<MethodAccess>111111</MethodAccess>
<ObjectList>
<GXDLMSData>
<LN>0.0.42.0.0.255</LN>
<Access>11</Access>
</GXDLMSData>
<GXDLMSData>
<LN>0.0.96.1.0.255</LN>
<Access>11</Access>
</GXDLMSData>
<GXDLMSClock>
<LN>0.0.1.0.0.255</LN>
<Access>133333333</Access>
<MethodAccess>000000</MethodAccess>
</GXDLMSClock>
<GXDLMSProfileGeneric>
<LN>0.0.94.91.10.255</LN>
<Access>11333333</Access>
<MethodAccess>11</MethodAccess>
</GXDLMSProfileGeneric>
</ObjectList>
<ClientSAP>48</ClientSAP>
<ServerSAP>1</ServerSAP>
<ApplicationContextName>
<JointIsoCtt>2</JointIsoCtt>
<Country>16</Country>
<CountryName>756</CountryName>
<IdentifiedOrganization>5</IdentifiedOrganization>
<DlmsUA>8</DlmsUA>
<ApplicationContext>1</ApplicationContext>
<ContextId>1</ContextId>
</ApplicationContextName>
<XDLMSContextInfo>
<Conformance>16252928</Conformance>
<MaxReceivePduSize>1024</MaxReceivePduSize>
<MaxSendPduSize>1024</MaxSendPduSize>
<DlmsVersionNumber>6</DlmsVersionNumber>
</XDLMSContextInfo>
<AuthenticationMechanismName>
<JointIsoCtt>2</JointIsoCtt>
<Country>16</Country>
<CountryName>756</CountryName>
<IdentifiedOrganization>5</IdentifiedOrganization>
<DlmsUA>8</DlmsUA>
<AuthenticationMechanismName>2</AuthenticationMechanismName>
<MechanismId>2</MechanismId>
</AuthenticationMechanismName>
<Secret>67 75 72 75 78</Secret>
<AssociationStatus>2</AssociationStatus>
<SecuritySetupReference>0.0.43.0.0.255</SecuritySetupReference>
<Users>
</Users>
</GXDLMSAssociationLogicalName>
<GXDLMSData>
<LN>0.0.96.1.0.255</LN>
<Description>Meter Serial Number</Description>
<Access>11</Access>
<Value Type="9" UIType="10">INV000003</Value>
</GXDLMSData>
<GXDLMSClock>
<LN>0.0.1.0.0.255</LN>
<Access>133333333</Access>
<MethodAccess>000000</MethodAccess>
<Time>08/12/2025 16:26:54</Time>
<Begin>*/*/2025 16:26:54</Begin>
<End>*/*/2025 16:26:54</End>
</GXDLMSClock>
<GXDLMSProfileGeneric>
<LN>0.0.94.91.10.255</LN>
<Access>11333333</Access>
<MethodAccess>11</MethodAccess>
<Buffer>
</Buffer>
<CaptureObjects>
<Item>
<ObjectType>1</ObjectType>
<LN>0.0.96.1.0.255</LN>
<Attribute>2</Attribute>
</Item>
</CaptureObjects>
<SortMethod>1</SortMethod>
</GXDLMSProfileGeneric>
</Objects>
Hi, Did you read the…
Hi,
Did you read the association view again after you added the new COSEM object?
https://gurux.fi/Gurux.DLMS.Simulator.Templates
BR,
Mikko
Hi Kurumi, Thanks it worked,…
Hi Kurumi,
Thanks it worked, and I am able to create template and access it with high association with password and able to read meter,
But I am having issue in reading same meter with authencrption while giving params in guruxdlmsdirector like title : MeterSys , authKey: MMMMMMMMMMMMMMMM, blockkey: MMMMMMMMMMMMMMMM but getting SEVERE: Decrypt failed. Invalid authentication tag.,
Below are the command line argument :
-h 127.0.0.1 -p 1000 -i WRAPPER -c 48 -a High -d India -t Verbose -x High_Template.xml -N 1 -P 8888888888888888 -C AuthenticationEncryption -T 4D65746572537973 -A 4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D -B 4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D
Hi, Are you using the Java…
Hi,
Are you using the Java or C# version from the simulator?
BR,
Mikko
Hi, I am using java from the…
Hi,
I am using java from the simulator.
Hi Kurumi, Any updates…
Hi Kurumi,
Any updates regarding same problem?
Regards,
Hi, Can you use the C#…
Hi,
Can you use the C# version? The current Java version doesn't support key updating.
It's added to the next version.
BR,
Mikko
Hi, I'll check that out but…
Hi,
I'll check that out but can you please share the updates once you add that feature in java with new version?
Regards,
Nitin