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 1 month 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 1 month ago

Hi Mikko,

First, Thank you!

I will let you know with my advances!

Best Regards,

Morphheus

morphheus

8 years 1 month 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 1 month ago

Maven projects

Hi,

Are you using Eclipse?

BR,

Mikko

morphheus

8 years 1 month ago

Eclipse

Yes, the last version,

BR

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200

New forum topics

  • Possible memory leak in file dlms.c, getCompactArrayItem(), getCompactArrayItem2()
  • Official Gurux.DLMS.Client.Example.Net fails during High GMAC secure association (Invalid PDU), while Gurux Director connects successfully
  • gurux_dlms.GXDateTime.GXDateTime object Error in Python
  • T_APPL_DATA_LN_N1 subtest 3 fails on an LN-only server regardless of the response to a non-existing-object GET
  • Version mismatch between Gurux.DLMS 9.x and Gurux.Common/Gurux.Serial 8.x
More

Who's new

  • RobertCon
  • JamesLef
  • Bryoneverb
  • vGYWbHeKACYPlTkuxT
  • BrandonKar
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin