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. 115200 Baudrate

115200 baudrate

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

Good day!

I apologize if topic is dublicated, but searching through forum didn't bring any result.
I cloned gurux.dlms.java git repo, installed gurux.dlms.client.example.java Maven project in Eclipse and
1) tried to modify BaudRate.java file to get 115200 baudrate available:

public enum BaudRate {
/**
* Baudrate is 115200.
*/
BAUD_RATE_115200(115200),

/**
* Baudrate is 57600.
*/
BAUD_RATE_57600(57600),

/**
* 38,400 baud.
*/
BAUD_RATE_38400(38400),

...

2) modified sampleclient.java:

l.75:
GXSerial serial = (GXSerial) settings.media;
if (settings.iec) {
serial.setBaudRate(BaudRate.BAUD_RATE_300);
serial.setDataBits(7);
serial.setParity(Parity.EVEN);
serial.setStopBits(StopBits.ONE);
} else {
serial.setBaudRate(BaudRate.BAUD_RATE_115200);
serial.setDataBits(8);
serial.setParity(Parity.NONE);
serial.setStopBits(StopBits.ONE);
}

But due to precompiled jar libs ( supposedly, I'm not experienced Java&Maven user, sorry ) got

"Unresolved compilation problem:
BAUD_RATE_115200 cannot be resolved or is not a field"

Please help me to solve this issue.

Best regards,
Anton Smirnov
asmirnov@opk-bulat.ru

Profile picture for user Kurumi

Kurumi

5 years 11 months ago

Good day Anton,

Good day Anton,

Baudrates are added to gurux.common, but Github is not answer for some reason and we can't release source code to GitHub.

We'll try to release a new version as soon as Github starts to work again.

BR,
Mikko

Anton

5 years 11 months ago

Hello, Mikko.

Hello, Mikko.

Thanks a lot, waiting for new version gurux.common on github.

Best regards,
Anton Smirnov
asmirnov@opk-bulat.ru

Anton

5 years 11 months ago

Hello, Mikko.

Hello, Mikko.

I can see gurux.common v1.0.17 on github. But importing pom.xml from gurux.dlms.java to Eclipse still generates gurux.common-1.0.16.jar file without new baudrates. Please notice what I do wrong. Or maybe some dependencies have to be renewed in gurux.dlms.java and gurux.serial.java ?

Best regards,
Anton Smirnov
asmirnov@opk-bulat.ru

Profile picture for user Kurumi

Kurumi

5 years 11 months ago

Hello Anton,

Hello Anton,

New version from Gurux media components for Java is released. Get the latest versions.

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