12.09.2016, 08:47
(This post was last modified: 13.09.2016, 06:06 by gjniewenhuijse.)
I have problems with a grp.response() command.
When i execute this command i can't see this in ETS connected with the LM4. When i connect with another ip bus device i see the command.
Code:
-- handle read
function handleRead()
-- only reply to group read requests
if event.type == 'groupread' then
obj = grp.find(event.dst)
-- object found and has datatype set
if obj and obj.decoded then
grp.response(event.dst, obj.value, obj.datatype)
end
end
end
solved in next release.
When i execute this command i can't see this in ETS connected with the LM4. When i connect with another ip bus device i see the command.
Code:
-- handle read
function handleRead()
-- only reply to group read requests
if event.type == 'groupread' then
obj = grp.find(event.dst)
-- object found and has datatype set
if obj and obj.decoded then
grp.response(event.dst, obj.value, obj.datatype)
end
end
end
solved in next release.