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. I Want Function For ESW1

i want function for ESW1

By sekar , 31 March, 2025
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 };

if ((ret = INIT_OBJECT(event_status_word, DLMS_OBJECT_TYPE_DATA, ln)) == 0) {

GX_BITSTRING(event_status_word.value);

}
return ret;
}

Profile picture for user Kurumi

Kurumi

1 year 2 months ago

Hi, Get the latest version…

Hi,

Get the latest version. There is now event status word example.

https://github.com/Gurux/GuruxDLMS.c/blob/918587a059f24433ce0aec69c4bbd…

You need to update files under the development folder. There are a couple of changes to make this easier to use and bug fixs.

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
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin