how to i decrypt or interpret the data received from meter? please guide me to sample code.As i told earlier client is connected already. am not having the clear idea about to how to do.
Please, don't ask for updates. I'll answer as soon as I have time.
When you set keys data is encrypted automatically. There is an issue with data that meter sends.
The size of the ciphered service is invalid (zero). Ask your meter manufacturer to fix it.
I will ask meter manufacturer to fix this and share you proper ciphered push message. So that you can tell me what are things i have to follow to interpret and get the data.
Hi Mohan,
Hi Mohan,
Check push example. It'll do what you want.
https://github.com/Gurux/GuruxDLMS.c/tree/master/GuruxDLMSPushExample
BR,
Mikko
ok. I shall check
ok. I shall check
Hi Mikko,
Hi Mikko,
how to i decrypt or interpret the data received from meter? please guide me to sample code.As i told earlier client is connected already. am not having the clear idea about to how to do.
Type1 message:
00 01 00 01 00 40 00 DF DB 08 56 54 4B 30 30 30 30 32 82 00 00 20 00 00 00 01 0F 00 00 00 01 0C 07 E3 0C 0B 03 0D 1F 12 FF 80 00 FF 02 1A 0A 0D 56 54 4B 30 30 39 31 30 30 30 30 30 32 09 06 00 00 19 09 00 FF 09 0C 07 E3 0C 0B 03 0D 1F 12 FF 80 00 FF 12 5C F0 05 00 00 00 00 05 00 00 00 00 10 03 E8 12 13 86 06 00 00 00 00 05 00 00 00 00 15 00 00 00 00 00 00 00 00 15 00 00 00 00 00 00 00 00 15 00 00 00 00 00 00 00 00 09 0C 00 00 00 00 00 00 00 00 FF 80 00 FF 15 00 00 00 00 00 00 00 00 09 0C 00 00 00 00 00 00 00 00 FF 80 00 FF 06 00 00 00 0E 06 00 00 00 00 06 00 00 00 00 06 00 00 00 01 06 00 00 00 00 06 00 00 00 00 15 00 00 00 00 00 00 00 00 15 00 00 00 00 00 00 00 00 03 01 06 00 00 00 11
Type2 message:
00 01 00 01 00 40 00 5F DB 08 56 54 4B 30 30 30 30 31 82 00 00 20 00 00 00 01 0F 00 00 00 01 0C 07 E3 0C 0B 03 0D 10 06 FF 80 00 FF 02 04 0A 0D 56 54 4B 30 30 39 31 30 30 30 30 30 31 09 06 00 04 19 09 00 FF 09 0C 07 E3 0C 0B 03 0D 10 06 FF 80 00 FF 04 82 00 80 00 00 00 00 00 00 00 00 00 00 02 00 00 00 00 00
Below link is for push example i.e it will connect to server and sends push message. But my requirement is different that is being a client how to interpret/decrypt/process the data.
https://github.com/Gurux/GuruxDLMS.c/tree/master/GuruxDLMSPushExample
Thanks
Mohan Raj
Hi Mikko,
Hi Mikko,
Any update please? could you please help me?
Thanks
Mohan Raj
Hi Mohan,
Hi Mohan,
Please, don't ask for updates. I'll answer as soon as I have time.
When you set keys data is encrypted automatically. There is an issue with data that meter sends.
The size of the ciphered service is invalid (zero). Ask your meter manufacturer to fix it.
BR,
Mikko
Hi Mikko,
Hi Mikko,
Thanks for the update.
Below is the another message from the meter. could you please tell me how to interpret using ANSI C library?
00 01 00 01 00 20 00 12 C4 01 81 00 09 0C 07 E4 04 0F 03 10 1E 34 FF 80 00 FF 00 01 00 01 00 40 00 DF DB 08 56 54 4B 30 30 30 32 31 82 00 00 20 00 00 00 01 0F 00 00 00 01 0C 07 E4 04 0F 03 10 1E 37 FF 80 00 FF 02 1A 0A 0D 56 54 4B 30 30 39 31 30 30 30 30 32 31 09 06 00 00 19 09 00 FF 09 0C 07 E4 04 0F 03 10 1E 37 FF 80 00 FF 12 5A 12 05 00 00 00 00 05 00 00 00 00 10 03 E8 12 14 0B 06 00 00 00 00 05 00 00 00 00 15 00 00 00 00 00 00 47 4A 15 00 00 00 00 00 00 47 5A 15 00 00 00 00 00 00 00 00 09 0C 00 00 00 00 00 00 00 00 FF 80 00 FF 15 00 00 00 00 00 00 00 00 09 0C 00 00 00 00 00 00 00 00 FF 80 00 FF 06 00 00 5E D9 06 00 00 00 00 06 00 00 00 03 06 00 00 00 01 06 00 00 00 24 06 00 00 00 24 15 00 00 00 00 00 00 00 00 15 00 00 00 00 00 00 00 00 03 01 06 00 00 00 11
Please guide me after receiving the above data what are all functions and settings to be done to have data.
Thanks
Mohan Raj
Hi Mikko,
Hi Mikko,
I will ask meter manufacturer to fix this and share you proper ciphered push message. So that you can tell me what are things i have to follow to interpret and get the data.
Thanks
Mohan Raj
Hi Mohan,
Hi Mohan,
Before this is fixed to the meter you can't get the decrypted data.
BR,
Mikko