Hi,
we are currently sending this string on Private connection:
00 01 00 01 00 01 00 20 C8 1E 30 00 00 00 4A AE 9E 40 B8 DE 9B 88 ED 01 D5 82 37 3B FC 0B ED 98 FA 36 68 88 EF 0A C5 EC
It has been working great for years but I am now struggling to connect to new MeterSit meters (IoT network UDP). They are saying I should use D8 instead of C8.
00 01 00 01 00 01 00 20 C8 ... - not working
00 01 00 01 00 01 00 20 D8 ... - should work
Do you know what does it mean? Can I change it using Gurux library ?
Thanks
Omar
BlockCipher key: 66 51 64 51…
BlockCipher key: 66 51 64 51 0C 73 71 16 70 10 3B 41 28 07 04 4D
Authentication Key:66 51 64 51 0C 73 71 16 70 10 3B 41 28 07 04 4D
1: 00 01 00 01 00 01 00 20 C8 1E 30 00 00 00 4A AE 9E 40 B8 DE 9B 88 ED 01 D5 82 37 3B FC 0B ED 98 FA 36 68 88 EF 0A C5 EC
<WRAPPER len="20" >
<SourceAddress Value="1" />
<TargetAddress Value="1" />
<PDU>
<!-- Invocation Counter: 74 -->
<!-- Decrypt data: C0 01 C1 00 01 00 00 60 01 0A FF 02 00
<GetRequest>
<GetRequestNormal>
# Priority: High, ServiceClass: Confirmed, Invoke ID: 1
<InvokeIdAndPriority Value="C1" />
<AttributeDescriptor>
# Data
<ClassId Value="0001" />
# 0.0.96.1.10.255
<InstanceId Value="000060010AFF" />
# Value
<AttributeId Value="02" />
</AttributeDescriptor>
</GetRequestNormal>
</GetRequest>
-->
<glo_GetRequest Value="300000004AAE9E40B8DE9B88ED01D582373BFC0BED98FA366888EF0AC5EC" />
</PDU>
</WRAPPER>
Hi Omar, It seems that the…
Hi Omar,
It seems that the old version was using glo-messages.
Are you sure that the command is 0xD8? That is reserved for the Exception Response.
Meters are usually using General GLO ciphering, but that is 0xDB.
BR,
Mikko
Hi Mikko, you are right it…
Hi Mikko,
you are right it is 0xDB.
How can I change to "General GLO ciphering" for those particular meterSit meters (meterSit UDP - CompactFrame 91)?
What it is happening is that Public connection works great and I can retrieve data like LDN, ecc....
On the Private it seems to be connecting (no errors and no time out given) but whatever I ask to the meter it comes back with "Undefined Object".
I don't want to break the system as it is working fine for the rest of the meters: Honeywell UDP - CompactFrame, meterSit old models TCP - NO compact frame.
This is my code:
client = new GXDLMSSecureClient(....);
//HLS (High Level Security)
client.Ciphering.SystemTitle = Encoding.ASCII.GetBytes(objMeter.ClientSystemTitle);
client.ServerSystemTitle = GXCommon.HexToBytes(objMeter.ServerSystemTitle);
client.Ciphering.BlockCipherKey = GXCommon.HexToBytes(objMeter.BlockCipherKey);
client.Ciphering.AuthenticationKey = GXCommon.HexToBytes(objMeter.AuthenticationKey);
client.Ciphering.InvocationCounter = InvocationCounter;
client.Ciphering.Security = (Security)objMeter.Security;
reader = new GXDLMSReader(....)
Many Thanks
Hi, Add this line after you…
Hi,
Add this line after you have created your client.
client.ProposedConformance |= Conformance.GeneralProtection;
BR,
Mikko
Amazing you are truly a…
Amazing you are truly a master!
Managed to get MP Id and LDN on Private! (now getting "Access Error : Device reports Read-Write denied." when trying to get readings from Profile Generic but not really important right now)
I am going to read more about ProposedConformance and Conformance.GeneralProtection
Thank you very much again
Hi Mikko, trying to find a…
Hi Mikko,
trying to find a fix for the Profile Generic. I added a comment on an old post as it sounds more relevant:
https://www.gurux.fi/forum/6310#comment-27413
Thanks
Hi, Please, don't comment…
Hi,
Please, don't comment the old posts. Create a new topic if you have a new question.
They may look the same, but usually they are not and it causes confusion.
Create a new topic and I'll answer for your question.
BR,
Mikko