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. Forums
  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 2 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 2 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 2 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 2 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 2 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 2 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

  • 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

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin