Skip to content

Commit

Permalink
camera: add result when protocol is not supported
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
julianoes committed Jan 11, 2023
1 parent 9826ebe commit 4813e2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions protos/camera/camera.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4813e2a

Please sign in to comment.