Nothing happens with the MessageTester sample?

Hi,

This is surely a newbie question, I just start with the MIP SDK.

My goal is to be able to send custom messages to cameras from Smart Client.

To make some tests, I use the MessageTester sample with Smart Client 2017 R3. I select as a destination a camera (tested with an Axis camera and an ONVIF one) and whatever I choose as a message and click ‘Send Message’, nothing is sent to the camera.

I have also added some code to call MessageId.Server.GetIPAddressRequest when clicking on the button to get the IP address of the camera but no answer too.

I really don’t see what I am missing. Do you have ideas of things that could go wrong?

Thank you

The MessageTester does something different. It is about internal messaging.

http://doc.developer.milestonesys.com/html/index.html?base=samples/messagetester_sample.html&tree=tree_search.html?search=messagetester

http://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/intro_mip_messaging.html&tree=tree_search.html?search=message+communication

On sending messages to cameras:

--

XProtect Smart Client

  • A new command implemented to enable sending commands to the cameras and retrieve a response. The communication is passed through the recorder and requires a security check mark set in the Roles configuration in Management Client. The messages DriverCommand, and DriverResponse are used for this communication. The content of the communication needs a detailed understanding of the specific hardware model. The intension with this command is to enable camera manufacturers and integrators to implement control of otherwise unsupported camera specific features, and expose these features to the Smart Client operator. Only available within Smart Client environment on C-code.

http://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/mip2017r3_intro.html&tree=tree_home.html

There is no sample code but I hope this information will lead you..

Hi Bo,

Thanks for the clarifications!

I succeeded to implement the DriverCommand message.

I am able to send the message to an Axis camera, but for an ONVIF camera, I get the error message: ERROR: unsupported by device.

Is it because:

  • The ONVIF device driver from Milestone doesn’t support DriverCommand? Or
  • The camera needs to declare something specific in its ONVIF answers to allow the driver to send those commands? If it is the case, could you please tell me which ONVIF declaration is needed?

Thank you

I will have to ask Milestone Development, before I do a quick question. While testing with your Onvif camera do you have the newest device pack installed?

(9.7a) - https://www.milestonesys.com/support/resources/download-software/?type=17&lang=27

Hi Bo,

I have installed the version 9.7a (previously, I used the version 9.6a). It gives me exactly the same results.

I am waiting for Milestone Development answer.

Thank you!

The ONVIF driver does not have the needed functionality implemented.

Because I asked; Milestone Driver Development now has put this implementation in their plans for device pack 9.8. (Plan is subject to change without notice.)

Hi Bo,

Thanks for your support! I hope they will choose to implement it.

Last question: do you know when the release of the 9.8 is planned?

Thank you

Device pack 9.8 is planned to release June 28th (plan subject to change without notice).

Hi Bo,

Hope you are going well!

Does the new device pack add the DriverCommand implementation in the ONVIF driver?

Thank you

I can confirm it is in Device pack 9.8

Thank you!