Driver and raw TCP/IP protocols for IoT device.

Hi all. I’m new to the milestone’s world however I would like to understand more about Driver Framework and how to develop my own driver to integrate my audio/video custom IoT devices in milestone.

I wasn’t able to find specific documentation on MIP SDK API to really understand how to approach this stuff. Only a generic example of DemoDriver without detailed description about the API used to implement it.

My custom device sends raw data (video/audio chunks, metadata, GPS info, events) with proprietary TCP and application protocols and it is able also to receive custom commands to retrieve, for example, information about hardware status.

My questions are:

  • Is there detailed information about device driver development?
  • Are there courses/video/tutorial about those stuffs?
  • May I create a simple TCP concurrent server in MIP Driver in order to receive data from device?
  • What about push communication from device instead of polling approach?
  • Is it possibile to work with audio codecs different from AAC such as OGG,OPUS, etc..?

Many thanks in advance for any suggestions or links!

I hope you saw: https://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/intro_driverframework.html&tree=tree_4.html

Milestone does have a tutorial..

I will consult a developer colleague to see if I can provide answers to the next questions..

Hi Bo.

Yes, of course. I saw the link you’ve just indicated and also a video tutorial.

Thanks a lot.

BR.

The correct answer is that there is a MIP Driver Framework tutorial!

Thank you for the comment on this.

Q)

May I create a simple TCP concurrent server in MIP Driver in order to receive data from device?

A)

Yes.

-

Q)

What about push communication from device instead of polling approach?

A)

Yes, you can implement a listener in your driver implementation.

-

Q)

Is it possibile to work with audio codecs different from AAC such as OGG,OPUS, etc..?

A)

No the mentioned format are not supported. The currently supported audio formats can be seen here: https://doc.developer.milestonesys.com/html/index.html?base=mipgenericbytedata/audio_sub_formats.html&tree=tree_3.html

Hi Bo.

Thanks a lot for the link you mentioned. It’s really useful to understand an important part of my questions.

BR.