By Pavan.NR, 5 June, 2019 Forums Gurux.DLMS I have bytes as 0F 00 00 00 01 0C 07 E2 0C 1D FF 0E 36 07 FF 80 00 00 02 04 0A 0A 49 54 50 31 33 35 34 36 39 31 09 06 00 04 19 09 00 FF 09 0C 07 E2 0C 1D FF 0E 36 07 FF 80 00 00 04 81 80 00 00 00 00 00 00 10 00 00 00 05 00. In this i am not able to understand bit string 04 81 80 00 00 00 00 00 00 10 00 00 00 05 00. This bytes are for first breath event push. RAW BYTES: 00 01 00 01 00 40 00 59 DB 08 49 54 50 35 34 36 39 31 4E 20 00 00 00 00 3F 27 08 2B DC C5 4C A6 C6 B6 46 03 89 86 8A 7E 86 B6 F9 4D 48 6B C6 D2 24 B0 B4 25 85 8D F0 F4 49 0A DF B1 62 29 02 C1 71 FB BE 37 29 44 7C 54 51 71 5B AD 02 19 1F FF B7 72 B0 0F 1F D9 80 78 9B 51 0F B3 C1 F4 01 05 78 DE-CRYPT-ED BYTES: 0F 00 00 00 01 0C 07 E2 0C 1D FF 0E 36 07 FF 80 00 00 02 04 0A 0A 49 54 50 31 33 35 34 36 39 31 09 06 00 04 19 09 00 FF 09 0C 07 E2 0C 1D FF 0E 36 07 FF 80 00 00 04 81 80 00 00 00 00 00 00 10 00 00 00 05 00 Please help me with your valuable input for the same. Thank you in advance. Pavan NR Senior Software Engineer Bangalore, India Hello Pavan, Hello Pavan, Your meter is sending invalid bit string. after 04 should be the length of bit string. Now it's 128, but there are only 96 bits. Ask the manufacturer to fix this. 04 BIT_STRING 81 80 //LEN = 128 BITS 00 00 00 00 00 00 10 00 00 00 05 00 //12*8=96 bits. Correct PDU is this: http://www.gurux.fi/GuruxDLMSTranslator?pdu=0F000000010C07E20C1DFF0E360… BR, Mikko Hello Mikko, could you please Hello Mikko, could you please explain why 04 means BIT_STRING and how is length 128 bits encoded to 81 80 ? If possible to reference standard where I can find more information. Hi Ján, Hi Ján, Please, create a new topic if you have a new question. BR, Mikko Log in or register to post comments
Hello Pavan, Hello Pavan, Your meter is sending invalid bit string. after 04 should be the length of bit string. Now it's 128, but there are only 96 bits. Ask the manufacturer to fix this. 04 BIT_STRING 81 80 //LEN = 128 BITS 00 00 00 00 00 00 10 00 00 00 05 00 //12*8=96 bits. Correct PDU is this: http://www.gurux.fi/GuruxDLMSTranslator?pdu=0F000000010C07E20C1DFF0E360… BR, Mikko
Hello Mikko, could you please Hello Mikko, could you please explain why 04 means BIT_STRING and how is length 128 bits encoded to 81 80 ? If possible to reference standard where I can find more information.
Hello Pavan,
Hello Pavan,
Your meter is sending invalid bit string. after 04 should be the length of bit string. Now it's 128, but there are only 96 bits.
Ask the manufacturer to fix this.
04 BIT_STRING
81 80 //LEN = 128 BITS
00 00 00 00 00 00 10 00 00 00 05 00 //12*8=96 bits.
Correct PDU is this:
http://www.gurux.fi/GuruxDLMSTranslator?pdu=0F000000010C07E20C1DFF0E360…
BR,
Mikko
Hello Mikko, could you please
Hello Mikko, could you please explain why 04 means BIT_STRING and how is length 128 bits encoded to 81 80 ? If possible to reference standard where I can find more information.
Hi Ján,
Hi Ján,
Please, create a new topic if you have a new question.
BR,
Mikko