Facing error during loading of lua script
Hi,
I am facing below error while loading my lua script :
Lua:Error during loading: .lua : 809: No such int32_t function/proper for object type 'ProtoFiled'
stack traceback:
[C]: in function '_index' *.lua:809 in main chunk.
Below is highlighted line is 809:
local logControlresp = {
LogControlresp = "LOGCONTRLRESPONSEStruct",
**transId = ProtoField.int32_t("RSYS_FAPI.logControlresp.transId", "transId"),**
nStatus = ProtoField.int32_t("RSYS_FAPI.logControlresp.nStatus", "paramCnt"),
}
logControlresp.transId,
logControlresp.nStatus,
function addPhyLogCtrlRespToTree(tvbuf, tree, offset, payLen, endianness)
local info
local PhyLogCtrlRespTree
info = tvbuf:range(offset, payLen)
PhyLogCtrlRespTree = tree:add(info, logControlresp.LogControlresp)
info = tvbuf:range(offset, 4)
PhyLogCtrlRespTree:add_packet_field(logControlresp.transId, info, endianness)
offset = offset + 4
info = tvbuf:range(offset, 1)
PhyLogCtrlRespTree:add_packet_field(logControlresp.nStatus, info, endianness)
offset = offset + 1
offset = offset + THREE_BYTES_RESERVED
end
Please help me to solve this error I am new to lua parser scripting and not getting solution to this online