07.12.2022, 12:17
I Use
and get:
Code:
cmd = 'ISCP\x00\x00\x00\x10\x00\x00\x00\x08\x01\x00\x00\x00!1PWR01\x0D'
require('socket')
sock=socket.tcp()
sock:settimeout(2)
a=sock:connect('192.168.1.100',60128)
b=sock:send(cmd)
log(a)
log(b)
log('a = ' .. a)
log('b = ' .. b)
and get: