09.12.2016, 18:10
Thank you Admin,
just a quick information. As you can see in the link (http://www.limitlessled.com/dev/) I have to send a datagram made of like below
UDP.SEND hex bytes: 20 00 00 00 16 02 62 3A D5 ED A3 01 AE 08 2D 46 61 41 A7 F6 DC AF (D3 E6) 00 00 1E <-- Send this to the ip address of the wifi bridge v6
In your opinion the following command can work? Because unfortunately it does not work:
local socket = require('socket')
local udp = socket.udp()
udpettimeout(200)
udpendto('31x00x00x08x04x02x00x00x00','192.168.1.32','5987')
data = udp:receive()
log(data)
if I use udpend it does not accepted.
Any suggestion?
Thanks.
just a quick information. As you can see in the link (http://www.limitlessled.com/dev/) I have to send a datagram made of like below
UDP.SEND hex bytes: 20 00 00 00 16 02 62 3A D5 ED A3 01 AE 08 2D 46 61 41 A7 F6 DC AF (D3 E6) 00 00 1E <-- Send this to the ip address of the wifi bridge v6
In your opinion the following command can work? Because unfortunately it does not work:
local socket = require('socket')
local udp = socket.udp()
udpettimeout(200)
udpendto('31x00x00x08x04x02x00x00x00','192.168.1.32','5987')
data = udp:receive()
log(data)
if I use udpend it does not accepted.
Any suggestion?
Thanks.