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. New Obis Ui

new obis ui

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 nishitha , 24 June, 2020
Forums
Gurux.MQTT

hi mikko,
I am implementing an UI where i take obis from xml file, parse and set some values and send to meter,in this I need a small clarification
2)In the server code, I see there in init() function in GXDLMS base where we add different objects to meter,
before that there is a setKek(function) what is the purpose of it ?.
3)After adding objects to meter in init(), there are 3 steps before server initialization as follows:
getItems().add(new GXDLMSCompactData());
getItems().add(new GXDLMSDisconnectControl());
///////////////////////////////////////////////////////////////////////
// Server must initialize after all objects are added.
super.initialize();
So suppose if i need to add new obis, do we need to add them only in the init() after setKek and before server initialize. (or) can we add it from GSDLMSServerExample.java ???

Profile picture for user Kurumi

Kurumi

5 years 11 months ago

Hi,

Hi,

KEK is used if you update keys to the meter.
You need to add the objects before calling initialize-method.
You can add objects also after that, but initialize checks that object type and logical name are set.

BR,
Mikko

BR,
Mikko

nishitha

5 years 11 months ago

hi Mikko,

hi Mikko,
so we can update key using kek?
what is the object type you are referring?
And as you specified earlier, intialize checks object type and logical name are set, so can we just use addLogicalName in init() and other objects we can add later after server.initilaize() right?

Profile picture for user Kurumi

Kurumi

5 years 11 months ago

Hi,

Hi,

Security Setup.

You can add them later if you have added them to the association view. Initialize method updates also association view is it's not set (size is zero).

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