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 3 months 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 3 months ago

Hi Mikko,

First, Thank you!

I will let you know with my advances!

Best Regards,

Morphheus

morphheus

8 years 3 months 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

8 years 3 months ago

Maven projects

Hi,

Are you using Eclipse?

BR,

Mikko

morphheus

8 years 3 months ago

Eclipse

Yes, the last version,

BR

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202
  • Mon, 08/17/2026 - 09:47
    gurux.dlms.cpp 9.0.2608.1701
  • Mon, 08/17/2026 - 09:25
    gurux.dlms.c 9.0.2608.1701
  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701

New forum topics

  • Security vulnerability report — request for a private contact (GuruxDLMS.c / ANSI C)
  • Topic: Insufficient Memory Error When Reading Class 7 Profile Generic Objects
  • SN ReadResponse returns all-null values when response spans multiple HDLC frames
  • Gurux.Serial.Android 3.0.6 – CH340 (HL-340) USB-Serial Adapter Not Working,
  • Trying to talk to a L&G E360 meter (Using Python Gurux)
More

Who's new

  • lh
  • abuw.01
  • Anaglyfos Trading CC
  • cyby
  • Metin Onan
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin