Skip to main content
Home
for DLMS smart meters

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Association Logical Name
gxdn
Profile picture for user Administrator
By Administrator, 23 January, 2018
The Association Logical Name object is used to tell what kind of functionality (objects and services) the meter can offer. It's also used to tell authentication information (level and password). There is its own Association Logical Name object for each authentication level.

Properties

  • 1. Logical Name
    Logical name of the object.
  • 2. Object list
    List of objects that this association can offer. The list also contains access rights for all the objects and methods (actions).
  • 3. Associated partners ID
    Client and server SAPs (address).
  • 4. Application context name
    Name of the application context.
  • 5. xDLMS context info
    Contains information from supported service (conformance) and maximum PDU size.
  • 6. Authentication mechanism name
    Contains information from used authentication mechanism (level).
  • 7. Secret
    Password.
  • 8. Association status.
    Is this object used.
  • 9. Security setup reference
    Logical name of used security setup object .
  • 10. User list
    List of users.
  • 11. Current user
    Identifier of the current user.

Actions

  • 1. Reply to HLS authentication
    This action is used when HLS connection is used to send CtoS challenge.
  • 2. Change HLS secret
    This action is used to change HLS password.
  • 3. Add object
    Add new object to object list..
  • 4. Remove object
    Remove object from the object list..
  • 3. Add user
    Add new user to user list..
  • 4. Remove user
    Remove user from the user list..

Access data from ANSI C

  • Add User
  • Show Users
  • Remove User
//Add new user to user list.
gxKey2 *it;
const char * name = "Gurux";
unsigned char len = strlen(name);
it = (gxKey2*)gxmalloc(sizeof(gxKey2));
it->key = 1;
it->value = gxmalloc(len + 1);
((char*)it->value)[len] = 0;
memcpy(it->value, name, len);
arr_push(&object->userList, it);
//Show users on user list.
int pos;
gxKey2 *it;
for (pos = 0; pos != object->userList.size; ++pos)
{
    if ((ret = arr_getByIndex(&object->userList, pos, (void**)&it)) != 0)
    {
        return ret;
    }
    printf("ID: %d\r\n", it->key);
    printf("Name: %s\r\n", (char*)it->value);
}
//Remove user from the user list..
int ret;
gxKey2 *it;
ret = arr_removeByIndex(&object->userList, 1, (void**) &it);
//Clear user name.
free(it->value);
//Clear removed object.
free(it);

Book traversal links for Association Logical Name

  • Activity calendar
  • Up
  • Auto Connect
  • Create new account
  • Reset your password

Book navigation

  • Activity calendar
  • Association Logical Name
  • Auto Connect
  • Auto answer
  • Clock
  • Compact data
  • Data
  • Demand register
  • Disconnect control
  • Extended register
  • GPRS modem setup
  • GSM diagnostic
  • IEC HDLC setup
  • IEC local port setup
  • IPv4 setup
  • IPv6 setup
  • Image transfer
  • Limiter
  • M-Bus Client
  • M-Bus master port setup
  • M-Bus slave port setup
  • MAC address setup
  • Modem configuration
  • PPP setup
  • Profile generic
  • Push Setup
  • Register
  • Register Monitor
  • Register activation
  • Register table
  • SAP assignment
  • Script table
  • Security setup
  • Single action schedule
  • Special days table
  • Status mapping
  • Tcp Udp Setup
  • Utility tables
  • Manufacturer custom objects

Hire Us!

Latest Releases

  • Tue, 05/20/2025 - 08:40
    gurux.dlms.c 9.0.2505.2001
  • Mon, 05/19/2025 - 10:19
    gurux.net.java 1.0.30
  • Mon, 05/19/2025 - 10:00
    gurux.dlms.c 9.0.2505.1901
  • Thu, 05/15/2025 - 16:26
    gurux.dlms.c 9.0.2505.1501
  • Wed, 05/14/2025 - 08:30
    gurux.dlms.c 9.0.2505.1401

New forum topics

  • HDLC Adress resolver configuration
  • Reading all "Data" object type parameter together
  • com_read getting failed for billing profile and instantaneous profile
  • Simulator connection closed
  • Regarding the dlms android project
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin