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. Gurux DLMS For Java

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.

Description

Questions and comments about<br />
Gurux <b>DLMS/COSEM for Java</b> Protocol Component.

Image
By TodPu , 8 July, 2020

decode of meter reading data

Forums
Gurux DLMS for Java

First of all, thank Gurux for his help
I'm developing a HHU platform
Bluetooth communication is used
So a lot of code needs to be rewritten
Excuse me,How to use gurux to parse uplink data is as follows,(I looked for the documentation and didn't find the code to convert byte data into structural data)
TX: 10:25:38.911 7E A0 19 03 21 32 6F D8 E6 E6 00 C0 01 C1 00 0F 00 00 28 00 00 FF 02 00 91 53 7E

By borinot , 2 July, 2020

Reading OBIS code with GURUX DLMS for Java

Forums
Gurux DLMS for Java

Hello there,

I'm really struggling reading a determined OBIS code directly with JAVA.
I have been authenticated and I have access to the Association view but I would like to read a concrete OBIS code, I haven't find any documentation for doing this.

Can you give me please any hint?

Best regards,
Borinot

By utkarsh , 29 June, 2020

Scalar profile supports in ProfileGeneric for meter

Forums
Gurux DLMS for Java

Hi Mikko,

How to support scalar profile in ProfileGeneric server side (meter). Currently, I don't see the way to add structure in profilegeneric (GXDLMSProfileGeneric)

Regards,
Utkarsh

By Anton , 29 June, 2020

115200 baudrate

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),

By nishitha , 25 June, 2020

add data to structure

Forums
Gurux DLMS for Java

Hi Mikko,

i have structure:
long
octet-string
visible-string
How can i add these to structure, I see there are only GXUInt8,GXUInt16,GXUInt32,GXUInt64 anf for long unsigned previously we used this:
e.g GXStructure data = new GXStructure();
data.Add(new GXUInt16(1));
data.Add(new GXUInt16(2));

GXDLMSData d = new GXDLMSData("1.0.0.2.0.255");
d.setValue(data);
how can i add the above values?

By Srinivasan , 22 June, 2020

GXStructure

Forums
Gurux DLMS for Java

Im trying to do write operation using Java.

Code:
GXStructure input = new GXStructure();
input.add(0, 400);
input.add(1, 1800);
input.add(2, 4);
input.add(3, new GXDateTime(2020, 10, 22, 0,0,0,0));

By Akriti Tyagi , 21 June, 2020

Reading the profileGeneric data

Forums
Gurux DLMS for Java

Hi ,
I am reading the blockload load data,instantaneous ,tamper and daily load data together in one loop , if there is any exception during reading the block load data then will it go for further to read the data like instantaneous ,tamper or any other profile generic data .

By nishitha , 19 June, 2020

how to send data to meter a new obis

Forums
Gurux DLMS for Java

hi Mikko,
I am using the server dlms example to set some values to obis,
Suppose if i want to set some data and send that to meter, and the data type is something like <structure><long-unsigned></long-unsigned></structure> how do we add this type of value???
in the code we have obis like
e.g
void addFirmwareVersion() {
GXDLMSData d = new GXDLMSData("1.0.0.2.0.255");
d.setValue("Gurux FW 0.0.1");
getItems().add(d);
}

By nishitha , 16 June, 2020

dlms server example invalid data

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

By nishitha , 15 June, 2020

need to debug the server example

Forums
Gurux DLMS for Java

hi,
i am using intellij and connected my meter through serial port, when i run the .jar file in the target folder, i am getting error as getParameter method is not there, so i wanted to debug the code, how do i hardcode the function getParameter: it has 2 parameters-(args,settings), how do i give -S COM6 there?, in .jar normally we give filename.jar -S COM6

Pagination

  • Previous page
  • 22
  • Next page
Gurux DLMS for Java
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Mon, 06/15/2026 - 08:52
    gurux.dlms.c 9.0.2606.1501
  • 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

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