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. * Access Rights Depending On Client Connection *

* Access Rights depending on client connection *

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 amfragal , 5 May, 2016
Forums
Gurux.DLMS

Hi!

Is there any way to specify access rigths to Attributes in an GXDLMSObject, depending on the client connection (public, management,..) used from the client side?

We are analyzing Gurux.DLMS.Server.Example in C# and we don´t see an inmediate way to get that goal.

Thaks in advance!

Profile picture for user Kurumi

Kurumi

10 years 1 month ago

Access Rights depending on client connection

Hi,

We have updated new version. We have added two methods.
Connected and Disconnected. You can update access rights on Connected.

We have also improved server side functionality for large data amounts.

BR,

Mikko

amfragal

10 years 1 month ago

In reply to Access Rights depending on client connection by Kurumi

* Access Rights depending on client connection *

Thanks so much Mikko!
You answer helped us a lot.

After download last version of server code, we have checked that method Connected() in class GXDLMSBase() can help us to get the goal, but we are not able to get it yet.

An example:

- We are trying to set 'NoAccess' mode for attribute "ClockBase" in object "GXDLMSClock" when public client (16) is connected to the server.

- According with Blue_Book, attribute 'clock_base' for the object 'clock' corresponds to attribute 9.
So, in method Connected(), when we detect that client connected corresponds to public client (16), we try to set 'NoAccess' for that attribute like this :

SetAccess(9,AccessMode.NoAccess)

- After that, if we ask from public client for attribute 'clock_base' to server (Obis: 0.0.1.0.0.255, class: 8, attribute:9), the server is still offering the value of the attribute to the client, despite we set its right as NoAccess mode.

Is there another way to set access rigths in server, or any step left in server side?

Thanks in advance!

Profile picture for user Kurumi

Kurumi

10 years ago

Access Rights depending on client connection

Hi,

This is an issue. We are checking Access level on Write and Set, but not on Read or Get messages.
I added issue from this:
http://www.gurux.fi/node/5372

We will fix this ASAP.

BR,

Mikko

Profile picture for user Administrator

Administrator

10 years ago

Access Rights depending on client connection

Hi,

New versions from GXDLMSDirector and DLMS component are available where this is fixed.

  • 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