Hi Mikko,
I am reading new type of L&T meter by setting BlockCipher ,AuthenticationKey
and Frame Counter LN. Its working in GXDLMSDirector.(Please check the
attached image)
But how to set this frame counter in Java application. I am unable to do this
as it accept only long value.
setFrameCounter(final long value).
But I want to set obiscode instead of long value. Old L&T meters are working
without security in java application.
You need to make a connection to the meter without authentication. Then read 0.0.43.1.1.255 data object.
Save value. Close the connection and update read value to FrameCounter. Then start a new connection using an encrypted connection.
GXDLMSData d = new GXDLMSData("0.0.43.1.1.255");
//Read value.
Hi,
As you said I have read the 0.0.43.1.2.255 and got one long value and in the next connection I used this long value for the frame counter authentication. Now I am getting the values but kwh value not getting. 1.0.1.8.0.255 value showing as invalid and giving only scalar like below.
-------- Reading GXDLMSRegister 1.0.1.8.0.255 Invalid
Index: 3 Value: Scaler: 10 Unit: ActiveEnergy
-------- Reading GXDLMSRegister 1.0.2.8.0.255 Invalid
I am not able to attach log and trace.
Please share your email so that I can send it you.
Thanks...
REMITH
Hi, in GXDLMSDirector also same thing.
Anyway your above logic to read frame counter is working fine. Anyway I have completed with
direct reading with GXDLMSRegister("0.0.43.1.2.255 "); concept.
Thanks for your great support.
Hi, in GXDLMSDirector also same thing.
Anyway your above logic to read frame counter is working fine. Anyway I have completed with
direct reading with GXDLMSRegister("0.0.43.1.2.255 "); concept.
Thanks for your great support.
Hi,
Hi,
You need to make a connection to the meter without authentication. Then read 0.0.43.1.1.255 data object.
Save value. Close the connection and update read value to FrameCounter. Then start a new connection using an encrypted connection.
GXDLMSData d = new GXDLMSData("0.0.43.1.1.255");
//Read value.
cl.setFrameCounter((long) d.getValue());
//Start ciphered connection.
BR,
Mikko
BR,
Mikko
Hi,
Hi,
As you said I have read the 0.0.43.1.2.255 and got one long value and in the next connection I used this long value for the frame counter authentication. Now I am getting the values but kwh value not getting. 1.0.1.8.0.255 value showing as invalid and giving only scalar like below.
-------- Reading GXDLMSRegister 1.0.1.8.0.255 Invalid
Index: 3 Value: Scaler: 10 Unit: ActiveEnergy
-------- Reading GXDLMSRegister 1.0.2.8.0.255 Invalid
I am not able to attach log and trace.
Please share your email so that I can send it you.
Thanks...
REMITH
Hi REMITH,
Hi REMITH,
Can you read them with GXDLMSDirector? Are you using the same client address and password?
BR,
Mikko
Hi, in GXDLMSDirector also
Hi, in GXDLMSDirector also same thing.
Anyway your above logic to read frame counter is working fine. Anyway I have completed with
direct reading with GXDLMSRegister("0.0.43.1.2.255 "); concept.
Thanks for your great support.
Hi, in GXDLMSDirector also
Hi, in GXDLMSDirector also same thing.
Anyway your above logic to read frame counter is working fine. Anyway I have completed with
direct reading with GXDLMSRegister("0.0.43.1.2.255 "); concept.
Thanks for your great support.