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 Object NTP Setup (class_id = 100) Support

DLMS COSEM Object NTP Setup (class_id = 100) support

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.

Profile picture for user Dmitry
By Dmitry , 27 September, 2021
Forums
Gurux.DLMS

Hi, Mikko!

Will be support NTP Setup Object (class_id = 100) in DLMS.cpp?

Thanks!

Profile picture for user Kurumi

Kurumi

4 years 8 months ago

Hi Dmitry,

Hi Dmitry,

I created an issue for this.
http://www.gurux.fi/node/19142

It will take a couple of weeks before it's released.

BR,
Mikko

Profile picture for user Dmitry

Dmitry

4 years 8 months ago

Ok! Thank you very much!

Ok! Thank you very much!

Profile picture for user Dmitry

Dmitry

4 years 6 months ago

Hi!

Hi!
Thanks for NTP Support in new release!
Will be add CGXDLMSNtpSetup to CGXDLMSObjectFactory?
Also link in h-file http://www.gurux.fi/Gurux.DLMS.Objects.GXDLMSNtpSetup does not work and no link here:
http://www.gurux.fi/Gurux.DLMS.Objects

Profile picture for user Kurumi

Kurumi

4 years 6 months ago

Hi,

Hi,

Thanks for pointing this out. There was a human error and it was left out from the GitHub commit. Get the latest version.

BR,
Mikko

Profile picture for user Dmitry

Dmitry

4 years 6 months ago

Will be add reimplemented

Will be add reimplemented Invoke() method for call methods?
1. synchronize (data)
2. add_authentication_key (data)
3. delete_authentication_key (data)
Now CGXDLMSNtpSetup::GetMethodCount() returns 3.

Profile picture for user Kurumi

Kurumi

4 years 6 months ago

Hi,

Hi,

Methods are updated. Get the latest version.

BR,
MIkko

Profile picture for user Dmitry

Dmitry

4 years 6 months ago

Hi, Mikko!

Hi, Mikko!
Incorrect works adding authentication key to array.
In DLMSDirector i add new key: for example id: 55, key: 1a2b3c4d
Recieved packet: 7ea0260361762264e6e600c301c100640000190a001902010202060000003709041a2b3c4d4d2e7e
On server side calls Invoke() method with method index == 2 - Ok.
But adding not works. I think problem here in Invoke():
CGXByteBuffer bb;
bb.Set(e.GetParameters().byteArr, e.GetParameters().GetSize());
bb is empty after set.
e.GetParameters() returns CGXDLMSVariant with array of two elements: first - key id, second - key in byteArr.

And when i read in DLMSDirector NTP Object it has one pair key_id-key: key_id:0 key - empty
Thanks!

Profile picture for user Kurumi

Kurumi

4 years 6 months ago

Hi,

Hi,

Add authentication key seems to be tested, but I'll verify this and let you know.

BR,
Mikko

Profile picture for user Kurumi

Kurumi

4 years 6 months ago

Hi,

Hi,

You are right. I made an issue from this.
http://www.gurux.fi/node/19422

This is tested and released later today.

BR,
Mikko

Profile picture for user Dmitry

Dmitry

4 years 2 months ago

Hi, Mikko!

Hi, Mikko!
Conversion enum DLMS_OBJECT_TYPE_NTP_SETUP to String skipped in method
const char* CGXDLMSConverter::ToString(DLMS_OBJECT_TYPE type)
and String to enum
DLMS_OBJECT_TYPE CGXDLMSConverter::ValueOfObjectType(const char* value)
Thanks!

Profile picture for user Kurumi

Kurumi

4 years 2 months ago

Hi Dmitry,

Hi Dmitry,

Thank you for this info. I'll add it to the worklist. It's included for the next release.

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