JnyJny / blynclight

Python bindings for the Embrava BlyncLight family of products.
Apache License 2.0
21 stars 3 forks source link

[QUESTION] Source of COMMAND_LENGTH #20

Closed dend closed 4 years ago

dend commented 4 years ago

I see that you are using a constant, called COMMAND_LENGTH = 9. Where does this value originate from? As in - how did you come up with the length 9?

JnyJny commented 4 years ago

I believe I determined the command length by snooping the usb bus with WireShark and manipulating the light with the Embrava software.

dend commented 4 years ago

Interesting. I am going through your code to understand the internals of the process and try to piece together the flow. Will have to fire up WireShark and see what I can get. Appreciate the insights!

JnyJny commented 4 years ago

If you have questions about the internals feel free to send me mail directly rather than open an issue every time :)

-ejo

On Jun 27, 2020, at 5:05 PM, Den Delimarsky notifications@github.com wrote:

Interesting. I am going through your code to understand the internals of the process and try to piece together the flow. Will have to fire up WireShark and see what I can get. Appreciate the insights!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/JnyJny/blynclight/issues/20#issuecomment-650637743, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGWDE37Y4HEZ3ZEUTCQHM3RYZUMLANCNFSM4OKFSDYQ.