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 4 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 4 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 4 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 4 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 4 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 4 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

  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200
  • Mon, 06/15/2026 - 08:52
    gurux.dlms.c 9.0.2606.1501

New forum topics

  • Service not known error on gprs communication
  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
More

Who's new

  • @Hmd- several '.
  • Dawsontot
  • Jerrylam
  • qvlLdJweKzGUYaSOVS
  • LindanEt
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin