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. 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 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, 04/14/2026 - 11:47
    gurux.dlms.java 4.0.93
  • Mon, 04/13/2026 - 16:12
    gurux.dlms.java 4.0.92
  • Mon, 04/13/2026 - 11:39
    Gurux.DLMS.Net 9.0.2604.1301
  • Tue, 04/07/2026 - 17:17
    Gurux.DLMS.Python 1.0.197
  • Tue, 04/07/2026 - 15:03
    gurux.dlms.c 9.0.2604.0701

New forum topics

  • Connecting To iskrameco ME382- Single Phase Meter with Optical Probe
  • Create custom AARQ Request for encrypted communication
  • Issue when reading Itron Type620 meter
  • Handling Unexpected Disconnects
  • DLMS Communication Issue – No Response (L&T Meter via USB Probe)
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin