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;
}
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