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. Dlms Server Example Invalid Data

dlms server example invalid data

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 nishitha , 16 June, 2020
Forums
Gurux DLMS for Java

hi Mikko,
I have connected my meter and ran the server code,when i run the meter starts sending data, in the server side, data is receiving but it is showing invalid hdlc frame: 10 expected : 54, can you tell me why we get this error and how do i see the actual data(it is in hex form) meter is sending. Also output said server not initialized how do we initialize server
output:
Logical Name DLMS Server in serial port COM8
java.lang.RuntimeException: Server not Initialized.
----------------------------------------------------------
Press Enter to close.
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54
Invalid HDLC Frame: 10 Expected: 54

Profile picture for user Kurumi

Kurumi

5 years 12 months ago

Hi,

Hi,

You need to initialize the server. In your reply, you said that you have connected the meter?
If you want to read the meter you need to make a client.

BR,
Mikko

nishitha

5 years 12 months ago

Hi Mikko,

Hi Mikko,
1) i donot want the client because i am not reading any meter data.
2) in the server code, there is already server.initialize() again what do i need for server intilization???

Profile picture for user Kurumi

Kurumi

5 years 11 months ago

Hi Nishitha,

Hi Nishitha,

The server code is if you want to implement DLMS meter. If you are not reading any data what you want to do? Server.initialize function is used when you create DLMS meter.

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