From 4813e2a74a9f51435702e250bacbd33bc362878c Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Thu, 12 Jan 2023 08:50:49 +1300 Subject: [PATCH] camera: add result when protocol is not supported This is required to support builds without CURL. So if CURL is not built in, then http URIs will just return ResultProtocolUnsupported. Signed-off-by: Julian Oes --- protos/camera/camera.proto | 1 + 1 file changed, 1 insertion(+) diff --git a/protos/camera/camera.proto b/protos/camera/camera.proto index 0ec5aa568..8e665abe8 100644 --- a/protos/camera/camera.proto +++ b/protos/camera/camera.proto @@ -244,6 +244,7 @@ message CameraResult { RESULT_TIMEOUT = 6; // Command timed out RESULT_WRONG_ARGUMENT = 7; // Command has wrong argument(s) RESULT_NO_SYSTEM = 8; // No system connected + RESULT_PROTOCOL_UNSUPPORTED = 9; // Definition file protocol not supported } Result result = 1; // Result enum value