By PaulAdebo , 20 November, 2020 Forums Gurux.DLMS Hello, I increased the MAX TX field of the UA response frame from 71bytes to 230 bytes, during SNRM frame negotiation. However, when I request the object list, I get a response "GetObjects failed. Invalid count". See frame below, 8:29:16 AM Send SNRM request. 7E A0 07 03 23 93 BF 32 7E 8:29:16 AM 7E A0 20 23 03 73 CB 2D 81 80 14 05 02 00 E6 06 02 00 E6 07 04 00 00 00 01 08 04 00 00 00 01 B5 F3 7E 08:29:16 Parsing UA reply succeeded. 8:29:16 AM Send AARQ request. 7E A0 44 03 23 10 56 B7 E6 E6 00 60 36 A1 09 06 07 60 85 74 05 08 01 01 8A 02 07 80 8B 07 60 85 74 05 08 02 01 AC 0A 80 08 31 31 31 31 31 31 31 31 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 1D FF FF D4 34 7E 8:29:16 AM 7E A0 37 23 03 30 D4 C9 E6 E7 00 61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 00 10 19 00 F1 00 07 56 16 7E 08:29:16 Parsing AARE reply succeeded. 08:29:18 --- Collecting objects. --- 8:29:18 AM Collecting objects 7E A0 19 03 23 32 DF EB E6 E6 00 C0 01 C1 00 0F 00 00 28 00 00 FF 02 00 91 53 7E 8:29:18 AM 7E A0 EA 23 03 52 37 FA E6 E7 00 C4 02 C1 00 00 00 00 01 00 D4 01 81 C2 02 04 12 00 08 11 00 09 06 00 00 01 00 00 FF 02 02 01 09 02 03 0F 01 16 01 00 02 03 0F 02 16 03 00 02 03 0F 03 16 01 00 02 03 0F 04 16 00 00 02 03 0F 05 16 00 00 02 03 0F 06 16 00 00 02 03 0F 07 16 00 00 02 03 0F 08 16 00 00 02 03 0F 09 16 00 00 01 06 02 02 0F 01 16 00 02 02 0F 02 16 00 02 02 0F 03 16 00 02 02 0F 04 16 00 02 02 0F 05 16 00 02 02 0F 06 16 00 02 04 12 00 0F 11 03 09 06 00 00 28 00 00 FF 02 02 01 0B 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 02 03 0F 03 16 01 00 02 03 0F 04 16 00 00 02 03 0F 05 16 00 00 02 03 0F 06 16 00 00 02 03 0F 07 16 03 00 02 03 0F 08 16 01 00 02 03 0F 09 16 01 00 02 03 0F 0A 16 00 00 43 2E 7E System.Exception: GetObjects failed. Invalid count. at GXDLMSDirector.MainForm.RefreshDevice(GXDLMSMeter dev, Boolean bRefresh) at GXDLMSDirector.MainForm.Refresh(Object sender, GXAsyncWork work, Object[] parameters) I check all the necessary length fields, and I can not figure out where why I got such a response. Kindly advice! Regards Paul. Hi, Hi, Your GBT data is wrong. That is causing the problem. Check the bytes before the array data. BR, Mikko Hello Mikko, Hello Mikko, Thanks once again for your reply. I actually figured that out and fixed it when I saw the block length was more than 128, so it should be 2 bytes. Thanks once again.
Hi, Hi, Your GBT data is wrong. That is causing the problem. Check the bytes before the array data. BR, Mikko
Hello Mikko, Hello Mikko, Thanks once again for your reply. I actually figured that out and fixed it when I saw the block length was more than 128, so it should be 2 bytes. Thanks once again.
Hi,
Hi,
Your GBT data is wrong. That is causing the problem. Check the bytes before the array data.
BR,
Mikko
Hello Mikko,
Hello Mikko,
Thanks once again for your reply.
I actually figured that out and fixed it when I saw the block length was more than 128, so it should be 2 bytes.
Thanks once again.