hubaiz / DslrDashboardServer

DslrDashboard Server for OpenWrt
GNU General Public License v3.0
159 stars 60 forks source link

Direct Communication #15

Open pdherring opened 8 years ago

pdherring commented 8 years ago

Hi, Have you got listed anywhere a list of commands that can be sent to DDServer? I have a project where I want to be able to control the settings on a set of cameras connected to a BlackMagic ATEM. I am hoping to be able to build a Arduino (we use lots with BMD stuff already) to receive changes from the ATEM for the aperture etc and then push the setting change to the relevant cameras DDServer.

hubaiz commented 8 years ago

Hi, ddserver is acting as proxy between qDD and the connected DSLR and forward the PTP packets. Currently there are 3 commands that it handles (should be wrapped in a PTP packet) 0x0001 connect to specified DSLR with VID/PID 0x0002 return connected imaging devices list 0x0003 close socket Check out communicator.cpp at line 189 bool Communicator::processPacket(uint8_t *buf, int size)