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. Something Weird In Notification Body

Something weird in notification body

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 wooreeinfo , 25 May, 2022
Forums
Gurux DLMS for Java

Hi,

I sent notification through sendPush() method on server example.
It works perfectly, but it seems to be weird when Profilegeneric object included.
It couldn't be translated with Gurux DLMS Translator on GXDLMSDirector.

It shows like this :
BlockCipher key: 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
Authentication Key:D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF
1: 7E A0 85 81 01 13 78 0B E6 E7 00 0F C0 00 00 01 00 01 00 00 00 01 6D 02 04 01 04 02 04 12 00 28 09 06 00 07 19 09 00 FF 0F 02 12 00 00 02 04 12 00 01 09 06 00 00 2A 00 00 FF 0F 02 12 00 00 02 04 12 00 2A 09 06 00 00 19 01 00 FF 0F 03 12 00 00 02 04 12 00 07 09 06 01 00 63 01 00 FF 0F 02 12 00 01 09 03 12 34 56 06 C0 A8 00 21 01 01 02 02 09 0C 07 E5 04 03 06 12 00 00 FF FD E4 00 05 00 00 00 02 21 06 7E
<HDLC len="84" >
<TargetAddress Value="40" />
<SourceAddress Value="0" />
<!-- Notification frame. -->
<FrameType Value="13" />
<PDU>
<DataNotification>
<!-- High priority. -->
<!-- Confirmed service. -->
<!-- Invoke ID: 1 -->
<LongInvokeIdAndPriority Value="C0000001" />
<!-- 0001-01-01 오전 12:00:00 -->
<DateTime Value="" />
<NotificationBody>
<DataValue>
<Array Qty="00" >
</Array>
</DataValue>
</NotificationBody>
</DataNotification>
</PDU>
</HDLC>

---

I added two lines at addPushSetup() method in server example like this :
GXDLMSProfileGeneric pg = (GXDLMSProfileGeneric) getItems().findByLN(ObjectType.PROFILE_GENERIC, "1.0.99.1.0.255");
push.getPushObjectList().add(new GXSimpleEntry<GXDLMSObject, GXDLMSCaptureObject>(pg, new GXDLMSCaptureObject(2, 0)));

Then I called sendPush() method on main() method like this :
GXDLMSProfileGeneric pg = (GXDLMSProfileGeneric) LNServer.getItems().findByLN(ObjectType.PROFILE_GENERIC, "1.0.99.1.0.255");
LNServer.getProfileGenericDataByEntry(pg, 1, 1); // get a row for test

GXDLMSPushSetup push = (GXDLMSPushSetup) LNServer.getItems().findByLN(ObjectType.PUSH_SETUP, "0.7.25.9.0.255");
LNServer.sendPush(push);

If commented getProfileGenericDataByEntry method, then it works perfectly.
It looks like something weird.

Please let me know if I had something wrong.

Thanks in advance.
Hyunse Cho
wooreeinfo

Profile picture for user Kurumi

Kurumi

4 years ago

Hi,

Hi,
It might be that I found something. I'll get back to this after I have verified this.

BR,
Mikko

Profile picture for user Kurumi

Kurumi

4 years ago

Hi,

Hi,

I create an issue from this and it's now fixed.
http://www.gurux.fi/node/19929

Get the latest version.
BR,
Mikko

wooreeinfo

4 years ago

Thank you for the information

Thank you for the information.
It works perfectly.

  • 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