diff --git a/ble/_sources/features/presets.rst.txt b/ble/_sources/features/presets.rst.txt index 1db37f6a..ead104d7 100644 --- a/ble/_sources/features/presets.rst.txt +++ b/ble/_sources/features/presets.rst.txt @@ -47,6 +47,21 @@ The value of this status is set to a non-zero value when: Operations ---------- +.. operation:protobuf:: Create Custom Preset + :operation-id: GPCAMERA_CREATE_PRESET_V2 + + .. operation:protobuf-message:: request + :feature-id: 0xF1 + :action-id: 0x76 + :uuid: Command + :message: WSDK_RequestCreateCustomPreset + + .. operation:protobuf-message:: response + :feature-id: 0xF1 + :action-id: 0xF6 + :uuid: Command Response + :message: WSDK_ResponseCreateCustomPreset + .. operation:protobuf:: Get Available Presets :operation-id: OGP_PRESETS_GET :external: diff --git a/ble/_sources/protocol/protobuf.rst.txt b/ble/_sources/protocol/protobuf.rst.txt index 97276238..97df255e 100644 --- a/ble/_sources/protocol/protobuf.rst.txt +++ b/ble/_sources/protocol/protobuf.rst.txt @@ -2249,6 +2249,13 @@ Preset Group meta information and contained Presets - The icon to display for this preset group + * - mode_array + + - :ref:`proto-enumflatmode` + - 5 + + - A list of flatmodes available for this preset group + @@ -2535,7 +2542,7 @@ Returns a :ref:`proto-responsegeneric` with the status of the preset update requ - string - 2 - - | UTF-8 encoded custom preset name + - | UTF-8 encoded custom preset name to be used if `title_id` is set to 94 (PRESET_TITLE_USER_DEFINED_CUSTOM_NAME) | | The name must obey the following: | @@ -2896,7 +2903,8 @@ Response: :ref:`proto-responsegeneric` - | Resolution to use for live stream | - | The set of supported resolutions is only available from the `live_stream_window_size_supported_array` in :ref:`proto-notifylivestreamstatus`) + | The set of supported resolutions is only available from the `live_stream_window_size_supported_array` + | in :ref:`proto-notifylivestreamstatus`. * - cert - bytes @@ -2929,7 +2937,8 @@ Response: :ref:`proto-responsegeneric` - | Lens to use for live stream | - | The set of supported lenses is only available from the `live_stream_lens_supported_array` in :ref:`proto-notifylivestreamstatus`) + | The set of supported lenses is only available from the `live_stream_lens_supported_array` + | in :ref:`proto-notifylivestreamstatus`. diff --git a/ble/_static/searchtools.js b/ble/_static/searchtools.js index 92da3f8b..b08d58c9 100644 --- a/ble/_static/searchtools.js +++ b/ble/_static/searchtools.js @@ -178,7 +178,7 @@ const Search = { htmlToText: (htmlString, anchor) => { const htmlElement = new DOMParser().parseFromString(htmlString, 'text/html'); - for (const removalQuery of [".headerlinks", "script", "style"]) { + for (const removalQuery of [".headerlink", "script", "style"]) { htmlElement.querySelectorAll(removalQuery).forEach((el) => { el.remove() }); } if (anchor) { @@ -328,13 +328,14 @@ const Search = { for (const [title, foundTitles] of Object.entries(allTitles)) { if (title.toLowerCase().trim().includes(queryLower) && (queryLower.length >= title.length/2)) { for (const [file, id] of foundTitles) { - let score = Math.round(100 * queryLower.length / title.length) + const score = Math.round(Scorer.title * queryLower.length / title.length); + const boost = titles[file] === title ? 1 : 0; // add a boost for document titles normalResults.push([ docNames[file], titles[file] !== title ? `${titles[file]} > ${title}` : title, id !== null ? "#" + id : "", null, - score, + score + boost, filenames[file], ]); } diff --git a/ble/features/access_points.html b/ble/features/access_points.html index e0e61180..cc43335d 100644 --- a/ble/features/access_points.html +++ b/ble/features/access_points.html @@ -415,6 +415,9 @@ Setting IDs
Photo Mode
Photo Mode
This is a integer value formatted as int8ub.
+ +ID | +Option Name | +Supported Cameras | +
---|---|---|
0 | +0.5 Seconds | ++ + + + + + | +
1 | +1 Second | ++ + + + + + | +
2 | +2 Seconds | ++ + + + + + | +
3 | +5 Seconds | ++ + + + + + | +
4 | +10 Seconds | ++ + + + + + | +
5 | +30 Seconds | ++ + + + + + | +
6 | +60 Seconds | ++ + + + + + | +
7 | +2 Minutes | ++ + + + + + | +
8 | +5 Minutes | ++ + + + + + | +
9 | +30 Minutes | ++ + + + + + | +
10 | +60 Minutes | ++ + + + + + | +
11 | +3 Seconds | ++ |
This is a integer value formatted as int8ub.
+How frequently to take a video when performing a Video Timelapse
+ID | +Option Name | +Supported Cameras | +
---|---|---|
11 | +3 Seconds | ++ |
100 | +60 Minutes | ++ + + + + | +
101 | +30 Minutes | ++ + + + + | +
102 | +5 Minutes | ++ + + + + | +
103 | +2 Minutes | ++ + + + + | +
104 | +60 Seconds | ++ + + + + | +
105 | +30 Seconds | ++ + + + + | +
106 | +10 Seconds | ++ + + + + | +
107 | +5 Seconds | ++ + + + + | +
108 | +2 Seconds | ++ + + + + | +
109 | +1 Second | ++ + + + + | +
110 | +0.5 Seconds | ++ + + + + | +
This is a integer value formatted as int64ub.
+How frequently to take a photo when performing a Photo Timelapse.
+This is a integer value formatted as int8ub.