Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. Bug In Gateway Protocol With HighGMAC

bug in gateway protocol with HighGMAC

Forum Rules

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.

By ali_bahal , 11 April, 2022
Forums
Gurux.DLMS

Hi. when I want to connect to meter with "Gateway" protocol with "HighGMAC" security and "EncryptionAuthentication" like below command line parameter :

-h *.*.*.* -p 4059 -iWRAPPER -c 1 -a HighGMAC -P 12345678 -C AuthenticationEncryption -T 4541410550A97D18 -A D0D1D2D3D4D5D6D7D8D9DADBDCDDDEDF -B 000102030405060708090A0B0C0D0E0F -D C6F858068DC7150F6828E9B56D700D04 -v 0.0.43.1.0.255 -t Verbose

there is bug in authentication packet and gurux does not use "Gateway headers" in this packet , so the connection can't be established.
here is the packets :

Send AARQ request.
TX: 00 01 00 01 00 01 00 75 E6 00 02 1D B8 60 6E A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 45 41 41 05 50 A9 7D 18 8A 02 07 80 8B 07 60 85 74 05 08 02 05 AC 12 80 10 13 60 3A 79 63 0D 15 4A 1F 46 36 73 2A 27 4D 66 BE 34 04 32 21 30 30 00 00 00 33 AE 84 13 D0 43 FE EE FE 6E 97 2F 99 5D D4 8B 84 80 5B 4E 91 E2 F8 B0 C2 22 FE AB 5B 74 A5 B2 FF 30 ED AB 90 8C 1A 38 55 81 E2 EF
RX: 00 01 00 01 00 01 00 70 E7 00 02 1D B8 61 69 A1 09 06 07 60 85 74 05 08 01 03 A2 03 02 01 00 A3 05 A1 03 02 01 0E A4 0A 04 08 45 41 41 05 50 A9 7D 18 88 02 07 80 89 07 60 85 74 05 08 02 05 AA 12 80 10 74 4D 69 2C 6D 4B 67 4B 62 39 60 3B 79 2E 2D 45 BE 23 04 21 28 1F 30 00 00 00 31 29 5B 87 32 2A 2F 02 68 C5 58 28 38 D2 81 97 2F FA DF 5C 16 06 26 E7 58 71 43
Authenticating.
TX: 00 01 00 01 00 01 00 38 CB 36 30 00 00 00 34 6B 7A 69 9D 6A 2D 17 F0 80 50 09 89 E6 E8 18 2A DA 75 00 C3 78 87 68 6E BF 5B 51 69 B2 34 5A 15 38 20 4E EB FE 31 64 D6 83 16 D6 D6 EA 01 C0 C3 0D
Data send failed. Try to resend 1/2
Failed to receive reply from the device in given time.

I use c# version. thank you

Profile picture for user Kurumi

Kurumi

4 years 2 months ago

Hi,

Hi,

You are right on this. This is under the work. I need to think about how and when this can be released.

BR,
Mikko

ali_bahal

4 years 2 months ago

sorry , do you think it can

sorry , do you think it can be released in a month ?

Profile picture for user Kurumi

Kurumi

4 years 2 months ago

Hi,

Hi,

We are making a custom release for this and it's released at the end of this month. I do not know the exact day yet, but you can ask after next week if you are interested.

BR,
Mikko

ali_bahal

4 years 1 month ago

hi, I want to know if you

hi, I want to know if you have released any version about this problem or not?

Profile picture for user Kurumi

Kurumi

4 years 1 month ago

Hi,

Hi,

This is fixed for C#, but not released yet. I can't say the exact day yet. Let me know if you are using some other programming language as C# and it's added for it as well.

BR,
Mikko

ali_bahal

4 years 1 month ago

we also use c version, but

we also use c version, but our main requirement is c# version. I'll appreciate if you can release it soon.
thank you

Profile picture for user Kurumi

Kurumi

4 years 1 month ago

Hi,

Hi,

Our clients are keeping us busy, but we try to release this in the following weeks.

BR,
Mikko

ali_bahal

4 years 1 month ago

Thank you very much. I'll

Thank you very much. I'll check it next week again

ali_bahal

4 years ago

Hi, do you think you can

Hi, do you think you can release a fix for this problem this week?

Profile picture for user Kurumi

Kurumi

4 years ago

Hi,

Hi,

The new version from C# is on the Github. Add -G 0:0x1DB8 parameter for the command line to use gateway protocol.

BR,
Mikko

ali_bahal

4 years ago

thank you , I'll test it and

thank you , I'll test it and let you know the result

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin