diff --git a/python_sdk/api.html b/python_sdk/api.html index 493cbc1f..4c17cb72 100644 --- a/python_sdk/api.html +++ b/python_sdk/api.html @@ -72,6 +72,7 @@
  • BleCommands.cohn_get_certificate()
  • BleCommands.cohn_get_status()
  • BleCommands.cohn_set_setting()
  • +
  • BleCommands.custom_preset_update()
  • BleCommands.enable_wifi_ap()
  • BleCommands.get_ap_entries()
  • BleCommands.get_camera_capabilities()
  • @@ -80,6 +81,7 @@
  • BleCommands.get_date_time()
  • BleCommands.get_date_time_tz_dst()
  • BleCommands.get_hardware_info()
  • +
  • BleCommands.get_last_captured_media()
  • BleCommands.get_open_gopro_api_version()
  • BleCommands.get_preset_status()
  • BleCommands.get_wifi_password()
  • @@ -248,6 +250,7 @@
  • HttpCommands.get_camera_state()
  • HttpCommands.get_date_time()
  • HttpCommands.get_gpmf_data()
  • +
  • HttpCommands.get_last_captured_media()
  • HttpCommands.get_media_list()
  • HttpCommands.get_media_metadata()
  • HttpCommands.get_open_gopro_api_version()
  • @@ -422,6 +425,8 @@
  • ActionId.REQUEST_CREATE_COHN_CERT
  • ActionId.REQUEST_GET_COHN_CERT
  • ActionId.REQUEST_GET_COHN_STATUS
  • +
  • ActionId.REQUEST_GET_LAST_MEDIA
  • +
  • ActionId.REQUEST_PRESET_UPDATE_CUSTOM
  • ActionId.REQUEST_WIFI_CONNECT
  • ActionId.REQUEST_WIFI_CONNECT_NEW
  • ActionId.REQUEST_WIFI_CONNECT_NEW_RSP
  • @@ -431,6 +436,8 @@
  • ActionId.RESPONSE_CREATE_COHN_CERT
  • ActionId.RESPONSE_GET_COHN_CERT
  • ActionId.RESPONSE_GET_COHN_STATUS
  • +
  • ActionId.RESPONSE_GET_LAST_MEDIA
  • +
  • ActionId.RESPONSE_PRESET_UPDATE_CUSTOM
  • ActionId.SCAN_WIFI_NETWORKS
  • ActionId.SCAN_WIFI_NETWORKS_RSP
  • ActionId.SET_CAMERA_CONTROL
  • @@ -1636,6 +1643,32 @@

    Open GoPro API +
    +async custom_preset_update(icon_id: int | None = None, title: str | int | None = None) GoProResp[ResponseGeneric]
    +

    Update a custom preset title and / or icon

    +
    +
    Parameters:
    +
      +
    • icon_id (proto.EnumPresetIcon.ValueType | None) – Icon ID. Defaults to None.

    • +
    • title (str | proto.EnumPresetTitle.ValueType | None) – Custom Preset name or Factory Title ID. Defaults to None.

    • +
    +
    +
    Raises:
    +
      +
    • ValueError – Did not set a parameter

    • +
    • TypeError – Title was not proto.EnumPresetTitle.ValueType or string

    • +
    +
    +
    Returns:
    +

    status of preset update

    +
    +
    Return type:
    +

    GoProResp[proto.ResponseGeneric]

    +
    +
    +
    +
    async enable_wifi_ap(*, enable: bool) GoProResp[None]
    @@ -1758,6 +1791,20 @@

    Open GoPro API +
    +async get_last_captured_media() GoProResp[ResponseLastCapturedMedia]
    +

    Get the last captured media file

    +
    +
    Returns:
    +

    status of request and last captured file if successful

    +
    +
    Return type:
    +

    GoProResp[proto.ResponseLastCapturedMedia]

    +
    +
    +

    +
    async get_open_gopro_api_version() GoProResp[str]
    @@ -3121,6 +3168,20 @@

    Open GoPro API +
    +async get_last_captured_media() GoProResp[MediaPath]
    +

    Get the last captured media file.

    +
    +
    Returns:
    +

    path of last captured media file

    +
    +
    Return type:
    +

    GoProResp[MediaPath]

    +
    +
    +

    +
    async get_media_list() GoProResp[MediaList]
    @@ -7798,6 +7859,16 @@

    ConstantsREQUEST_GET_COHN_STATUS = 111

    +
    +
    +REQUEST_GET_LAST_MEDIA = 109
    +
    + +
    +
    +REQUEST_PRESET_UPDATE_CUSTOM = 100
    +
    +
    REQUEST_WIFI_CONNECT = 4
    @@ -7843,6 +7914,16 @@

    ConstantsRESPONSE_GET_COHN_STATUS = 239

    +
    +
    +RESPONSE_GET_LAST_MEDIA = 237
    +
    + +
    +
    +RESPONSE_PRESET_UPDATE_CUSTOM = 228
    +
    +
    SCAN_WIFI_NETWORKS = 2
    diff --git a/python_sdk/genindex.html b/python_sdk/genindex.html index 26430fbd..a2a49fc8 100644 --- a/python_sdk/genindex.html +++ b/python_sdk/genindex.html @@ -459,6 +459,8 @@

    C

  • current_time_ms (BleStatuses attribute)
  • CURRENT_TIME_MS (StatusId attribute) +
  • +
  • custom_preset_update() (BleCommands method)
  • @@ -726,6 +728,12 @@

    G

  • GET_HW_INFO (CmdId attribute)
  • +
  • get_last_captured_media() (BleCommands method) + +
  • GET_LIVESTREAM_STATUS (ActionId attribute)
  • get_media_list() (HttpCommands method) @@ -751,11 +759,11 @@

    G

  • get_screennail__call__() (HttpCommands method)
  • GET_SETTING_NAME (QueryCmdId attribute) -
  • -
  • GET_SETTING_VAL (QueryCmdId attribute)