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