Page 1 of 1

BlackMagic Hyperdeck Ethernet Protocol [ format ] Command

PostPosted: Tue Nov 21, 2017 3:24 am
by singh sarveshwar
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

Re: BlackMagic Hyperdeck Ethernet Protocol [ format ] Comman

PostPosted: Tue Nov 21, 2017 9:25 am
by Tom Jenkinson
For reference this is our parser at the moment

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

Re: BlackMagic Hyperdeck Ethernet Protocol [ format ] Comman

PostPosted: Wed Nov 22, 2017 4:38 am
by singh sarveshwar
Tom it's me :)
Solving #44