bezmi / jvc_projector

Python library to control JVC projectors
MIT License
16 stars 10 forks source link

Keep connection alive after JVC handshake for multiple commands #18

Open bezmi opened 1 year ago

bezmi commented 1 year ago

Playing around with a serial console and direct connection to the projector, it's apparent that multiple commands can be sent after the JVC handshake procedure. Currently, we close the socket after a command is sent and re-connect via the handshake for the next clmmand.

The code should be refactored to keep the connection alive. It will improve reliability.