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. Node
  3. Device Reports Read-Write Denied.

Device reports Read-Write denied.

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By Tvister , 20 March, 2017
Forums
Gurux DLMS for Java

Hello!!

Help please !!
I'm writing a server for poll counters. The survey was successful, but time synchronization not. Trying to set the time on counter (0.0.1.0.0.255). When executing synchronization there is a gurux.dlms.GXDLMSException: Access Error: Device reports Read-Write denied.

<- 7E A0 1D 00 02 84 1B 41 54 C1 CB E6 E6 00 06 01 02 68 00 01 09 06 00 00 01 00 00 FF B5 99 7E
-> 7E A0 13 41 00 02 84 1B 74 5D F7 E6 E7 00 0D 01 01 03 60 AF 7E

Profile picture for user Kurumi

Kurumi

9 years 6 months ago

Device reports Read-Write denied.

Hi,

Your data is wrong. You try to write logical name of clock object("0.0.1.0.0.255").

BR,

Mikko

Tvister

9 years 6 months ago

I execute this code:

I execute this code:

((GXDLMSClock)it).setTime(new GXDateTime(date));
for (int pos : ((IGXDLMSBase) it).getAttributeIndexToRead()) {
if(pos == 2){ // Set Date and Time
try {
com.writeObject(it, pos);
}catch(Exception e){
e.printStackTrace();
}
}
}

Can you tell what is wrong with my part

Tvister

9 years 6 months ago

Data reciving

<- 7E A0 23 00 02 84 1B 41 76 BA 99 E6 E6 00 06 01 02 68 08 01 09 0C 07 E1 03 15 02 10 2C 0C 2E 00 78 00 10 6B 7E
-> 7E A0 13 41 00 02 84 1B 96 41 33 E6 E7 00 0D 01 01 03 60 AF 7E

Profile picture for user Kurumi

Kurumi

9 years 6 months ago

Device reports Read-Write denied.

Hi,

Now data looks correct. You must also use authentication level Low.
I believe that you are using Authentication level None and you do not have enough permissions.
Get also latest version. We have released new version.
<WriteRequest>
<ListOfVariableAccessSpecification Qty="01" >
<VariableName Value="6808" />
</ListOfVariableAccessSpecification>
<ListOfData Qty="01" >
<!--21.3.2017 20.44.12-->
<OctetString Value="07E1031502102C0C2E007800" />
</ListOfData>
</WriteRequest>

BR,

Mikko

Tvister

9 years 6 months ago

Thank you!!!!

Thank you. It was necessary to establish
GXDLMSClient client = new GXDLMSClient ();
client.setClientAddress (1);

At the beginning I was set ClientAddress to 32

Profile picture for user Kurumi

Kurumi

9 years 6 months ago

Device reports Read-Write denied.

Hi,

It's sad that manufacturers are using different client addresses. This is causing a lot of problems and extra work. I'm glad that you solved this.

BR,

Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202
  • Mon, 08/17/2026 - 09:47
    gurux.dlms.cpp 9.0.2608.1701
  • Mon, 08/17/2026 - 09:25
    gurux.dlms.c 9.0.2608.1701
  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701

New forum topics

  • Security vulnerability report — request for a private contact (GuruxDLMS.c / ANSI C)
  • Topic: Insufficient Memory Error When Reading Class 7 Profile Generic Objects
  • SN ReadResponse returns all-null values when response spans multiple HDLC frames
  • Gurux.Serial.Android 3.0.6 – CH340 (HL-340) USB-Serial Adapter Not Working,
  • Trying to talk to a L&G E360 meter (Using Python Gurux)
More

Who's new

  • cyby
  • Metin Onan
  • ssv007
  • 3nzol3dur
  • dw772
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin