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-COSEM Through Serial Port

DLMS-COSEM through Serial Port

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 morphheus , 14 June, 2018
Forums
General discussion

Hi Guruxs,

I'm trying to make sense of the DLMS User Association, my usual area is web development, but in this case, I need to implement a protocol of this type.

I am reading the blue book and also the green one, although it is difficult for me to think about how to create a frame to send through the serial port, I do not know if all the protocol requires an object-oriented model (blue book) or if only it is possible to know HOW TO CREATE a frame to send all the queries to the device, that is, like a script...

I want to give thanks above all for your time, I sorry.... if the question is not very clarifying.

Note: The language to be implemented would be the same, it would use Java / Python.

Thank you, happy code! :)

Morphheus

Profile picture for user Kurumi

Kurumi

8 years ago

DLMS-COSEM through Serial Port

Hi,

I believe that best way to go if you use our gurux.dlms.java library. DLMS is very complicated protocol and you don't just send frame and get a reply.

BR,
Mikko

morphheus

8 years ago

Hi Mikko,

First, Thank you!

I will let you know with my advances!

Best Regards,

Morphheus

morphheus

8 years ago

Can't execute: sampleclient (gurux.dlms.client.example.java)

I have errors on the file "pom.xml" when try import from Maven projects:

Plugin org.apache.maven.plugins: maven-clean-plugin: 2.5 or one of its dependencies could not be resolved.

I've also tried to configure it with: dependency-reduced-pom.xml

No errors, no warnings, nevertheless, I can not run main "sampleclient.java" because not exists configuration of the main class.

I forgot something?

I would like to try the examples to be able to get a complete idea of the DLMS-COSEM implementation,

BR,

Morphheus

Profile picture for user Kurumi

Kurumi

7 years 12 months ago

Maven projects

Hi,

Are you using Eclipse?

BR,

Mikko

morphheus

7 years 12 months ago

Eclipse

Yes, the last version,

BR

  • 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