我已经捕获了控制箱和LED驱动器之间的TCP通信,但是我不确定该怎么做。
似乎发送的第一个字符串是值,第二个字符串是某种确认,或者继续发送消息。
但是我该如何发送33%之类的任意值
有人看到一种明显的方式来转换这些数据吗?
下面的第一部分将亮度设置为100%,第二部分设置为75%,依此类推。
:bri100
C:\ps\packetsender.com -q -u 192.168.1.95 9099 "21 00 34 00 00 00 00 00 00 03 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 3f"
C:\ps\packetsender.com -q -u 192.168.1.95 9099 "10 00 31 00 00 00 00 00 00 03 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01"
:bri75
C:\ps\packetsender.com -q -u 192.168.1.95 9099 "21 00 34 00 00 00 00 00 00 03 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 3f"
C:\ps\packetsender.com -q -u 192.168.1.95 9099 "10 00 31 00 00 00 00 00 00 03 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01"
:bri50
C:\ps\packetsender.com -q -u 192.168.1.95 9099 "21 00 34 00 00 00 00 00 00 03 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3f"
C:\ps\packetsender.com -q -u 192.168.1.95 9099 "10 00 31 00 00 00 00 00 00 03 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01"
:bri25
C:\ps\packetsender.com -q -u 192.168.1.95 9099 "21 00 34 00 00 00 00 00 00 03 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 3e"
C:\ps\packetsender.com -q -u 192.168.1.95 9099 "10 00 31 00 00 00 00 00 00 03 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01"