After a CompactData Get request, i found a problem during decyphering:
this is the received (crypted) frame from the meter:
0001000100010034DB08343500896745230182012730000000BC08DDEA27AF02D4FCB6AE07634D2E103BFFA78D7F38891D84A780B23450B5F47252D60E0F213110326A42F818196AA3E9C4BDB158CC63E5C80F262097D127B7DBA97426B109734447EB8A877E6653B6ED0F180B808A2B3CCE9AB5F79165B9727288B0DED8563CF3A8DC2B2A4425AA80A2FEA75777364175667819C3DCDE29D41BB53A2B85BCF932086A181496907A10C8CE88C58E17A328E2104A029D4DDC676CBCDE579CE168B40409CD7BABA921855977FF4F734EC1B6E51A918F3807F948C3E593395B440ABD34EAFBE43DA76EE88A17D891A51BE045BA2BD3923EEEAAD9F1FC3C07720721CE546E2B66F202F1548F6E09D20F7AE2BA3E0617B76DFBCEDB60DB0CCFA73B3E189204127BA14CC4EAF34EAC380930C15F872E6AFE3A7B3F60966E19
but when I use GXDLMSClient.GetData(byte[] reply, GXReplyData data, GXReplyData notify), I see the part that it uses to decipher is only
DB 08 34 35 00 89 67 45 23 01 82 01 27 30 00 00 00 BC 08 DD EA 27 AF 02 D4 FC B6 AE 07 63 4D 2E 10 3B FF A7 8D 7F 38 89 1D 84 A7 80 B2 34 50 B5 F4 72 52 D6 (it removes part of the frame)
so it returns
throw new Exception("Not enought data.");
Hi,
Hi,
There aren't any limits. Can you share the ciphering key with me for example with email so I can check the bytes and what is causing this?
BR,
Mikko
the key is
Hi,
the key is 000102030405060708090a0b0c0d0e0f and client system title is 0000000000000000.
thanks
Hi,
Hi,
There is an issue with the meter. The data length is invalid.
0001
0001
0001
0034 //WRONG. There are more bytes than 52 bytes.
...
You need to ask the meter manufacturer to fix it.
BR,
Mikko
Hi,
Hi,
thanks for your time and for your help.
I'll check this length value with them.
BR