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. Gurux DLMS For ANSI C

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.

Description

Questions and comments about<br />
Gurux <b>DLMS/COSEM for ANSI C</b> Protocol Component.

By sekar , 12 May, 2025

I need function of below OBIS code

Forums
Gurux DLMS for ANSI C

please give document of below obis code

0,0,10,0,107,255
0,0,15,0,2,255
0,0,43,0,5,255
0,0,40,0,0,255

this OBIS required to firmware upgrade function

By Pablob , 8 May, 2025

Get block transfer error

Forums
Gurux DLMS for ANSI C

Hello!

I have implemented a DLMS server on a Texas Instruments C2000 microcontroller, based on the ANSI C server examples. Communication is established over PLC, and I have already implemented serialization of the PRIME API on the C2000. The DLMS server interface I am using is TYPE_PDU.

By sekar , 30 April, 2025

i using DLMSServerexample2 in this i want firmware upgrade procedure

Forums
Gurux DLMS for ANSI C

when i connect through GXdlms Director i got error

Exception Response "Service Unknown" -Exception Deciphering failed.

what can i do for firmware upgrade OBIS code and give profer information

By MikeAtson , 24 April, 2025

Confarmance Test Failed

Forums
Gurux DLMS for ANSI C

I'm trying to stm example but there is a lot failed errors.

Test Report: Stmkit
Gurux Conformance Tests
Ran for 00:21:28.1573439
Start Time: 24.04.2025 12:44:14

By Somesh_8073 , 17 April, 2025

Not enough memory available. (ReadObject failed) COM_READ

Forums
Gurux DLMS for ANSI C

hello,

I am trying to read ProfileGeneric - Meter Block Load Profile 1.0.99.1.0.255 using DLMS C library. I get Not enough memory available.

com_read --> com_readDataBlock --> readDLMSPacket --> cl_getData

this is the flow and cl_getData stating above "not enough memory "error.

TRACE for your reference sir, ----------------------------------------------------

By Amiya Roul , 9 April, 2025

Producing large size response packet on US Association

Forums
Gurux DLMS for ANSI C

Hi,

We are developing indian standard meter . In wrapper communication interface of US Association, existing gurux library is producing large size of response buffer when reading objects. Can you please suggest a suitable encoding mechanism to reduce the response buffer size when reading objects for less memory consumption.

Here is the below request-response .

20:48:41 Collecting objects

TX: 00 01 00 30 00 01 00 20 C8 1E 30 00 00 00 03 D3 1B D5 67 F0 D0 FE FF 50 B9 E1 23 14 61 78 8A 39 05 DB D5 6A 0D 4F E8 62

20:48:43

By sekar , 4 April, 2025

i want to update ESW1 value so i need 1 to 128bit related event code

Forums
Gurux DLMS for ANSI C

typedef enum
{
//Meter is powered.
GURUX_EVENT_CODES_POWER_UP = 0x1,
//User has change the time.
GURUX_EVENT_CODES_TIME_CHANGE = 0x2,
//DST status is changed.
GURUX_EVENT_CODES_DST = 0x4,
//Push message is sent.
GURUX_EVENT_CODES_PUSH = 0x8,
//Meter makes auto connect.
GURUX_EVENT_CODES_AUTO_CONNECT = 0x10,
//User has change the password.
GURUX_EVENT_CODES_PASSWORD_CHANGED = 0x20,
//Wrong password tried 3 times.

By sekar , 31 March, 2025

i want function for ESW1

Forums
Gurux DLMS for ANSI C

2E 5C 08 00 00 11 11 01 02 03 04 90 83 45 25 00 01 2C 00 4B 00 10 00 00 00 0B 02 00 19 04 2F 7D 2B 56 00 09 08 39 30 38 33 34 35 32 35 00 09 0B 4C 4E 54 39 30 38 33 34 35 32 35 00 04 02 04 00 00 12 00 00 00 12 00 43 00 12 00 66 00 12 00 00 00 12 00 D2 00 12 00 00 00 12 00 00 3C

in this event interrupt i got 04 02 04 00 in this length i got only 16bit but i need 128bit
i am not using malloc

i want below code to write ESW1 please correct me

int addESW_Status() {

int ret;

const unsigned char ln[6] = { 0, 0, 94, 91, 18, 255 };

By utkubarisgumus , 28 March, 2025

High Authentication Problem

Forums
Gurux DLMS for ANSI C

Hello, I downloaded the project in the path "https://github.com/Gurux/GuruxDLMS.c/blob/master/Keil/NUCLEO-L433xx/Gur…; to my computer. I uploaded it to my own meter. I managed to connect to the meter and communicate with it using Gurux GXDLMSDirector. However, when I set the Authentication level to High and enter the password as "Gurux" as you indicated, I get the error "Access Error : Device reports Read-Write denied".

By Pablob , 26 March, 2025

Association request rejected

Forums
Gurux DLMS for ANSI C

Hello!

I’m implementing a DLMS server on a c2000 Texas Instruments microcontroller based on the ANSI C server examples. Communication is established via PLC, and i have alredy implemented a serialization of the PRIME API on the c2000. The interface I'm using for the DLMS server is "TYPE_PDU".

After making some small modifications, I’m attempting to connect to the server from GXDLMS Director running on a PC, with Microchip’s Prime Manager software handling DLMS over TCP (Prime manager also has a serialization of PRIME API).

Pagination

  • Previous page
  • 5
  • Next page
Gurux DLMS for ANSI C
  • 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