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. Implementation ECDSA With Gurux Library For Java

Implementation ECDSA with Gurux library for Java

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 wooreeinfo , 26 April, 2022
Forums
Gurux DLMS for Java

Regards gurux.

I have questions for implementation to authentication ECDSA with Gurux library for Java.

I wrote sample codes for server and client sides using ECDSA authentication.
In this time, I refered to initializeConnection() and generateCertificates() method in GXDLMSReader.java.

It seems to be connect successfully, but I encountered Invalid HDLC Frame error while read object.

gurux.dlms.GXDLMSSettings checkFrame
INFO: Invalid HDLC Frame: 78 Expected: 56

TX: 17:59:46.335 7E A8 86 03 2F 54 59 42 E6 E6 00 DD 08 00 00 00 00 00 00 00 02 08 47 58 41 41 41 41 41 41 08 41 42 43 44 45 46 47 48 00 00 01 02 01 01 81 80 0E AA 57 88 8A E5 1E F1 DF DC E9 14 28 77 72 0A 60 CF 35 90 D8 94 5F DE D0 F9 80 38 52 EE B4 73 DC A3 DE D4 65 C1 D0 62 B3 34 C7 14 90 B1 C6 E9 85 D4 D4 08 6A B0 90 95 5A D6 49 F1 0E 5A 03 A4 2A DA C0 B9 75 30 02 53 E9 AC 22 83 B2 41 8A F0 AC D5 4D 53 71 92 66 37 7E
RX: 17:59:46.335 7E A0 07 2F 03 71 08 73 7E

Do you have any examples or guidances for implementation ECDSA?

Profile picture for user Kurumi

Kurumi

4 years 1 month ago

Hi,

Hi,

Have you tried to generate new certificates and then connect using the client example?
https://github.com/Gurux/gurux.dlms.java/tree/master/gurux.dlms.client…

You can generate new certificates with this:
-h YOUR_METER_IP -p 4049 -c HIGH_LEVEL:CLIENT_ADDRESS -a High -P YOUR_PASSWORD -t Verbose -T 4758436C69656E74 -N 0.0.43.0.1.255

Then try to connect with this:
-h YOUR_METER_IP -p 4059 -c 44 -a HighECDSA -t Verbose -T 4758436C69656E74 -M 4752580000000001 -K GeneralSigning -V Suite1 -C AuthenticationEncryption -v 0.0.43.1.1.255

ECDSA implementation for Java is quite slow and ECDSA is really complicated.

BR,
Mikko

wooreeinfo

4 years 1 month ago

In reply to Hi, by Kurumi

Thanks a lot.

Thanks a lot.
I'll ask if i have any new questions later.

by the way, is there any implementation examples or guidances for server side with ecdsa?

Profile picture for user Kurumi

Kurumi

4 years 1 month ago

Hi,

Hi,

You don't need to do anything else than send a certificate for the meter. Meter will start to use it automatically when the client wants to use general signing.

BR,
Mikko

  • 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