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 10 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 10 months ago

Ok! Thank you very much!

Ok! Thank you very much!

Profile picture for user Dmitry

Dmitry

4 years 8 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 8 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 8 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 8 months ago

Hi,

Hi,

Methods are updated. Get the latest version.

BR,
MIkko

Profile picture for user Dmitry

Dmitry

4 years 8 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 8 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 8 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 4 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 4 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

  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200

New forum topics

  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
  • DLMS server - serving multiple similar datasets gathered from multiple meters across distinct logical addresses
More

Who's new

  • CorwXGlcWwyuiJawypxb
  • Vegazone-Casin…
  • VegaZone-lBit
  • Vegazone-Sverige-Fug
  • UIRlLOZQoyTZHC…
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin