04.03.2017, 16:13
Hi Luca,
The connection now works but get the following error:
DEBUG1: luavbus:packetExtract(): vbus_packet 12 dump length 10 0xAA 0x00 0x00 0x12 0x42 0x20 0x00 0x05 0x00 0x00
DEBUG1: luavbus:packetExtract(): vbus_packet 13 dump length 52 0xAA 0x10 0x00 0x12 0x42 0x10 0x00 0x01 0x07 0x03 0x3E 0x00 0x44 0x00 0x05 0x78 0x38 0x22 0x38 0x22 0x05 0x46 0x00 0x00 0x00 0x02 0x00 0x7D 0x5A 0x11 0x00 0x00 0x01 0x13 0x00 0x00 0x00 0x00 0x00 0x7F 0x00 0x00 0x00 0x00 0x00 0x7F 0x03 0x00 0x00 0x00 0x00 0x7C
DEBUG1: luavbus:packetExtract(): vbus_packet 14 dump length 10 0xAA 0x00 0x00 0x12 0x42 0x20 0x00 0x05 0x00 0x00
DEBUG1: luavbus:packetExtract(): returning 14 packets
lua: /usr/share/lua/user/luavbus.luas:698: attempt to index global 'bit32' (a nil value)
stack traceback:
/usr/share/lua/user/luavbus.luas:698: in function 'packetCalculateChecksum'
/usr/share/lua/user/luavbus.luas:565: in function 'packetParse'
/usr/share/lua/user/luavbus.luas:240: in function 'waitData'
/lib/genohm-scada/scripting/22.lua:34: in main chunk
[C]: at 0x0000ca54
Any idea what could be wrong?
regards,
Joost
The connection now works but get the following error:
DEBUG1: luavbus:packetExtract(): vbus_packet 12 dump length 10 0xAA 0x00 0x00 0x12 0x42 0x20 0x00 0x05 0x00 0x00
DEBUG1: luavbus:packetExtract(): vbus_packet 13 dump length 52 0xAA 0x10 0x00 0x12 0x42 0x10 0x00 0x01 0x07 0x03 0x3E 0x00 0x44 0x00 0x05 0x78 0x38 0x22 0x38 0x22 0x05 0x46 0x00 0x00 0x00 0x02 0x00 0x7D 0x5A 0x11 0x00 0x00 0x01 0x13 0x00 0x00 0x00 0x00 0x00 0x7F 0x00 0x00 0x00 0x00 0x00 0x7F 0x03 0x00 0x00 0x00 0x00 0x7C
DEBUG1: luavbus:packetExtract(): vbus_packet 14 dump length 10 0xAA 0x00 0x00 0x12 0x42 0x20 0x00 0x05 0x00 0x00
DEBUG1: luavbus:packetExtract(): returning 14 packets
lua: /usr/share/lua/user/luavbus.luas:698: attempt to index global 'bit32' (a nil value)
stack traceback:
/usr/share/lua/user/luavbus.luas:698: in function 'packetCalculateChecksum'
/usr/share/lua/user/luavbus.luas:565: in function 'packetParse'
/usr/share/lua/user/luavbus.luas:240: in function 'waitData'
/lib/genohm-scada/scripting/22.lua:34: in main chunk
[C]: at 0x0000ca54
Any idea what could be wrong?
regards,
Joost