Hi Mikko,
I'm trying to connect to EDMI meter via RS232. I manage to get some system information from manufacturer but there are 2 parameter that i'm unsure. Which is systemtitle and password.
-S COM4:9600:8NoneOne -c 6 -a High -P 535441AC10000FA2 -C AuthenticationEncryption -T 4D4D4D0000000001 -A 000102030405060708090A0B0C0D0E0F -B D0D1D2D3D4D5D6D7D8D9DADBDCDDDEDF -w 1 -f 128 -t Verbose
When running on guruxdirector the result is "Connection is permanently rejected. No Reason is given"
This is the log
19:57:10 Send SNRM request.
TX: 7E A0 07 03 0D 93 9C 8B 7E
19:57:10
RX: 7E A0 20 0D 03 73 EB 3E 81 80 14 05 02 00 80 06 02 00 80 07 04 00 00 00 01 08 04 00 00 00 01 CE 6A 7E
19:57:10 Send AARQ request.
TX: 7E A0 6B 03 0D 10 DF 33 E6 E6 00 60 5D A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 4D 4D 4D 00 00 00 00 01 8A 02 07 80 8B 07 60 85 74 05 08 02 02 AC 12 80 10 64 2D 42 6A 67 68 6D 01 0F 17 20 18 61 2C 4E 00 BE 23 04 21 21 1F 30 00 00 00 01 56 A0 7A 50 82 2D 4C 21 98 AD 83 25 E4 AF 6A 13 75 62 AE C4 F6 40 DE E6 52 3B D5 05 7E
19:57:11
RX: 7E A0 49 0D 03 30 F3 2E E6 E7 00 61 3B A1 09 06 07 60 85 74 05 08 01 03 A2 03 02 01 01 A3 05 A1 03 02 01 01 89 07 60 85 74 05 08 02 02 BE 19 04 17 2E 15 30 00 00 00 1F 07 26 32 53 6B 59 87 88 B8 05 6E 9E 74 CA 2E 33 52 1C 7E
19:57:11
RX: 7E A0 20 0D 03 73 EB 3E 81 80 14 05 02 00 80 06 02 00 80 07 04 00 00 00 01 08 04 00 00 00 01 CE 6A 7E
Can you help to point out what is wrong with the setup?
Thank you
Hi Sir, This issue was…
Hi Sir,
This issue was solved. I was able to connect using GxdlmsDirector. To fix this issue i choose "Gurux" on manufacturer option and authentication set to "HIGHGMAC". It also turned out that the security is still not applied on the meter (None).
But another problem is rise when i want to apply this setting to Gurux C Arduino. I'm using ESP32 and it always crashed when performing com_initializeConnection().
It pass SnrmRequest and AarqRequest, but failed when GetApplicationAssociationRequest. Is it because of the data received too big? Do you have any idea how to solved this?
This is my initialization
Client.init(true, 6, 1, DLMS_AUTHENTICATION_HIGH_GMAC, NULL, DLMS_INTERFACE_TYPE_HDLC);
and crash happen on com_initializeConnection() inside this function
ret = com_readAllObjects(NULL);
I tried to set this but still no use
#define GX_DLMS_BYTE_BUFFER_SIZE_32
Thanks,
Hi, You can't read the…
Hi,
You can't read the association view because it's too huge. You need to add COSEM objects to read manually.
DLMS is using a lot of memory and it's causing challenges with MCUs.
BR,
Mikko