Before commenting read Forum rules
Don't comment the topic if you have a new question.
You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.
Before commenting read Forum rules
Don't comment the topic if you have a new question.
You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.
Server example
pangda@Ubuntu:~/share/DLMS_C/GuruxDLMS.c/GuruxDLMSServerExample/bin$ ./gurux.dlms.server.bin
Short Name DLMS Server in port 4060.
Example connection settings:
Gurux.DLMS.Client.Example.Net -r sn -h localhost -p 4060
----------------------------------------------------------
Logical Name DLMS Server in port 4061.
Example connection settings:
GuruxDLMSClientExample -h localhost -p 4061
----------------------------------------------------------
Short Name DLMS Server with IEC 62056-47 in port 4062.
Example connection settings:
GuruxDLMSClientExample -r sn -h localhost -p 4062 -w
----------------------------------------------------------
Logical Name DLMS Server with IEC 62056-47 in port 4063.
Example connection settings:
GuruxDLMSClientExample -h localhost -p 4063 -w
Press Enter to close application.
Client example
pangda@Ubuntu:~/share/DLMS_C/GuruxDLMS.c/GuruxDLMSClientExample/bin$ ./gurux.dlms.client.bin -r sn -c 16 -s 1 -h 127.0.0.1 -p 4060 -t Verbose
Connecting to 127.0.0.1:4060
InitializeConnection
<- 7E A0 07 03 21 93 0F 01 7E
-> 7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 01 53 3B 7E
<- 7E A0 28 03 21 10 36 8A 60 1D A1 09 06 07 60 85 74 05 08 01 02 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 1D FF FF 69 1B 7E
-> 7E A0 37 21 03 30 6C 7C E6 E7 00 61 29 A1 09 06 07 60 85 74 05 08 01 02 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 00 02 00 04 00 FA 00 1A AF 7E
GetAssociationView
<- 7E A0 0E 03 21 32 EF 4C 05 01 02 FA 08 17 0E 7E
-> 7E A8 86 21 03 52 7F 1B 0C 01 00 01 1A 02 04 10 FA 00 12 00 0C 11 00 09 06 00 00 28 00 00 FF 02 04 10 00 A0 12 00 01 11 00 09 06 00 00 2A 00 00 FF 02 04 10 00 B0 12 00 01 11 00 09 06 01 01 00 00 00 FF 02 04 10 00 C0 12 00 01 11 00 09 06 01 01 00 00 01 FF 02 04 10 00 D0 12 00 01 11 00 09 06 01 00 00 02 00 FF 02 04 10 00 E0 12 00 12 11 00 09 06 00 00 2C 00 00 FF 02 04 10 01 40 12 00 03 11 00 09 06 7A 51 7E
<- 7E A0 07 03 21 51 11 E4 7E
-> 7E A8 86 21 03 54 49 7E 01 01 15 19 00 FF 02 04 10 01 70 12 00 08 11 00 09 06 00 00 01 00 00 FF 02 04 10 02 00 12 00 29 11 00 09 06 00 00 19 00 00 FF 02 04 10 02 30 12 00 07 11 00 09 06 01 00 63 01 00 FF 02 04 10 02 A8 12 00 1D 11 00 09 06 00 00 02 01 00 FF 02 04 10 02 D8 12 00 14 11 00 09 06 00 00 0D 00 00 FF 02 04 10 03 30 12 00 13 11 00 09 06 00 00 14 00 00 FF 02 04 10 03 78 12 00 05 11 00 09 3D 66 7E
<- 7E A0 07 03 21 71 13 C5 7E
-> 7E A8 86 21 03 56 5B 5D 06 01 00 1F 04 00 FF 02 04 10 03 D0 12 00 15 11 00 09 06 00 00 10 01 00 FF 02 04 10 03 F0 12 00 16 11 00 09 06 00 00 0F 00 00 FF 02 04 10 04 10 12 00 11 11 00 09 06 00 00 29 00 00 FF 02 04 10 04 38 12 00 1C 11 00 09 06 00 00 02 02 00 FF 02 04 10 04 68 12 00 1B 11 01 09 06 00 00 02 00 00 FF 02 04 10 04 88 12 00 2B 11 00 09 06 00 00 19 02 00 FF 02 04 10 04 98 12 00 46 11 00 C7 66 7E
<- 7E A0 07 03 21 91 1D 22 7E
-> 7E A0 6B 21 03 58 00 D1 09 06 00 00 60 03 0A FF 02 04 10 04 C8 12 00 2A 11 00 09 06 00 00 19 01 00 FF 02 04 10 05 40 12 00 28 11 00 09 06 00 00 19 09 00 FF 02 04 10 05 80 12 00 09 11 00 09 06 00 00 0A 00 00 FF 02 04 10 05 A8 12 00 17 11 01 09 06 00 00 16 00 00 FF 02 04 10 05 F0 12 00 3E 11 00 09 06 00 00 42 00 01 FF A8 CE 7E
<- 7E A0 11 03 21 B4 89 DC 05 02 02 01 50 02 03 90 FF 1E 7E
-> 7E A0 1F 21 03 7A B9 FB 0C 02 00 02 02 0F FE 16 1E 00 02 02 0F 00 16 00 C8 12 00 2A 11 00 8C 13 7E
<- 7E A0 0E 03 21 D6 C5 ED 05 01 02 01 50 7A 48 7E
-> 7E A0 12 21 03 9C 0E F2 0C 01 00 02 02 0F FE 16 1E F2 C6 7E
<- 7E A0 0E 03 21 F8 B9 25 05 01 02 03 90 C6 BD 7E
-> 7E A0 12 21 03 BE 1E F0 0C 01 00 02 02 0F 00 16 00 22 A3 7E
<- 7E A0 0E 03 21 1A A5 E1 05 01 02 02 40 93 72 7E
-> 7E A0 32 21 03 D0 35 F5 0C 01 00 01 02 02 04 12 00 08 09 06 00 00 01 00 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 01 15 19 00 FF 0F 02 12 00 00 22 CD 7E
-------- Reading Object Association Short Name 00.00.40.00.00.255
<- 7E A0 0E 03 21 3C 91 A5 05 01 02 FA 08 17 0E 7E
-> 7E A8 86 21 03 F2 75 BE 0C 01 00 01 1A 02 04 10 FA 00 12 00 0C 11 00 09 06 00 00 28 00 00 FF 02 04 10 00 A0 12 00 01 11 00 09 06 00 00 2A 00 00 FF 02 04 10 00 B0 12 00 01 11 00 09 06 01 01 00 00 00 FF 02 04 10 00 C0 12 00 01 11 00 09 06 01 01 00 00 01 FF 02 04 10 00 D0 12 00 01 11 00 09 06 01 00 00 02 00 FF 02 04 10 00 E0 12 00 12 11 00 09 06 00 00 2C 00 00 FF 02 04 10 01 40 12 00 03 11 00 09 06 7A 51 7E
<- 7E A0 07 03 21 51 11 E4 7E
-> 7E A8 86 21 03 F4 43 DB 01 01 15 19 00 FF 02 04 10 01 70 12 00 08 11 00 09 06 00 00 01 00 00 FF 02 04 10 02 00 12 00 29 11 00 09 06 00 00 19 00 00 FF 02 04 10 02 30 12 00 07 11 00 09 06 01 00 63 01 00 FF 02 04 10 02 A8 12 00 1D 11 00 09 06 00 00 02 01 00 FF 02 04 10 02 D8 12 00 14 11 00 09 06 00 00 0D 00 00 FF 02 04 10 03 30 12 00 13 11 00 09 06 00 00 14 00 00 FF 02 04 10 03 78 12 00 05 11 00 09 3D 66 7E
<- 7E A0 07 03 21 71 13 C5 7E
-> 7E A8 86 21 03 F6 51 F8 06 01 00 1F 04 00 FF 02 04 10 03 D0 12 00 15 11 00 09 06 00 00 10 01 00 FF 02 04 10 03 F0 12 00 16 11 00 09 06 00 00 0F 00 00 FF 02 04 10 04 10 12 00 11 11 00 09 06 00 00 29 00 00 FF 02 04 10 04 38 12 00 1C 11 00 09 06 00 00 02 02 00 FF 02 04 10 04 68 12 00 1B 11 01 09 06 00 00 02 00 00 FF 02 04 10 04 88 12 00 2B 11 00 09 06 00 00 19 02 00 FF 02 04 10 04 98 12 00 46 11 00 C7 66 7E
<- 7E A0 07 03 21 91 1D 22 7E
-> 7E A0 6B 21 03 F8 0A 74 09 06 00 00 60 03 0A FF 02 04 10 04 C8 12 00 2A 11 00 09 06 00 00 19 01 00 FF 02 04 10 05 40 12 00 28 11 00 09 06 00 00 19 09 00 FF 02 04 10 05 80 12 00 09 11 00 09 06 00 00 0A 00 00 FF 02 04 10 05 A8 12 00 17 11 01 09 06 00 00 16 00 00 FF 02 04 10 05 F0 12 00 3E 11 00 09 06 00 00 42 00 01 FF A8 CE 7E
<- 7E A0 0E 03 21 BE 8B 02 05 01 02 FA 10 DE 92 7E
-> 7E A0 0C 21 03 1A D3 7E 0C 01 01 85 62 7E
ReadObject failed Association Short Name 00.00.40.00.00.255:3 Not enough memory available.
Failed to read object Association Short Name 00.00.40.00.00.255 attribute index 3
<- 7E A0 07 03 21 53 03 C7 7E
-> 7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 01 53 3B 7E
Error.All items are read.
ERROR: the test result show "Not enough memory available.".
I want to know why the error occur, and how to Analysis the communication of processes.
how to know the detail and the function for this client example and the server example?
is there a detailed introduction about these two example?
Hi,
Hi,
It seems that we have broke Short Name referencing. All companies are using Logical Name referencing nowadays. We are testing this and release a new version today.
BR,
Mikko
Hi,
Hi,
Get the latest version from the GitHub. obj_attributeCount returned wrong attribute index count for gxAssociationShortName.
BR,
Mikko
thanks
thanks