Reverse Engineering Black-Box Serial Protocol

I am currently writing an OS X driver for the NewTek LiveControl LC-11, as shown here.

newtek.com/addons/livecontrol.php

During my reverse engineering, I found that it uses a serial port USB converter and that it communicates with the hexadecimal output by pressing a button or changing an analog value. Using this output, I was able to interpret each button, digital pen, and analog slider, but currently I stick to the interpretation of two analog joysticks and the control of the backlight LEDs. Here is a table of the output values โ€‹โ€‹of the joysticks in different positions.

(Sorry I could not insert the image, but the stack overflow will not allow me, since I just registered.)

         Left   Center  Right  
Top     ^529DC  ^587FF  ^5D6DA  
Center  ^50883  ^58181  ^5F280  
Bottom  ^51E2F  ^57C00  ^5BC1F  

or

http://i28.tinypic.com/217vbr.png

, "^" - - ( , "~", , "\ r" . , , .) , . - , .: D

+3
2

!

() 5. . ( , ?)

(29, 08, 1E) . (87, 81, 7C). (D6, F2, BC). , X.

(DC, FF, DA). (83, 81, 80). (2F, 00, 1F). , Y. , , , ( )?

, :

^5xxyy

xx - ( ), X, 0, - 80, - FF. , yy - Y, - 0, - 80, - FF.

+2

, : ^ 5, , . :

^5   left/right   up/down

:

:

left:    ^5   08(8)    dont_care
center:  ^5   81(129)  dont_care
right:   ^5   F2(242)  dont_care

:

top:     ^5 dont_care  FF(255)
center:  ^5 dont_care  81(129)
bottom:  ^5 dont_care  00(0)

, , 0 255 (0xFF) .

, (129 128) (8 242 0 255).

+1

Source: https://habr.com/ru/post/1757561/


All Articles