imaginevision / Z-Camera-Doc

Document for Z Camera
149 stars 46 forks source link

Valid values? #35

Closed kebwi closed 5 years ago

kebwi commented 5 years ago

The docs list all the valid keys, but not the valid values. For example, the GUI provided by the camera end-point (/ctrl/controller.html) offers two resolution menu options labeled as "4K (Low Noise)" and "C4K (Low Noise)". If I pass those strings into a GET request to the camera, I get a -1 response back, so I must not be using quite the correct string even though those are the strings shown in the menus.

I'm having the same problem with the resolution options "C4K 2.4:1" and "4K 2.4:1". I realize this may have something to do with url encoding, but I would still like to see a concise list of legal values, if that is available.

My question isn't a brief one-off question about that one particular menu setting. My question is, while the docs list all the keys I can use, where can I find a list of all the values I can use for each key (I realize that available values for some settings are subject to the currently assigned value of other keys, such as frame rate which changes depending on resolution).

Thanks.

kebwi commented 5 years ago

I dunno. I guess it started working when I encoded the URL differently.

Still, perhaps I shouldn't have closed the issue. Even though I got the resolution strings to work properly, it would still be nice to find a list of all possible value strings for each key.