This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

querystatus & queryactual -> rx error
#1
LM5 -> DALI RS485 gateway -> Lamp

HW: LM5 Lite + Ext (i.MX6)
SW: 20190904
-----------------------------


Code:
require('user.dali')

res, err = dalicmd (2, 'arc', {addrtype = 'short', address = 0, value = 30})
log(res, err)
sleep(1)
res, err = dalicmd (2, 'queryactual', {addrtype = 'short', address = 0})
log(res, err)

Code:
test 06.10.2021 19:54:45
* arg: 1
  * bool: true
* arg: 2
  * nil
test 06.10.2021 19:54:46
* arg: 1
  * nil
* arg: 2
  * string: rx error

What could be the problem?
Tried deleting user.dali and rebooting, didn't help.

Если можно на русском, лучше на русском.  Smile
Reply


Messages In This Thread
querystatus & queryactual -> rx error - by morphei - 06.10.2021, 16:46

Forum Jump: