Open pblo opened 9 years ago
More details :
1) We have a loop with range 0-9
2) In an iteration:
a) lua chunk passed to shell service:
sched.post(user.UniboxInOut._NAME,"UNIBOX_CONNECTED",true)
b) lsf.getProperties() is requested and sometimes the result is nil (usually an array)
c) lua chunk passed to shell service:
sched.post(user.UniboxInOut._NAME,"UNIBOX_CONNECTED",false)
d) lsf.getProperties() is requested and sometimes the result is nil (usually an array)
The message used by shell service is : ExecuteLua ( SIN 26, MIN 2 )
When you use loop with range 0-3 bug is not reproduced nor manually in GUI of simulator.
It is quite strange isn't it?
When lsf.getProperties(sin, proplist) is fired a couple of times , some of the results are always nil while the rest is expected result.
All should be different than nil!
To make it more interesting it happends only when in the middle of doing lua chunk code is posted via shell service ...
To see what I mean just look at this code:
and this debug output