BlackMagic Hyperdeck Ethernet Protocol [ format ] Command

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

singh sarveshwar

  • Posts: 8
  • Joined: Thu Sep 14, 2017 6:11 am

BlackMagic Hyperdeck Ethernet Protocol [ format ] Command

PostTue Nov 21, 2017 3:24 am

About [ format: prepare: {format} ] command response.

Why its response is of a different kind if compared to other commands response?

command
[ format: prepare: exFAT ]

response
[ 216 format ready
xxxxxx

]

As pre Developer Information Manual
[If a response carries parameters, the response text is terminated with a colon, and parameter name and value pairs follow on subsequent lines until a blank line is returned]

Can you explain what does it mean by [If a response carries parameters] ?

As per my understanding parameters are of the following type
{Parameter}: {Value}

the following response of [ help ] and [ commands ]

[201 help:
{Help Text}
{Help Text}

]

[212 commands:
<commands>
.
.
.
</commands>

]

[ help ] and [ commands ] response doesn't follow {Parameter}: {Value} pattern but still they are terminater by ":" literal.

Why only [ format: prepare: {format} ] response does not terminater by ":" literal ?

We cannot write generic response parser because of this, we need to write command-specific response parser.

is it a bug?
why there is not any explanation about format command (other commands have an explanation) in Developer Information Manual Version 1.8?

http://documents.blackmagicdesign.com/H ... Manual.pdf

page 48
Offline

Tom Jenkinson

  • Posts: 3
  • Joined: Tue Mar 29, 2016 8:06 pm

Re: BlackMagic Hyperdeck Ethernet Protocol [ format ] Comman

PostTue Nov 21, 2017 9:25 am

For reference this is our parser at the moment

https://github.com/LA1TV/Hyperdeck-JS-L ... /parser.js
Offline

singh sarveshwar

  • Posts: 8
  • Joined: Thu Sep 14, 2017 6:11 am

Re: BlackMagic Hyperdeck Ethernet Protocol [ format ] Comman

PostWed Nov 22, 2017 4:38 am

Tom it's me :)
Solving #44

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 18 guests