Я перехватил трафик 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"