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. Simulate 10 Meters With HLS, But It Has Error

Simulate 10 meters with HLS, but it has error

By dlmsDeveloper , 18 December, 2024
Forums
Gurux.DLMS

hi

I am using simulator.
I set the number to 10 and configured the objects as "Share".
The settings are on **LN with ciphering** and **HighGmac** with default keys.

The simulator creates 10 meters with different serial numbers.
With the first serial number, I can connect successfully.
But with the second serial number, when I try to connect, I get the error:
**ApplicationContextNameNotSupported**

I send the AARQ with **LN_WITH_CIPHERING**, but the response comes back as **LN**.

Out of the 10 meters, only the first one works correctly, but the rest respond with **LN** instead of **LN_WITH_CIPHERING**.

What should I do?

Thank you

Profile picture for user Kurumi

Kurumi

1 year 5 months ago

Hi, Can you share the XML…

Hi,

Can you share the XML template? There are so many settings that might cause this.

BR,
Mikko

dlmsDeveloper

1 year 5 months ago

<?xml version="1.0" encoding…

<?xml version="1.0" encoding="utf-8"?>
<Objects>
 <GXDLMSAssociationLogicalName>
   <LN>0.0.40.0.0.255</LN>
   <Version>1</Version>
   <Description>Ch. 0 Current association</Description>
   <Access>111111211</Access>
   <MethodAccess>1111</MethodAccess>
   <ObjectList>
      <GXDLMSClock>
       <LN>0.0.1.0.0.255</LN>
       <Access>131100131</Access>
       <MethodAccess>000000</MethodAccess>
     </GXDLMSClock>
     <GXDLMSData>
       <LN>0.0.42.0.0.255</LN>
       <Access>11</Access>
     </GXDLMSData>
   </ObjectList>
   <ClientSAP>1</ClientSAP>
   <ServerSAP>1</ServerSAP>
   <ApplicationContextName>
     <JointIsoCtt>2</JointIsoCtt>
     <Country>16</Country>
     <CountryName>756</CountryName>
     <IdentifiedOrganization>5</IdentifiedOrganization>
     <DlmsUA>8</DlmsUA>
     <ApplicationContext>1</ApplicationContext>
     <ContextId>3</ContextId>
   </ApplicationContextName>
   <XDLMSContextInfo>
     <Conformance>12072960</Conformance>
     <MaxReceivePduSize>1280</MaxReceivePduSize>
     <MaxSendPduSize>1280</MaxSendPduSize>
     <DlmsVersionNumber>6</DlmsVersionNumber>
     <QualityOfService>0</QualityOfService>
     <CypheringInfo />
   </XDLMSContextInfo>
   <AuthenticationMechanismName>
     <JointIsoCtt>2</JointIsoCtt>
     <Country>16</Country>
     <CountryName>756</CountryName>
     <IdentifiedOrganization>5</IdentifiedOrganization>
     <DlmsUA>8</DlmsUA>
     <AuthenticationMechanismName>2</AuthenticationMechanismName>
     <MechanismId>5</MechanismId>
   </AuthenticationMechanismName>
   <Secret />
   <AssociationStatus>2</AssociationStatus>
   <SecuritySetupReference>0.0.43.0.0.255</SecuritySetupReference>
   <Users />
   <MultipleAssociationViews>0</MultipleAssociationViews>
 </GXDLMSAssociationLogicalName>
 <GXDLMSClock>
   <LN>0.0.1.0.0.255</LN>
   <Description>Ch. 0 Clock object  #1</Description>
   <Access>131100131</Access>
   <MethodAccess>000000</MethodAccess>
   <Time>09/28/1403 14:54:11</Time>
   <TimeZone>-210</TimeZone>
   <Status>0</Status>
   <Begin />
   <End />
   <Deviation>60</Deviation>
   <Enabled>1</Enabled>
   <ClockBase>1</ClockBase>
 </GXDLMSClock>
 <GXDLMSData>
   <LN>0.0.42.0.0.255</LN>
   <Description>Ch. 0 COSEM Logical device name</Description>
   <Access>11</Access>
   <MethodAccess />
   <Value Type="9" UIType="10">ABC0000000000001</Value>
 </GXDLMSData>
 <GXDLMSAssociationLogicalName>
   <LN>0.0.40.0.0.255</LN>
   <Version>1</Version>
   <Description>Ch. 0 Current association</Description>
   <Access>111111211</Access>
   <MethodAccess>1111</MethodAccess>
   <ObjectList>
     <GXDLMSClock>
       <LN>0.0.1.0.0.255</LN>
       <Access>131100131</Access>
       <MethodAccess>000000</MethodAccess>
     </GXDLMSClock>
    <GXDLMSData>
       <LN>0.0.42.0.0.255</LN>
       <Access>11</Access>
     </GXDLMSData>
     <GXDLMSSecuritySetup>
       <LN>0.0.43.0.0.255</LN>
       <Access>13111</Access>
       <MethodAccess>11</MethodAccess>
     </GXDLMSSecuritySetup>
   </ObjectList>
   <ClientSAP>1</ClientSAP>
   <ServerSAP>1</ServerSAP>
   <ApplicationContextName>
     <JointIsoCtt>2</JointIsoCtt>
     <Country>16</Country>
     <CountryName>756</CountryName>
     <IdentifiedOrganization>5</IdentifiedOrganization>
     <DlmsUA>8</DlmsUA>
     <ApplicationContext>1</ApplicationContext>
     <ContextId>3</ContextId>
   </ApplicationContextName>
   <XDLMSContextInfo>
     <Conformance>12072960</Conformance>
     <MaxReceivePduSize>1280</MaxReceivePduSize>
     <MaxSendPduSize>1280</MaxSendPduSize>
     <DlmsVersionNumber>6</DlmsVersionNumber>
     <QualityOfService>0</QualityOfService>
     <CypheringInfo />
   </XDLMSContextInfo>
   <AuthenticationMechanismName>
     <JointIsoCtt>2</JointIsoCtt>
     <Country>16</Country>
     <CountryName>756</CountryName>
     <IdentifiedOrganization>5</IdentifiedOrganization>
     <DlmsUA>8</DlmsUA>
     <AuthenticationMechanismName>2</AuthenticationMechanismName>
     <MechanismId>5</MechanismId>
   </AuthenticationMechanismName>
   <Secret />
   <AssociationStatus>2</AssociationStatus>
   <SecuritySetupReference>0.0.43.0.0.255</SecuritySetupReference>
   <Users />
   <MultipleAssociationViews>0</MultipleAssociationViews>
 </GXDLMSAssociationLogicalName>
</Objects>

Profile picture for user Kurumi

Kurumi

1 year 5 months ago

Hi, I believe that you have…

Hi,

I believe that you have implemented your template by hand. It's not possible to work. Can you read the existing meter and use it?

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin