Skip to content

Commit

Permalink
Add setting 125 to Python SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
tcamise-gpsw committed Jul 1, 2024
1 parent 28efd7c commit 9ed4082
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1073,6 +1073,15 @@ def __init__(self, communicator: GoProBle):

super().__init__(communicator)

self.photo_output: BleSetting[Params.PhotoOutput] = BleSetting[Params.PhotoOutput](
communicator,
SettingId.PHOTO_OUTPUT,
Params.PhotoOutput,
)
"""File type of photo output"""

super().__init__(communicator)


class BleAsyncResponses:
"""These are responses whose ID's are not associated with any messages"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -727,4 +727,10 @@ def __init__(self, communicator: GoProHttp):
)
"""Interval between photo captures"""

self.photo_output: HttpSetting[Params.PhotoOutput] = HttpSetting[Params.PhotoOutput](
communicator,
SettingId.PHOTO_OUTPUT,
)
"""File type of photo output"""

super().__init__(communicator)
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,13 @@ class PhotoDuration(GoProIntEnum):
HOUR_3 = 9


class PhotoOutput(GoProIntEnum):
STANDARD = 0
RAW = 1
HDR = 2
SUPERPHOTO = 3


class PresetGroup(GoProIntEnum):
VIDEO = 1000
PHOTO = 1001
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ class SettingId(GoProIntEnum):
PHOTO_FOV = 122
MULTI_SHOT_FOV = 123
INTERNAL_124 = 124
INTERNAL_125 = 125
PHOTO_OUTPUT = 125
INTERNAL_126 = 126
MEDIA_FORMAT = 128
INTERNAL_129 = 129
Expand Down

0 comments on commit 9ed4082

Please sign in to comment.