dektronics / printalyzer-densitometer

Reflection and Transmission Densitometer for Photographic Darkroom Use
19 stars 4 forks source link

Standardize the USB control protocol command response format #7

Closed dkonigsberg closed 2 years ago

dkonigsberg commented 3 years ago

Right now a lot of the USB control protocol is designed with the assumption that the device is also being monitored via the debug serial port at the same time. Furthermore, command responses are somewhat loosely defined and not well standardized.

Every command needs a documented and standardized response format, and those responses need to be designed with the assumption that the user will not have access to the debug serial port.

dkonigsberg commented 2 years ago

Rewriting the USB-CDC protocol should resolve this issue: 99cd436eb626b9081de0ff0dc20e4523179984ad (Will close once the protocol documentation is updated.)