0
我想編寫一個應用程序來控制LimitlessLEd燈(milight),並且我正面臨一個問題。Milight - Limitlessled Admin應用程序無法控制燈
有關信息,我使用的是VisualStudio 2017/C#。
到目前爲止,我可以用下面的代碼,以獲得來自WiFi橋SessionStart我的會話ID1 ID2:
IPEndPoint ep = new IPEndPoint(IPAddress.Parse("192.168.1.13"), 5987);
var client = new UdpClient();
//Connect to LimitlessLED Wifi Bridge Receiver
client.Connect(ep1);
byte[] LimitlessLED = new byte[]
{ 0x20, 0x00, 0x00, 0x00, 0x16, 0x02, 0x62, 0x3A, 0xD5, 0xED, 0xA3, 0x01, 0xAE, 0x08, 0x2D, 0x46, 0x61, 0x41, 0xA7, 0xF6, 0xDC, 0xAF, 0xD3, 0xE6, 0x00, 0x00, 0x1E };
client.Send(LimitlessLED, LimitlessLED.Length);
var receivedData = client1.Receive(ref ep);
Unforutnatly,如果我嘗試將命令發送到開燈,我得到一個suceess迴應,但沒有發生。
我也面臨着與無限LED管理員應用程序(V6)相同的問題:我得到了成功,但注意到發生,從軟下面的日誌。
Start Wifi Bridge Session...
Send UDP commands to 192.168.1.13 port 5987
Sent: 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
Received: 28 00 00 00 11 00 02 F0 FE 6B 26 28 16 14 CA 43 76 00 01 08 00 00
LimitlessLEDWifiBridgeSessionID1 is 08
LimitlessLEDWifiBridgeSessionID2 is 00
IP Address is 192.168.1.13
MAC Address is FE:6B:26:28:16:14
Sequence Number is 02
Checksum is 3E
Sent: 80 00 00 00 11 08 00 00 02 00 31 00 00 08 04 01 00 00 00 00 00 3E
Command SUCCESSFUL.
Received: 88 00 00 00 03 00 02 00
Command completed.
有沒有人有想法呢? THX在您的幫助,
塞德里克