Hi Mikko,
with your Gurux DLMS Translator I could decode the data and see the XML.
GUEK: 36C66639E48A8CA4D6BC8B282A793BBB
Data Sample:
68FAFA6853FF000167DB084B464D675000000981F8200000002388D5AB4F97515AAFC6B88D2F85DAA7A0E3C0C40D004535C397C9D037AB7DBDA329107615444894A1A0DD7E85F02D496CECD3FF46AF5FB3C9229CFE8F3EE4606AB2E1F409F36AAD2E50900A4396FC6C2E083F373233A69616950758BFC7D63A9E9B6E99E21B2CBC2B934772CA51FD4D69830711CAB1F8CFF25F0A329337CBA51904F0CAED88D61968743C8454BA922EB00038182C22FE316D16F2A9F544D6F75D51A4E92A1C4EF8AB19A2B7FEAA32D0726C0ED80229AE6C0F7621A4209251ACE2B2BC66FF0327A653BB686C756BE033C7A281F1D2A7E1FA31C3983E15F8FD16CC5787E6F517166814146853FF110167419A3CFDA44BE438C96F0E38BF83D98316
Translated PDU:
DB084B464D675000000981F8200000002388D5AB4F97515AAFC6B88D2F85DAA7A0E3C0C40D004535C397C9D037AB7DBDA329107615444894A1A0DD7E85F02D496CECD3FF46AF5FB3C9229CFE8F3EE4606AB2E1F409F36AAD2E50900A4396FC6C2E083F373233A69616950758BFC7D63A9E9B6E99E21B2CBC2B934772CA51FD4D69830711CAB1F8CFF25F0A329337CBA51904F0CAED88D61968743C8454BA922EB00038182C22FE316D16F2A9F544D6F75D51A4E92A1C4EF8AB19A2B7FEAA32D0726C0ED80229AE6C0F7621A4209251ACE2B2BC66FF0327A653BB686C756BE033C7A281F1D2A7E1FA31C3983E15F8FD16CC5787E6F5419A3CFDA44BE438C96F0E38BF83D9
PDU to XML:
<!-- IDIS system title:
Manufacturer Code: KFM
Device type: IDIS package2 IP polyphase meter
Function type: Disconnector, Multi Utility
Serial number: 9
-->
<!-- Invocation Counter: 35 -->
<!-- Decrypt data: 0F 80 06 87 0E 0C 07 E5 09 1B 01 09 2F 0F 00 FF 88 80 02 23 09 0C 07 E5 09 1B 01 09 2F 0F 00 FF 88 80 09 06 01 00 01 08 00 FF 06 00 00 32 89 02 02 0F 00 16 1E 09 06 01 00 02 08 00 FF 06 00 00 00 00 02 02 0F 00 16 1E 09 06 01 00 01 07 00 FF 06 00 00 00 00 02 02 0F 00 16 1B 09 06 01 00 02 07 00 FF 06 00 00 00 00 02 02 0F 00 16 1B 09 06 01 00 20 07 00 FF 12 09 21 02 02 0F FF 16 23 09 06 01 00 34 07 00 FF 12 00 00 02 02 0F FF 16 23 09 06 01 00 48 07 00 FF 12 00 00 02 02 0F FF 16 23 09 06 01 00 1F 07 00 FF 12 00 00 02 02 0F FE 16 21 09 06 01 00 33 07 00 FF 12 00 00 02 02 0F FE 16 21 09 06 01 00 47 07 00 FF 12 00 00 02 02 0F FE 16 21 09 06 01 00 0D 07 00 FF 12 03 E8 02 02 0F FD 16 FF 09 0C 31 38 31 32 32 30 30 30 30 30 30 39
….
Plus all the XML values in the table
Right now the only missing part is to decode them as char string in SQL stored data on a webpage
either after loaded page in java or better before the loading in php on the server side.
Any idea were to start here? Looked on the Java example https://github.com/Gurux/gurux.dlms.java but could not quite find any starting point.
I would “just” need a function like “decodeddatastring=decode(datastring, key);”
Example: datasting=”68FAFA6853FF000167DB084B464D675000000981F8200000002388D5AB4F97515AAFC6B88D2F85DAA7A0E3C0C40D004535C397C9D037AB7DBDA329107615444894A1A0DD7E85F02D496CECD3FF46AF5FB3C9229CFE8F3EE4606AB2E1F409F36AAD2E50900A4396FC6C2E083F373233A69616950758BFC7D63A9E9B6E99E21B2CBC2B934772CA51FD4D69830711CAB1F8CFF25F0A329337CBA51904F0CAED88D61968743C8454BA922EB00038182C22FE316D16F2A9F544D6F75D51A4E92A1C4EF8AB19A2B7FEAA32D0726C0ED80229AE6C0F7621A4209251ACE2B2BC66FF0327A653BB686C756BE033C7A281F1D2A7E1FA31C3983E15F8FD16CC5787E6F517166814146853FF110167419A3CFDA44BE438C96F0E38BF83D98316”;
key=”36C66639E48A8CA4D6BC8B282A793BBB”;
decodeddatastring=”0F8006870E0C07E5091B01092F0F00FF88800223090C07E5091B01092F0F00FF888009060100010800FF060000328902020F00161E09060100020800FF060000000002020F00161E09060100010700FF060000000002020F00161B09060100020700FF060000000002020F00161B09060100200700FF12092102020FFF162309060100340700FF12000002020FFF162309060100480700FF12000002020FFF1623090601001F0700FF12000002020FFE162109060100330700FF12000002020FFE162109060100470700FF12000002020FFE1621090601000D0700FF1203E802020FFD16FF090C313831323230303030303039”;
Any help from your side would be great and well appreciated as I am stuck right now…
Thanks in advance
Philipp
Hi Mikko, solved it with…
Hi Mikko,
solved it with standard non gurux libaries, so nothing to do for you anymore.
Thanks for all the support offside the forum.
BR
Philipp