we are trying to get local name from scrip table object after reading,below is the code snippet. Except logical name every variable are printing correctly.
int ret = 0;
unsigned char ln[6] = {0};
char lnstr[25] = {0};
gxScript *script;
gxScriptAction *scriptAction;
for (r = 0; r != scriptTblObject->scripts.size; ++r)
{
ret = arr_getByIndex(&scriptTblObject->scripts,r,(void**)&script);
for(p = 0; p != script->actions.size;++p)
{
ret = arr_getByIndex(&script->actions,p,(void**)&scriptAction);
memcpy(&ln[0],&scriptAction->logicalName[0],6);
hlp_getLogicalNameToString(scriptAction->logicalName, lnstr);
}
}
For your information we are using 32 bit microcontroller and it is client code.
DLMS_IGNORE_OBJECT_POINTERS is uncommented in gxignore.h.
Hi,
Hi,
This is fixed. Get the latest version.
BR,
Mikko
Hi Mikko,
Hi Mikko,
Thank you. Got the latest version and its working.
Thanks
Mohanraj