While developing a plugin for the Smart Client, I realized that I need to obtain certain information directly from a device (such as a camera).
Since the device and the client may be on different networks, I understand that communication should go through the server.
Is there any SDK that allows the Smart Client to send custom queries to devices registered on the Recording Server and receive responses, without developing a server-side plugin? Or is developing a server plugin the best approach?
If such an SDK exists, could you please provide guidance or examples on how to use it? Thank you.
Yes, you can send a message with messageId DriverCommand, and get the response back in another message with messageId DriverResponse. See the documentation here:
I applied the DriverCommand as you suggested, but I received the following response: “ERROR: 405 Unknown command”
I would like to know what this response means.
The Recording Server is installed on the same PC as the client. I tried to check if the request was being sent to the camera using Wireshark, but I could not detect any packets. (I set the PC’s IP to the same subnet as the camera for this test.)
Could you please advise why I am receiving this response? The code I used is as follows:
Hi, The construction above is correct. Either the camera driver is not supporting the driver command, or the camera did not understand your command and returned 405.
Thank you for confirming. Who should I contact to request DriverCommand support for the Hanwha driver? Should I reach out to Hanwha’s integration contact?