├── LICENSE ├── README.md ├── img └── insta360-remote.png ├── insta360-remote ├── insta360-test ├── insta360.py ├── pb2 ├── active_sensor_device_pb2.py ├── authorization_operation_type_pb2.py ├── authorization_result_pb2.py ├── battery_low_pb2.py ├── battery_pb2.py ├── battery_update_pb2.py ├── bluetooth_pb2.py ├── bt_central_notification_pb2.py ├── bt_central_pb2.py ├── button_press_params_pb2.py ├── button_press_pb2.py ├── calibrate_gyro_pb2.py ├── camera_posture_pb2.py ├── camera_wifi_connection_result_pb2.py ├── cancel_capture_pb2.py ├── cancel_request_authorization_pb2.py ├── capture_auto_split_pb2.py ├── capture_state_pb2.py ├── capture_stopped_pb2.py ├── chargebox_pb2.py ├── charging_command_type_pb2.py ├── check_authorization_pb2.py ├── close_camera_oled_pb2.py ├── current_capture_status_pb2.py ├── delete_files_pb2.py ├── detect_face_pb2.py ├── error_pb2.py ├── exposure_pb2.py ├── exposure_update_pb2.py ├── extra_info_pb2.py ├── file_type_pb2.py ├── fileinfo_list_pb2.py ├── flicker_pb2.py ├── fw_upgrade_state_pb2.py ├── get_button_press_params_pb2.py ├── get_current_button_status_pb2.py ├── get_current_capture_status_pb2.py ├── get_file_extra_pb2.py ├── get_file_finish_pb2.py ├── get_file_list_pb2.py ├── get_file_pb2.py ├── get_flowstate_enable_pb2.py ├── get_gyro_pb2.py ├── get_mini_thumbnail_pb2.py ├── get_multi_photography_options_pb2.py ├── get_options_pb2.py ├── get_photography_options_pb2.py ├── get_sfr_result_pb2.py ├── get_sfr_status_pb2.py ├── get_sync_capture_mode_pb2.py ├── get_timelapse_options_pb2.py ├── get_whiteblance_status_pb2.py ├── get_wifi_connection_info_pb2.py ├── key_pressed_pb2.py ├── live_stream_params_update_pb2.py ├── media_pb2.py ├── message_code_pb2.py ├── multi_photography_options_pb2.py ├── offset_state_pb2.py ├── open_camera_oled_pb2.py ├── open_iperf_service_pb2.py ├── options_pb2.py ├── photo_pb2.py ├── photography_options_pb2.py ├── request_authorization_pb2.py ├── sd_card_speed_pb2.py ├── sensor_pb2.py ├── set_access_camera_file_state_pb2.py ├── set_appid_pb2.py ├── set_button_press_params_pb2.py ├── set_charging_data_pb2.py ├── set_file_extra_pb2.py ├── set_flowstate_enable_pb2.py ├── set_key_time_point_pb2.py ├── set_multi_photography_options_pb2.py ├── set_options_pb2.py ├── set_photography_options_pb2.py ├── set_standby_mode_pb2.py ├── set_sync_capture_mode_pb2.py ├── set_timelapse_options_pb2.py ├── set_wifi_connection_info_pb2.py ├── set_wifi_seize_pb2.py ├── shutdown_pb2.py ├── start_bullettime_pb2.py ├── start_capture_pb2.py ├── start_hdr_pb2.py ├── start_live_stream_pb2.py ├── start_timelapse_pb2.py ├── start_timeshift_pb2.py ├── stop_bullettime_pb2.py ├── stop_capture_pb2.py ├── stop_hdr_pb2.py ├── stop_live_stream_pb2.py ├── stop_timelapse_pb2.py ├── stop_timeshift_pb2.py ├── storage_pb2.py ├── storage_update_pb2.py ├── sync_capture_mode_pb2.py ├── sync_capture_mode_update_pb2.py ├── take_picture_pb2.py ├── take_picture_state_update_pb2.py ├── temperature_pb2.py ├── timelapse_pb2.py ├── timelapse_status_update_pb2.py ├── track_pb2.py ├── upload_gps_pb2.py ├── video_pb2.py ├── wifi_connection_info_pb2.py └── window_crop_info_pb2.py └── utils ├── extract-proto-and-compile ├── from_binary.py └── utils ├── common.py └── descpb_to_proto.py /README.md: -------------------------------------------------------------------------------- 1 | # insta360-wifi-api 2 | 3 | **Python scripts to talk to Insta360 action cameras using the WiFi API** 4 | 5 | The insta360.py is a Python class which partially implements the 6 | WiFi API interface (TCP socket on port 6666) to communicate and 7 | control an Insta360 camera. It was developed by reverse 8 | engineering the communication between an **Insta360 ONE RS** 9 | camera and the Android app. 10 | 11 | ## Connecting to the WiFi 12 | 13 | Fortunately enough it is possibile to connect a GNU/Linux PC to 14 | the Insta360 through the WiFi, the default passowrd of the 15 | camera internal access point is **88888888**. 16 | 17 | Said incidentally, this is an **huge security hole** of the 18 | camera: as far I know it is not possibile to disable the WiFi 19 | interface or change the password (at least from the camera touch 20 | screen interface), so any host in the nearby can connect to your 21 | camera as soon it is turned on; once estabilished the connection 22 | you can also do a **telnet** into the Insta360's GNU/Linux 23 | operating system as **root** (the IP address of the camera is 24 | **192.168.42.1**) and do whaterver you want, even to damage 25 | permanently (brick) the camera. 26 | 27 | ## What is working 28 | 29 | Only some of the messages are implemented into the Python 30 | class, and they do not support many arguments, but you can 31 | read the code and inspect the protobuf definition to know 32 | what parameters are accepted. 33 | 34 | **Implemented methods:** 35 | 36 | * SyncLocalTimeToCamera() 37 | * GetCameraInfo() 38 | * GetNormalVideoOptions() 39 | * SetNormalVideoOptions() 40 | * StartCapture() 41 | * StopCapture() 42 | * TakePicture() 43 | * GetCameraFilesList() 44 | 45 | **Usage example:** 46 | 47 | ```python 48 | #!/usr/bin/env python3 49 | 50 | import logging 51 | import insta360 52 | 53 | logging.basicConfig(format='%(asctime)s %(levelname)-8s %(message)s') 54 | logging.getLogger().setLevel(logging.DEBUG) 55 | 56 | cam = insta360.camera(host='192.168.42.1', port=6666) 57 | cam.Open() 58 | 59 | seq = cam.StartCapture() 60 | print('Sent packet StartCapture(): seq: %d' % (seq,)) 61 | time.sleep(20) 62 | seq = cam.StopCapture() 63 | print('Sent packet StopCapture(): seq: %d' % (seq,)) 64 | 65 | # Wait messages eventually in the queue. 66 | time.sleep(5) 67 | cam.Close() 68 | ``` 69 | 70 | ## The Protobuf problem 71 | 72 | The messages exchanged from the Android app and the camera 73 | use the **Protocol Buffers**, which is an open standard by Google. 74 | 75 | Unfortunately the protobuf messages are not self-describing; 76 | that is, there is no way to tell the names, meaning, or full 77 | datatypes of exchanged messages without an external 78 | specification. To write an understandable source code you need 79 | to extract the specific language description files from a 80 | compiled binary file, e.g. a library from the Android app. To 81 | run the insta360.py module you need such files compiled for 82 | Python. Follow the link at the bottom of this page to get more 83 | instructions. 84 | 85 | ## The insta360-remote program 86 | 87 | The **insta360-remote** is a somewhat working example using the 88 | insta360.py module. It is a Python program using the curses 89 | library, so it can be run into a text terminal. It has the basic 90 | functionality required for a remote control: start and stop 91 | recording, take picture, set the video resolution and zoom. You 92 | can run it from an Android smartphone if you install the 93 | [Termux](https://termux.dev/en/) app and the required Python 94 | libraries. 95 | 96 | ![insta360-remote screenshot](img/insta360-remote.png "insta360-remote screenshot") 97 | 98 | 99 | More info here: [Insta360: WiFi protocol reverse engineering](https://www.rigacci.org/wiki/doku.php/doc/appunti/hardware/insta360_one_rs_wifi_reverse_engineering). 100 | -------------------------------------------------------------------------------- /img/insta360-remote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RigacciOrg/insta360-wifi-api/89320e06a2395140e9e506a735c59a7ff8d88446/img/insta360-remote.png -------------------------------------------------------------------------------- /insta360-test: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | 3 | import logging 4 | import sys 5 | import time 6 | 7 | import insta360 8 | 9 | # Choose logging level: NOTSET, DEBUG, INFO, WARNING, ERROR 10 | logging.basicConfig(format='%(asctime)s %(levelname)-8s %(message)s') 11 | logging.getLogger().setLevel(logging.DEBUG) 12 | 13 | cam = insta360.camera(host='192.168.42.1', port=6666) 14 | cam.Open() 15 | 16 | seq = cam.SyncLocalTimeToCamera() 17 | print('Sent packet SyncLocalTimeToCamera(): seq: %d' % (seq,)) 18 | time.sleep(1) 19 | 20 | seq = cam.GetCameraInfo() 21 | print('Sent packet GetCameraInfo(): seq: %d' % (seq,)) 22 | time.sleep(1) 23 | 24 | seq = cam.GetNormalVideoOptions() 25 | print('Sent packet GetNormalVideoOptions(): seq: %d' % (seq,)) 26 | time.sleep(1) 27 | 28 | seq = cam.SetNormalVideoOptions() 29 | print('Sent packet SetNormalVideoOptions(): seq: %d' % (seq,)) 30 | time.sleep(1) 31 | 32 | seq = cam.StartCapture() 33 | print('Sent packet StartCapture(): seq: %d' % (seq,)) 34 | time.sleep(20) 35 | seq = cam.StopCapture() 36 | print('Sent packet StopCapture(): seq: %d' % (seq,)) 37 | time.sleep(1) 38 | 39 | seq = cam.TakePicture() 40 | print('Sent packet TakePicture(): seq: %d' % (seq,)) 41 | time.sleep(1) 42 | 43 | seq = cam.GetCameraFilesList() 44 | print('Sent packet GetCameraFilesList(): seq: %d' % (seq,)) 45 | time.sleep(1) 46 | 47 | # Live stream video seems to be embedded into the TCP socket data 48 | # with header prefix '\x01\x00\x00', but the format is unknown. 49 | #seq = cam.StartLiveStream() 50 | #print('Sent packet StartLiveStream(): seq: %d' % (seq,)) 51 | #time.sleep(20) 52 | #seq = cam.StopLiveStream() 53 | #print('Sent packet StopLiveStream(): seq: %d' % (seq,)) 54 | #time.sleep(1) 55 | 56 | # Wait messages eventually into the queue. 57 | time.sleep(5) 58 | cam.Close() 59 | -------------------------------------------------------------------------------- /pb2/authorization_operation_type_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: authorization_operation_type.proto 4 | 5 | from google.protobuf.internal import enum_type_wrapper 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import message as _message 8 | from google.protobuf import reflection as _reflection 9 | from google.protobuf import symbol_database as _symbol_database 10 | # @@protoc_insertion_point(imports) 11 | 12 | _sym_db = _symbol_database.Default() 13 | 14 | 15 | 16 | 17 | DESCRIPTOR = _descriptor.FileDescriptor( 18 | name='authorization_operation_type.proto', 19 | package='insta360.messages', 20 | syntax='proto3', 21 | serialized_options=b'\242\002\005INSPB', 22 | create_key=_descriptor._internal_create_key, 23 | serialized_pb=b'\n\"authorization_operation_type.proto\x12\x11insta360.messages*C\n\x1a\x41uthorizationOperationType\x12\x0f\n\x0b\x42LE_CONNECT\x10\x00\x12\x14\n\x10WIFI_PWD_SETTING\x10\x01\x42\x08\xa2\x02\x05INSPBb\x06proto3' 24 | ) 25 | 26 | _AUTHORIZATIONOPERATIONTYPE = _descriptor.EnumDescriptor( 27 | name='AuthorizationOperationType', 28 | full_name='insta360.messages.AuthorizationOperationType', 29 | filename=None, 30 | file=DESCRIPTOR, 31 | create_key=_descriptor._internal_create_key, 32 | values=[ 33 | _descriptor.EnumValueDescriptor( 34 | name='BLE_CONNECT', index=0, number=0, 35 | serialized_options=None, 36 | type=None, 37 | create_key=_descriptor._internal_create_key), 38 | _descriptor.EnumValueDescriptor( 39 | name='WIFI_PWD_SETTING', index=1, number=1, 40 | serialized_options=None, 41 | type=None, 42 | create_key=_descriptor._internal_create_key), 43 | ], 44 | containing_type=None, 45 | serialized_options=None, 46 | serialized_start=57, 47 | serialized_end=124, 48 | ) 49 | _sym_db.RegisterEnumDescriptor(_AUTHORIZATIONOPERATIONTYPE) 50 | 51 | AuthorizationOperationType = enum_type_wrapper.EnumTypeWrapper(_AUTHORIZATIONOPERATIONTYPE) 52 | BLE_CONNECT = 0 53 | WIFI_PWD_SETTING = 1 54 | 55 | 56 | DESCRIPTOR.enum_types_by_name['AuthorizationOperationType'] = _AUTHORIZATIONOPERATIONTYPE 57 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 58 | 59 | 60 | DESCRIPTOR._options = None 61 | # @@protoc_insertion_point(module_scope) 62 | -------------------------------------------------------------------------------- /pb2/battery_low_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: battery_low.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | import battery_pb2 as battery__pb2 15 | 16 | from battery_pb2 import * 17 | 18 | DESCRIPTOR = _descriptor.FileDescriptor( 19 | name='battery_low.proto', 20 | package='insta360.messages', 21 | syntax='proto3', 22 | serialized_options=b'\242\002\005INSPB', 23 | create_key=_descriptor._internal_create_key, 24 | serialized_pb=b'\n\x11\x62\x61ttery_low.proto\x12\x11insta360.messages\x1a\rbattery.proto\"R\n\x16NotificationBatteryLow\x12\x38\n\x0e\x62\x61ttery_status\x18\x01 \x01(\x0b\x32 .insta360.messages.BatteryStatusB\x08\xa2\x02\x05INSPBP\x00\x62\x06proto3' 25 | , 26 | dependencies=[battery__pb2.DESCRIPTOR,], 27 | public_dependencies=[battery__pb2.DESCRIPTOR,]) 28 | 29 | 30 | 31 | 32 | _NOTIFICATIONBATTERYLOW = _descriptor.Descriptor( 33 | name='NotificationBatteryLow', 34 | full_name='insta360.messages.NotificationBatteryLow', 35 | filename=None, 36 | file=DESCRIPTOR, 37 | containing_type=None, 38 | create_key=_descriptor._internal_create_key, 39 | fields=[ 40 | _descriptor.FieldDescriptor( 41 | name='battery_status', full_name='insta360.messages.NotificationBatteryLow.battery_status', index=0, 42 | number=1, type=11, cpp_type=10, label=1, 43 | has_default_value=False, default_value=None, 44 | message_type=None, enum_type=None, containing_type=None, 45 | is_extension=False, extension_scope=None, 46 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 47 | ], 48 | extensions=[ 49 | ], 50 | nested_types=[], 51 | enum_types=[ 52 | ], 53 | serialized_options=None, 54 | is_extendable=False, 55 | syntax='proto3', 56 | extension_ranges=[], 57 | oneofs=[ 58 | ], 59 | serialized_start=55, 60 | serialized_end=137, 61 | ) 62 | 63 | _NOTIFICATIONBATTERYLOW.fields_by_name['battery_status'].message_type = battery__pb2._BATTERYSTATUS 64 | DESCRIPTOR.message_types_by_name['NotificationBatteryLow'] = _NOTIFICATIONBATTERYLOW 65 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 66 | 67 | NotificationBatteryLow = _reflection.GeneratedProtocolMessageType('NotificationBatteryLow', (_message.Message,), { 68 | 'DESCRIPTOR' : _NOTIFICATIONBATTERYLOW, 69 | '__module__' : 'battery_low_pb2' 70 | # @@protoc_insertion_point(class_scope:insta360.messages.NotificationBatteryLow) 71 | }) 72 | _sym_db.RegisterMessage(NotificationBatteryLow) 73 | 74 | 75 | DESCRIPTOR._options = None 76 | # @@protoc_insertion_point(module_scope) 77 | -------------------------------------------------------------------------------- /pb2/battery_update_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: battery_update.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | import battery_pb2 as battery__pb2 15 | 16 | from battery_pb2 import * 17 | 18 | DESCRIPTOR = _descriptor.FileDescriptor( 19 | name='battery_update.proto', 20 | package='insta360.messages', 21 | syntax='proto3', 22 | serialized_options=b'\242\002\005INSPB', 23 | create_key=_descriptor._internal_create_key, 24 | serialized_pb=b'\n\x14\x62\x61ttery_update.proto\x12\x11insta360.messages\x1a\rbattery.proto\"U\n\x19NotificationBatteryUpdate\x12\x38\n\x0e\x62\x61ttery_status\x18\x01 \x01(\x0b\x32 .insta360.messages.BatteryStatusB\x08\xa2\x02\x05INSPBP\x00\x62\x06proto3' 25 | , 26 | dependencies=[battery__pb2.DESCRIPTOR,], 27 | public_dependencies=[battery__pb2.DESCRIPTOR,]) 28 | 29 | 30 | 31 | 32 | _NOTIFICATIONBATTERYUPDATE = _descriptor.Descriptor( 33 | name='NotificationBatteryUpdate', 34 | full_name='insta360.messages.NotificationBatteryUpdate', 35 | filename=None, 36 | file=DESCRIPTOR, 37 | containing_type=None, 38 | create_key=_descriptor._internal_create_key, 39 | fields=[ 40 | _descriptor.FieldDescriptor( 41 | name='battery_status', full_name='insta360.messages.NotificationBatteryUpdate.battery_status', index=0, 42 | number=1, type=11, cpp_type=10, label=1, 43 | has_default_value=False, default_value=None, 44 | message_type=None, enum_type=None, containing_type=None, 45 | is_extension=False, extension_scope=None, 46 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 47 | ], 48 | extensions=[ 49 | ], 50 | nested_types=[], 51 | enum_types=[ 52 | ], 53 | serialized_options=None, 54 | is_extendable=False, 55 | syntax='proto3', 56 | extension_ranges=[], 57 | oneofs=[ 58 | ], 59 | serialized_start=58, 60 | serialized_end=143, 61 | ) 62 | 63 | _NOTIFICATIONBATTERYUPDATE.fields_by_name['battery_status'].message_type = battery__pb2._BATTERYSTATUS 64 | DESCRIPTOR.message_types_by_name['NotificationBatteryUpdate'] = _NOTIFICATIONBATTERYUPDATE 65 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 66 | 67 | NotificationBatteryUpdate = _reflection.GeneratedProtocolMessageType('NotificationBatteryUpdate', (_message.Message,), { 68 | 'DESCRIPTOR' : _NOTIFICATIONBATTERYUPDATE, 69 | '__module__' : 'battery_update_pb2' 70 | # @@protoc_insertion_point(class_scope:insta360.messages.NotificationBatteryUpdate) 71 | }) 72 | _sym_db.RegisterMessage(NotificationBatteryUpdate) 73 | 74 | 75 | DESCRIPTOR._options = None 76 | # @@protoc_insertion_point(module_scope) 77 | -------------------------------------------------------------------------------- /pb2/bluetooth_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: bluetooth.proto 4 | 5 | from google.protobuf.internal import enum_type_wrapper 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import message as _message 8 | from google.protobuf import reflection as _reflection 9 | from google.protobuf import symbol_database as _symbol_database 10 | # @@protoc_insertion_point(imports) 11 | 12 | _sym_db = _symbol_database.Default() 13 | 14 | 15 | 16 | 17 | DESCRIPTOR = _descriptor.FileDescriptor( 18 | name='bluetooth.proto', 19 | package='insta360.messages', 20 | syntax='proto3', 21 | serialized_options=b'\242\002\005INSPB', 22 | create_key=_descriptor._internal_create_key, 23 | serialized_pb=b'\n\x0f\x62luetooth.proto\x12\x11insta360.messages\".\n\x0c\x42TPeripheral\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08mac_addr\x18\x02 \x01(\x0c*2\n\x10\x42TPeripheralType\x12\x07\n\x03\x41LL\x10\x00\x12\x15\n\x11REMOTE_CONTROLLER\x10\x01\x42\x08\xa2\x02\x05INSPBb\x06proto3' 24 | ) 25 | 26 | _BTPERIPHERALTYPE = _descriptor.EnumDescriptor( 27 | name='BTPeripheralType', 28 | full_name='insta360.messages.BTPeripheralType', 29 | filename=None, 30 | file=DESCRIPTOR, 31 | create_key=_descriptor._internal_create_key, 32 | values=[ 33 | _descriptor.EnumValueDescriptor( 34 | name='ALL', index=0, number=0, 35 | serialized_options=None, 36 | type=None, 37 | create_key=_descriptor._internal_create_key), 38 | _descriptor.EnumValueDescriptor( 39 | name='REMOTE_CONTROLLER', index=1, number=1, 40 | serialized_options=None, 41 | type=None, 42 | create_key=_descriptor._internal_create_key), 43 | ], 44 | containing_type=None, 45 | serialized_options=None, 46 | serialized_start=86, 47 | serialized_end=136, 48 | ) 49 | _sym_db.RegisterEnumDescriptor(_BTPERIPHERALTYPE) 50 | 51 | BTPeripheralType = enum_type_wrapper.EnumTypeWrapper(_BTPERIPHERALTYPE) 52 | ALL = 0 53 | REMOTE_CONTROLLER = 1 54 | 55 | 56 | 57 | _BTPERIPHERAL = _descriptor.Descriptor( 58 | name='BTPeripheral', 59 | full_name='insta360.messages.BTPeripheral', 60 | filename=None, 61 | file=DESCRIPTOR, 62 | containing_type=None, 63 | create_key=_descriptor._internal_create_key, 64 | fields=[ 65 | _descriptor.FieldDescriptor( 66 | name='name', full_name='insta360.messages.BTPeripheral.name', index=0, 67 | number=1, type=9, cpp_type=9, label=1, 68 | has_default_value=False, default_value=b"".decode('utf-8'), 69 | message_type=None, enum_type=None, containing_type=None, 70 | is_extension=False, extension_scope=None, 71 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 72 | _descriptor.FieldDescriptor( 73 | name='mac_addr', full_name='insta360.messages.BTPeripheral.mac_addr', index=1, 74 | number=2, type=12, cpp_type=9, label=1, 75 | has_default_value=False, default_value=b"", 76 | message_type=None, enum_type=None, containing_type=None, 77 | is_extension=False, extension_scope=None, 78 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 79 | ], 80 | extensions=[ 81 | ], 82 | nested_types=[], 83 | enum_types=[ 84 | ], 85 | serialized_options=None, 86 | is_extendable=False, 87 | syntax='proto3', 88 | extension_ranges=[], 89 | oneofs=[ 90 | ], 91 | serialized_start=38, 92 | serialized_end=84, 93 | ) 94 | 95 | DESCRIPTOR.message_types_by_name['BTPeripheral'] = _BTPERIPHERAL 96 | DESCRIPTOR.enum_types_by_name['BTPeripheralType'] = _BTPERIPHERALTYPE 97 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 98 | 99 | BTPeripheral = _reflection.GeneratedProtocolMessageType('BTPeripheral', (_message.Message,), { 100 | 'DESCRIPTOR' : _BTPERIPHERAL, 101 | '__module__' : 'bluetooth_pb2' 102 | # @@protoc_insertion_point(class_scope:insta360.messages.BTPeripheral) 103 | }) 104 | _sym_db.RegisterMessage(BTPeripheral) 105 | 106 | 107 | DESCRIPTOR._options = None 108 | # @@protoc_insertion_point(module_scope) 109 | -------------------------------------------------------------------------------- /pb2/calibrate_gyro_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: calibrate_gyro.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='calibrate_gyro.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x14\x63\x61librate_gyro.proto\x12\x11insta360.messages\"#\n\rCalibrateGyro\x12\x12\n\ngyro_count\x18\x01 \x01(\rB\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | 28 | _CALIBRATEGYRO = _descriptor.Descriptor( 29 | name='CalibrateGyro', 30 | full_name='insta360.messages.CalibrateGyro', 31 | filename=None, 32 | file=DESCRIPTOR, 33 | containing_type=None, 34 | create_key=_descriptor._internal_create_key, 35 | fields=[ 36 | _descriptor.FieldDescriptor( 37 | name='gyro_count', full_name='insta360.messages.CalibrateGyro.gyro_count', index=0, 38 | number=1, type=13, cpp_type=3, label=1, 39 | has_default_value=False, default_value=0, 40 | message_type=None, enum_type=None, containing_type=None, 41 | is_extension=False, extension_scope=None, 42 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 43 | ], 44 | extensions=[ 45 | ], 46 | nested_types=[], 47 | enum_types=[ 48 | ], 49 | serialized_options=None, 50 | is_extendable=False, 51 | syntax='proto3', 52 | extension_ranges=[], 53 | oneofs=[ 54 | ], 55 | serialized_start=43, 56 | serialized_end=78, 57 | ) 58 | 59 | DESCRIPTOR.message_types_by_name['CalibrateGyro'] = _CALIBRATEGYRO 60 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 61 | 62 | CalibrateGyro = _reflection.GeneratedProtocolMessageType('CalibrateGyro', (_message.Message,), { 63 | 'DESCRIPTOR' : _CALIBRATEGYRO, 64 | '__module__' : 'calibrate_gyro_pb2' 65 | # @@protoc_insertion_point(class_scope:insta360.messages.CalibrateGyro) 66 | }) 67 | _sym_db.RegisterMessage(CalibrateGyro) 68 | 69 | 70 | DESCRIPTOR._options = None 71 | # @@protoc_insertion_point(module_scope) 72 | -------------------------------------------------------------------------------- /pb2/cancel_capture_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cancel_capture.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='cancel_capture.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x14\x63\x61ncel_capture.proto\x12\x11insta360.messages\"\x0f\n\rCancelCapture\"\x13\n\x11\x43\x61ncelCaptureRespB\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | 28 | _CANCELCAPTURE = _descriptor.Descriptor( 29 | name='CancelCapture', 30 | full_name='insta360.messages.CancelCapture', 31 | filename=None, 32 | file=DESCRIPTOR, 33 | containing_type=None, 34 | create_key=_descriptor._internal_create_key, 35 | fields=[ 36 | ], 37 | extensions=[ 38 | ], 39 | nested_types=[], 40 | enum_types=[ 41 | ], 42 | serialized_options=None, 43 | is_extendable=False, 44 | syntax='proto3', 45 | extension_ranges=[], 46 | oneofs=[ 47 | ], 48 | serialized_start=43, 49 | serialized_end=58, 50 | ) 51 | 52 | 53 | _CANCELCAPTURERESP = _descriptor.Descriptor( 54 | name='CancelCaptureResp', 55 | full_name='insta360.messages.CancelCaptureResp', 56 | filename=None, 57 | file=DESCRIPTOR, 58 | containing_type=None, 59 | create_key=_descriptor._internal_create_key, 60 | fields=[ 61 | ], 62 | extensions=[ 63 | ], 64 | nested_types=[], 65 | enum_types=[ 66 | ], 67 | serialized_options=None, 68 | is_extendable=False, 69 | syntax='proto3', 70 | extension_ranges=[], 71 | oneofs=[ 72 | ], 73 | serialized_start=60, 74 | serialized_end=79, 75 | ) 76 | 77 | DESCRIPTOR.message_types_by_name['CancelCapture'] = _CANCELCAPTURE 78 | DESCRIPTOR.message_types_by_name['CancelCaptureResp'] = _CANCELCAPTURERESP 79 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 80 | 81 | CancelCapture = _reflection.GeneratedProtocolMessageType('CancelCapture', (_message.Message,), { 82 | 'DESCRIPTOR' : _CANCELCAPTURE, 83 | '__module__' : 'cancel_capture_pb2' 84 | # @@protoc_insertion_point(class_scope:insta360.messages.CancelCapture) 85 | }) 86 | _sym_db.RegisterMessage(CancelCapture) 87 | 88 | CancelCaptureResp = _reflection.GeneratedProtocolMessageType('CancelCaptureResp', (_message.Message,), { 89 | 'DESCRIPTOR' : _CANCELCAPTURERESP, 90 | '__module__' : 'cancel_capture_pb2' 91 | # @@protoc_insertion_point(class_scope:insta360.messages.CancelCaptureResp) 92 | }) 93 | _sym_db.RegisterMessage(CancelCaptureResp) 94 | 95 | 96 | DESCRIPTOR._options = None 97 | # @@protoc_insertion_point(module_scope) 98 | -------------------------------------------------------------------------------- /pb2/cancel_request_authorization_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: cancel_request_authorization.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | import authorization_operation_type_pb2 as authorization__operation__type__pb2 15 | 16 | from authorization_operation_type_pb2 import * 17 | 18 | DESCRIPTOR = _descriptor.FileDescriptor( 19 | name='cancel_request_authorization.proto', 20 | package='insta360.messages', 21 | syntax='proto3', 22 | serialized_options=b'\242\002\005INSPB', 23 | create_key=_descriptor._internal_create_key, 24 | serialized_pb=b'\n\"cancel_request_authorization.proto\x12\x11insta360.messages\x1a\"authorization_operation_type.proto\"q\n\x1a\x43\x61ncelRequestAuthorization\x12S\n\x1c\x61uthorization_operation_type\x18\x01 \x01(\x0e\x32-.insta360.messages.AuthorizationOperationTypeB\x08\xa2\x02\x05INSPBP\x00\x62\x06proto3' 25 | , 26 | dependencies=[authorization__operation__type__pb2.DESCRIPTOR,], 27 | public_dependencies=[authorization__operation__type__pb2.DESCRIPTOR,]) 28 | 29 | 30 | 31 | 32 | _CANCELREQUESTAUTHORIZATION = _descriptor.Descriptor( 33 | name='CancelRequestAuthorization', 34 | full_name='insta360.messages.CancelRequestAuthorization', 35 | filename=None, 36 | file=DESCRIPTOR, 37 | containing_type=None, 38 | create_key=_descriptor._internal_create_key, 39 | fields=[ 40 | _descriptor.FieldDescriptor( 41 | name='authorization_operation_type', full_name='insta360.messages.CancelRequestAuthorization.authorization_operation_type', index=0, 42 | number=1, type=14, cpp_type=8, label=1, 43 | has_default_value=False, default_value=0, 44 | message_type=None, enum_type=None, containing_type=None, 45 | is_extension=False, extension_scope=None, 46 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 47 | ], 48 | extensions=[ 49 | ], 50 | nested_types=[], 51 | enum_types=[ 52 | ], 53 | serialized_options=None, 54 | is_extendable=False, 55 | syntax='proto3', 56 | extension_ranges=[], 57 | oneofs=[ 58 | ], 59 | serialized_start=93, 60 | serialized_end=206, 61 | ) 62 | 63 | _CANCELREQUESTAUTHORIZATION.fields_by_name['authorization_operation_type'].enum_type = authorization__operation__type__pb2._AUTHORIZATIONOPERATIONTYPE 64 | DESCRIPTOR.message_types_by_name['CancelRequestAuthorization'] = _CANCELREQUESTAUTHORIZATION 65 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 66 | 67 | CancelRequestAuthorization = _reflection.GeneratedProtocolMessageType('CancelRequestAuthorization', (_message.Message,), { 68 | 'DESCRIPTOR' : _CANCELREQUESTAUTHORIZATION, 69 | '__module__' : 'cancel_request_authorization_pb2' 70 | # @@protoc_insertion_point(class_scope:insta360.messages.CancelRequestAuthorization) 71 | }) 72 | _sym_db.RegisterMessage(CancelRequestAuthorization) 73 | 74 | 75 | DESCRIPTOR._options = None 76 | # @@protoc_insertion_point(module_scope) 77 | -------------------------------------------------------------------------------- /pb2/capture_auto_split_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: capture_auto_split.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | import video_pb2 as video__pb2 15 | 16 | from video_pb2 import * 17 | 18 | DESCRIPTOR = _descriptor.FileDescriptor( 19 | name='capture_auto_split.proto', 20 | package='insta360.messages', 21 | syntax='proto3', 22 | serialized_options=b'\242\002\005INSPB', 23 | create_key=_descriptor._internal_create_key, 24 | serialized_pb=b'\n\x18\x63\x61pture_auto_split.proto\x12\x11insta360.messages\x1a\x0bvideo.proto\"G\n\x1cNotificationCaptureAutoSplit\x12\'\n\x05video\x18\x01 \x01(\x0b\x32\x18.insta360.messages.VideoB\x08\xa2\x02\x05INSPBP\x00\x62\x06proto3' 25 | , 26 | dependencies=[video__pb2.DESCRIPTOR,], 27 | public_dependencies=[video__pb2.DESCRIPTOR,]) 28 | 29 | 30 | 31 | 32 | _NOTIFICATIONCAPTUREAUTOSPLIT = _descriptor.Descriptor( 33 | name='NotificationCaptureAutoSplit', 34 | full_name='insta360.messages.NotificationCaptureAutoSplit', 35 | filename=None, 36 | file=DESCRIPTOR, 37 | containing_type=None, 38 | create_key=_descriptor._internal_create_key, 39 | fields=[ 40 | _descriptor.FieldDescriptor( 41 | name='video', full_name='insta360.messages.NotificationCaptureAutoSplit.video', index=0, 42 | number=1, type=11, cpp_type=10, label=1, 43 | has_default_value=False, default_value=None, 44 | message_type=None, enum_type=None, containing_type=None, 45 | is_extension=False, extension_scope=None, 46 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 47 | ], 48 | extensions=[ 49 | ], 50 | nested_types=[], 51 | enum_types=[ 52 | ], 53 | serialized_options=None, 54 | is_extendable=False, 55 | syntax='proto3', 56 | extension_ranges=[], 57 | oneofs=[ 58 | ], 59 | serialized_start=60, 60 | serialized_end=131, 61 | ) 62 | 63 | _NOTIFICATIONCAPTUREAUTOSPLIT.fields_by_name['video'].message_type = video__pb2._VIDEO 64 | DESCRIPTOR.message_types_by_name['NotificationCaptureAutoSplit'] = _NOTIFICATIONCAPTUREAUTOSPLIT 65 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 66 | 67 | NotificationCaptureAutoSplit = _reflection.GeneratedProtocolMessageType('NotificationCaptureAutoSplit', (_message.Message,), { 68 | 'DESCRIPTOR' : _NOTIFICATIONCAPTUREAUTOSPLIT, 69 | '__module__' : 'capture_auto_split_pb2' 70 | # @@protoc_insertion_point(class_scope:insta360.messages.NotificationCaptureAutoSplit) 71 | }) 72 | _sym_db.RegisterMessage(NotificationCaptureAutoSplit) 73 | 74 | 75 | DESCRIPTOR._options = None 76 | # @@protoc_insertion_point(module_scope) 77 | -------------------------------------------------------------------------------- /pb2/close_camera_oled_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: close_camera_oled.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='close_camera_oled.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x17\x63lose_camera_oled.proto\x12\x11insta360.messages\"\x11\n\x0f\x43loseCameraOled\"\x15\n\x13\x43loseCameraOledRespB\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | 28 | _CLOSECAMERAOLED = _descriptor.Descriptor( 29 | name='CloseCameraOled', 30 | full_name='insta360.messages.CloseCameraOled', 31 | filename=None, 32 | file=DESCRIPTOR, 33 | containing_type=None, 34 | create_key=_descriptor._internal_create_key, 35 | fields=[ 36 | ], 37 | extensions=[ 38 | ], 39 | nested_types=[], 40 | enum_types=[ 41 | ], 42 | serialized_options=None, 43 | is_extendable=False, 44 | syntax='proto3', 45 | extension_ranges=[], 46 | oneofs=[ 47 | ], 48 | serialized_start=46, 49 | serialized_end=63, 50 | ) 51 | 52 | 53 | _CLOSECAMERAOLEDRESP = _descriptor.Descriptor( 54 | name='CloseCameraOledResp', 55 | full_name='insta360.messages.CloseCameraOledResp', 56 | filename=None, 57 | file=DESCRIPTOR, 58 | containing_type=None, 59 | create_key=_descriptor._internal_create_key, 60 | fields=[ 61 | ], 62 | extensions=[ 63 | ], 64 | nested_types=[], 65 | enum_types=[ 66 | ], 67 | serialized_options=None, 68 | is_extendable=False, 69 | syntax='proto3', 70 | extension_ranges=[], 71 | oneofs=[ 72 | ], 73 | serialized_start=65, 74 | serialized_end=86, 75 | ) 76 | 77 | DESCRIPTOR.message_types_by_name['CloseCameraOled'] = _CLOSECAMERAOLED 78 | DESCRIPTOR.message_types_by_name['CloseCameraOledResp'] = _CLOSECAMERAOLEDRESP 79 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 80 | 81 | CloseCameraOled = _reflection.GeneratedProtocolMessageType('CloseCameraOled', (_message.Message,), { 82 | 'DESCRIPTOR' : _CLOSECAMERAOLED, 83 | '__module__' : 'close_camera_oled_pb2' 84 | # @@protoc_insertion_point(class_scope:insta360.messages.CloseCameraOled) 85 | }) 86 | _sym_db.RegisterMessage(CloseCameraOled) 87 | 88 | CloseCameraOledResp = _reflection.GeneratedProtocolMessageType('CloseCameraOledResp', (_message.Message,), { 89 | 'DESCRIPTOR' : _CLOSECAMERAOLEDRESP, 90 | '__module__' : 'close_camera_oled_pb2' 91 | # @@protoc_insertion_point(class_scope:insta360.messages.CloseCameraOledResp) 92 | }) 93 | _sym_db.RegisterMessage(CloseCameraOledResp) 94 | 95 | 96 | DESCRIPTOR._options = None 97 | # @@protoc_insertion_point(module_scope) 98 | -------------------------------------------------------------------------------- /pb2/current_capture_status_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: current_capture_status.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | import capture_state_pb2 as capture__state__pb2 15 | 16 | from capture_state_pb2 import * 17 | 18 | DESCRIPTOR = _descriptor.FileDescriptor( 19 | name='current_capture_status.proto', 20 | package='insta360.messages', 21 | syntax='proto3', 22 | serialized_options=b'\242\002\005INSPB', 23 | create_key=_descriptor._internal_create_key, 24 | serialized_pb=b'\n\x1c\x63urrent_capture_status.proto\x12\x11insta360.messages\x1a\x13\x63\x61pture_state.proto\"w\n\rCaptureStatus\x12\x34\n\x05state\x18\x01 \x01(\x0e\x32%.insta360.messages.CameraCaptureState\x12\x14\n\x0c\x63\x61pture_time\x18\x02 \x01(\r\x12\x1a\n\x12keyTimePointDetail\x18\x03 \x01(\tB\x08\xa2\x02\x05INSPBP\x00\x62\x06proto3' 25 | , 26 | dependencies=[capture__state__pb2.DESCRIPTOR,], 27 | public_dependencies=[capture__state__pb2.DESCRIPTOR,]) 28 | 29 | 30 | 31 | 32 | _CAPTURESTATUS = _descriptor.Descriptor( 33 | name='CaptureStatus', 34 | full_name='insta360.messages.CaptureStatus', 35 | filename=None, 36 | file=DESCRIPTOR, 37 | containing_type=None, 38 | create_key=_descriptor._internal_create_key, 39 | fields=[ 40 | _descriptor.FieldDescriptor( 41 | name='state', full_name='insta360.messages.CaptureStatus.state', index=0, 42 | number=1, type=14, cpp_type=8, label=1, 43 | has_default_value=False, default_value=0, 44 | message_type=None, enum_type=None, containing_type=None, 45 | is_extension=False, extension_scope=None, 46 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 47 | _descriptor.FieldDescriptor( 48 | name='capture_time', full_name='insta360.messages.CaptureStatus.capture_time', index=1, 49 | number=2, type=13, cpp_type=3, label=1, 50 | has_default_value=False, default_value=0, 51 | message_type=None, enum_type=None, containing_type=None, 52 | is_extension=False, extension_scope=None, 53 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 54 | _descriptor.FieldDescriptor( 55 | name='keyTimePointDetail', full_name='insta360.messages.CaptureStatus.keyTimePointDetail', index=2, 56 | number=3, type=9, cpp_type=9, label=1, 57 | has_default_value=False, default_value=b"".decode('utf-8'), 58 | message_type=None, enum_type=None, containing_type=None, 59 | is_extension=False, extension_scope=None, 60 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 61 | ], 62 | extensions=[ 63 | ], 64 | nested_types=[], 65 | enum_types=[ 66 | ], 67 | serialized_options=None, 68 | is_extendable=False, 69 | syntax='proto3', 70 | extension_ranges=[], 71 | oneofs=[ 72 | ], 73 | serialized_start=72, 74 | serialized_end=191, 75 | ) 76 | 77 | _CAPTURESTATUS.fields_by_name['state'].enum_type = capture__state__pb2._CAMERACAPTURESTATE 78 | DESCRIPTOR.message_types_by_name['CaptureStatus'] = _CAPTURESTATUS 79 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 80 | 81 | CaptureStatus = _reflection.GeneratedProtocolMessageType('CaptureStatus', (_message.Message,), { 82 | 'DESCRIPTOR' : _CAPTURESTATUS, 83 | '__module__' : 'current_capture_status_pb2' 84 | # @@protoc_insertion_point(class_scope:insta360.messages.CaptureStatus) 85 | }) 86 | _sym_db.RegisterMessage(CaptureStatus) 87 | 88 | 89 | DESCRIPTOR._options = None 90 | # @@protoc_insertion_point(module_scope) 91 | -------------------------------------------------------------------------------- /pb2/delete_files_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: delete_files.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='delete_files.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x12\x64\x65lete_files.proto\x12\x11insta360.messages\"\x1a\n\x0b\x44\x65leteFiles\x12\x0b\n\x03uri\x18\x01 \x03(\t\"#\n\x0f\x44\x65leteFilesResp\x12\x10\n\x08\x66\x61il_uri\x18\x01 \x03(\tB\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | 28 | _DELETEFILES = _descriptor.Descriptor( 29 | name='DeleteFiles', 30 | full_name='insta360.messages.DeleteFiles', 31 | filename=None, 32 | file=DESCRIPTOR, 33 | containing_type=None, 34 | create_key=_descriptor._internal_create_key, 35 | fields=[ 36 | _descriptor.FieldDescriptor( 37 | name='uri', full_name='insta360.messages.DeleteFiles.uri', index=0, 38 | number=1, type=9, cpp_type=9, label=3, 39 | has_default_value=False, default_value=[], 40 | message_type=None, enum_type=None, containing_type=None, 41 | is_extension=False, extension_scope=None, 42 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 43 | ], 44 | extensions=[ 45 | ], 46 | nested_types=[], 47 | enum_types=[ 48 | ], 49 | serialized_options=None, 50 | is_extendable=False, 51 | syntax='proto3', 52 | extension_ranges=[], 53 | oneofs=[ 54 | ], 55 | serialized_start=41, 56 | serialized_end=67, 57 | ) 58 | 59 | 60 | _DELETEFILESRESP = _descriptor.Descriptor( 61 | name='DeleteFilesResp', 62 | full_name='insta360.messages.DeleteFilesResp', 63 | filename=None, 64 | file=DESCRIPTOR, 65 | containing_type=None, 66 | create_key=_descriptor._internal_create_key, 67 | fields=[ 68 | _descriptor.FieldDescriptor( 69 | name='fail_uri', full_name='insta360.messages.DeleteFilesResp.fail_uri', index=0, 70 | number=1, type=9, cpp_type=9, label=3, 71 | has_default_value=False, default_value=[], 72 | message_type=None, enum_type=None, containing_type=None, 73 | is_extension=False, extension_scope=None, 74 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 75 | ], 76 | extensions=[ 77 | ], 78 | nested_types=[], 79 | enum_types=[ 80 | ], 81 | serialized_options=None, 82 | is_extendable=False, 83 | syntax='proto3', 84 | extension_ranges=[], 85 | oneofs=[ 86 | ], 87 | serialized_start=69, 88 | serialized_end=104, 89 | ) 90 | 91 | DESCRIPTOR.message_types_by_name['DeleteFiles'] = _DELETEFILES 92 | DESCRIPTOR.message_types_by_name['DeleteFilesResp'] = _DELETEFILESRESP 93 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 94 | 95 | DeleteFiles = _reflection.GeneratedProtocolMessageType('DeleteFiles', (_message.Message,), { 96 | 'DESCRIPTOR' : _DELETEFILES, 97 | '__module__' : 'delete_files_pb2' 98 | # @@protoc_insertion_point(class_scope:insta360.messages.DeleteFiles) 99 | }) 100 | _sym_db.RegisterMessage(DeleteFiles) 101 | 102 | DeleteFilesResp = _reflection.GeneratedProtocolMessageType('DeleteFilesResp', (_message.Message,), { 103 | 'DESCRIPTOR' : _DELETEFILESRESP, 104 | '__module__' : 'delete_files_pb2' 105 | # @@protoc_insertion_point(class_scope:insta360.messages.DeleteFilesResp) 106 | }) 107 | _sym_db.RegisterMessage(DeleteFilesResp) 108 | 109 | 110 | DESCRIPTOR._options = None 111 | # @@protoc_insertion_point(module_scope) 112 | -------------------------------------------------------------------------------- /pb2/detect_face_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: detect_face.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='detect_face.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x11\x64\x65tect_face.proto\x12\x11insta360.messages\"/\n\x16NotificationDetectFace\x12\x15\n\rdetectFaceNum\x18\x01 \x01(\rB\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | 28 | _NOTIFICATIONDETECTFACE = _descriptor.Descriptor( 29 | name='NotificationDetectFace', 30 | full_name='insta360.messages.NotificationDetectFace', 31 | filename=None, 32 | file=DESCRIPTOR, 33 | containing_type=None, 34 | create_key=_descriptor._internal_create_key, 35 | fields=[ 36 | _descriptor.FieldDescriptor( 37 | name='detectFaceNum', full_name='insta360.messages.NotificationDetectFace.detectFaceNum', index=0, 38 | number=1, type=13, cpp_type=3, label=1, 39 | has_default_value=False, default_value=0, 40 | message_type=None, enum_type=None, containing_type=None, 41 | is_extension=False, extension_scope=None, 42 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 43 | ], 44 | extensions=[ 45 | ], 46 | nested_types=[], 47 | enum_types=[ 48 | ], 49 | serialized_options=None, 50 | is_extendable=False, 51 | syntax='proto3', 52 | extension_ranges=[], 53 | oneofs=[ 54 | ], 55 | serialized_start=40, 56 | serialized_end=87, 57 | ) 58 | 59 | DESCRIPTOR.message_types_by_name['NotificationDetectFace'] = _NOTIFICATIONDETECTFACE 60 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 61 | 62 | NotificationDetectFace = _reflection.GeneratedProtocolMessageType('NotificationDetectFace', (_message.Message,), { 63 | 'DESCRIPTOR' : _NOTIFICATIONDETECTFACE, 64 | '__module__' : 'detect_face_pb2' 65 | # @@protoc_insertion_point(class_scope:insta360.messages.NotificationDetectFace) 66 | }) 67 | _sym_db.RegisterMessage(NotificationDetectFace) 68 | 69 | 70 | DESCRIPTOR._options = None 71 | # @@protoc_insertion_point(module_scope) 72 | -------------------------------------------------------------------------------- /pb2/error_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: error.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='error.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x0b\x65rror.proto\x12\x11insta360.messages\"\xda\x01\n\x05\x45rror\x12\x30\n\x04\x63ode\x18\x01 \x01(\x0e\x32\".insta360.messages.Error.ErrorCode\x12\x0f\n\x07message\x18\x02 \x01(\t\"\x8d\x01\n\tErrorCode\x12\x11\n\rUNKNOWN_ERROR\x10\x00\x12\x14\n\x10UNKNOWN_MSG_CODE\x10\x01\x12\x17\n\x13UNKNOWN_MSG_PAYLOAD\x10\x02\x12\x11\n\rEXECUTE_ERROR\x10\x03\x12\x1a\n\x16OVER_FILE_NUMBER_LIMIT\x10\x04\x12\x0f\n\x0bSYSTEM_BUSY\x10\x05\x42\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | _ERROR_ERRORCODE = _descriptor.EnumDescriptor( 28 | name='ErrorCode', 29 | full_name='insta360.messages.Error.ErrorCode', 30 | filename=None, 31 | file=DESCRIPTOR, 32 | create_key=_descriptor._internal_create_key, 33 | values=[ 34 | _descriptor.EnumValueDescriptor( 35 | name='UNKNOWN_ERROR', index=0, number=0, 36 | serialized_options=None, 37 | type=None, 38 | create_key=_descriptor._internal_create_key), 39 | _descriptor.EnumValueDescriptor( 40 | name='UNKNOWN_MSG_CODE', index=1, number=1, 41 | serialized_options=None, 42 | type=None, 43 | create_key=_descriptor._internal_create_key), 44 | _descriptor.EnumValueDescriptor( 45 | name='UNKNOWN_MSG_PAYLOAD', index=2, number=2, 46 | serialized_options=None, 47 | type=None, 48 | create_key=_descriptor._internal_create_key), 49 | _descriptor.EnumValueDescriptor( 50 | name='EXECUTE_ERROR', index=3, number=3, 51 | serialized_options=None, 52 | type=None, 53 | create_key=_descriptor._internal_create_key), 54 | _descriptor.EnumValueDescriptor( 55 | name='OVER_FILE_NUMBER_LIMIT', index=4, number=4, 56 | serialized_options=None, 57 | type=None, 58 | create_key=_descriptor._internal_create_key), 59 | _descriptor.EnumValueDescriptor( 60 | name='SYSTEM_BUSY', index=5, number=5, 61 | serialized_options=None, 62 | type=None, 63 | create_key=_descriptor._internal_create_key), 64 | ], 65 | containing_type=None, 66 | serialized_options=None, 67 | serialized_start=112, 68 | serialized_end=253, 69 | ) 70 | _sym_db.RegisterEnumDescriptor(_ERROR_ERRORCODE) 71 | 72 | 73 | _ERROR = _descriptor.Descriptor( 74 | name='Error', 75 | full_name='insta360.messages.Error', 76 | filename=None, 77 | file=DESCRIPTOR, 78 | containing_type=None, 79 | create_key=_descriptor._internal_create_key, 80 | fields=[ 81 | _descriptor.FieldDescriptor( 82 | name='code', full_name='insta360.messages.Error.code', index=0, 83 | number=1, type=14, cpp_type=8, label=1, 84 | has_default_value=False, default_value=0, 85 | message_type=None, enum_type=None, containing_type=None, 86 | is_extension=False, extension_scope=None, 87 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 88 | _descriptor.FieldDescriptor( 89 | name='message', full_name='insta360.messages.Error.message', index=1, 90 | number=2, type=9, cpp_type=9, label=1, 91 | has_default_value=False, default_value=b"".decode('utf-8'), 92 | message_type=None, enum_type=None, containing_type=None, 93 | is_extension=False, extension_scope=None, 94 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 95 | ], 96 | extensions=[ 97 | ], 98 | nested_types=[], 99 | enum_types=[ 100 | _ERROR_ERRORCODE, 101 | ], 102 | serialized_options=None, 103 | is_extendable=False, 104 | syntax='proto3', 105 | extension_ranges=[], 106 | oneofs=[ 107 | ], 108 | serialized_start=35, 109 | serialized_end=253, 110 | ) 111 | 112 | _ERROR.fields_by_name['code'].enum_type = _ERROR_ERRORCODE 113 | _ERROR_ERRORCODE.containing_type = _ERROR 114 | DESCRIPTOR.message_types_by_name['Error'] = _ERROR 115 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 116 | 117 | Error = _reflection.GeneratedProtocolMessageType('Error', (_message.Message,), { 118 | 'DESCRIPTOR' : _ERROR, 119 | '__module__' : 'error_pb2' 120 | # @@protoc_insertion_point(class_scope:insta360.messages.Error) 121 | }) 122 | _sym_db.RegisterMessage(Error) 123 | 124 | 125 | DESCRIPTOR._options = None 126 | # @@protoc_insertion_point(module_scope) 127 | -------------------------------------------------------------------------------- /pb2/file_type_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: file_type.proto 4 | 5 | from google.protobuf.internal import enum_type_wrapper 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import message as _message 8 | from google.protobuf import reflection as _reflection 9 | from google.protobuf import symbol_database as _symbol_database 10 | # @@protoc_insertion_point(imports) 11 | 12 | _sym_db = _symbol_database.Default() 13 | 14 | 15 | 16 | 17 | DESCRIPTOR = _descriptor.FileDescriptor( 18 | name='file_type.proto', 19 | package='insta360.messages', 20 | syntax='proto3', 21 | serialized_options=b'\242\002\005INSPB', 22 | create_key=_descriptor._internal_create_key, 23 | serialized_pb=b'\n\x0f\x66ile_type.proto\x12\x11insta360.messages*N\n\x08\x46ileType\x12\x10\n\x0cUNKNOWN_FILE\x10\x00\x12\x0c\n\x08\x45TK_FILE\x10\x01\x12\x0c\n\x08LOG_FILE\x10\x02\x12\x14\n\x10PARAMS_JSON_FILE\x10\x03\x42\x08\xa2\x02\x05INSPBb\x06proto3' 24 | ) 25 | 26 | _FILETYPE = _descriptor.EnumDescriptor( 27 | name='FileType', 28 | full_name='insta360.messages.FileType', 29 | filename=None, 30 | file=DESCRIPTOR, 31 | create_key=_descriptor._internal_create_key, 32 | values=[ 33 | _descriptor.EnumValueDescriptor( 34 | name='UNKNOWN_FILE', index=0, number=0, 35 | serialized_options=None, 36 | type=None, 37 | create_key=_descriptor._internal_create_key), 38 | _descriptor.EnumValueDescriptor( 39 | name='ETK_FILE', index=1, number=1, 40 | serialized_options=None, 41 | type=None, 42 | create_key=_descriptor._internal_create_key), 43 | _descriptor.EnumValueDescriptor( 44 | name='LOG_FILE', index=2, number=2, 45 | serialized_options=None, 46 | type=None, 47 | create_key=_descriptor._internal_create_key), 48 | _descriptor.EnumValueDescriptor( 49 | name='PARAMS_JSON_FILE', index=3, number=3, 50 | serialized_options=None, 51 | type=None, 52 | create_key=_descriptor._internal_create_key), 53 | ], 54 | containing_type=None, 55 | serialized_options=None, 56 | serialized_start=38, 57 | serialized_end=116, 58 | ) 59 | _sym_db.RegisterEnumDescriptor(_FILETYPE) 60 | 61 | FileType = enum_type_wrapper.EnumTypeWrapper(_FILETYPE) 62 | UNKNOWN_FILE = 0 63 | ETK_FILE = 1 64 | LOG_FILE = 2 65 | PARAMS_JSON_FILE = 3 66 | 67 | 68 | DESCRIPTOR.enum_types_by_name['FileType'] = _FILETYPE 69 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 70 | 71 | 72 | DESCRIPTOR._options = None 73 | # @@protoc_insertion_point(module_scope) 74 | -------------------------------------------------------------------------------- /pb2/fileinfo_list_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: fileinfo_list.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='fileinfo_list.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x13\x66ileinfo_list.proto\x12\x11insta360.messages\"/\n\x08\x46ileInfo\x12\x11\n\tfile_path\x18\x01 \x01(\t\x12\x10\n\x08metadata\x18\x02 \x01(\x0c\"?\n\rFileInfo_List\x12.\n\tfile_info\x18\x01 \x03(\x0b\x32\x1b.insta360.messages.FileInfoB\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | 28 | _FILEINFO = _descriptor.Descriptor( 29 | name='FileInfo', 30 | full_name='insta360.messages.FileInfo', 31 | filename=None, 32 | file=DESCRIPTOR, 33 | containing_type=None, 34 | create_key=_descriptor._internal_create_key, 35 | fields=[ 36 | _descriptor.FieldDescriptor( 37 | name='file_path', full_name='insta360.messages.FileInfo.file_path', index=0, 38 | number=1, type=9, cpp_type=9, label=1, 39 | has_default_value=False, default_value=b"".decode('utf-8'), 40 | message_type=None, enum_type=None, containing_type=None, 41 | is_extension=False, extension_scope=None, 42 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 43 | _descriptor.FieldDescriptor( 44 | name='metadata', full_name='insta360.messages.FileInfo.metadata', index=1, 45 | number=2, type=12, cpp_type=9, label=1, 46 | has_default_value=False, default_value=b"", 47 | message_type=None, enum_type=None, containing_type=None, 48 | is_extension=False, extension_scope=None, 49 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 50 | ], 51 | extensions=[ 52 | ], 53 | nested_types=[], 54 | enum_types=[ 55 | ], 56 | serialized_options=None, 57 | is_extendable=False, 58 | syntax='proto3', 59 | extension_ranges=[], 60 | oneofs=[ 61 | ], 62 | serialized_start=42, 63 | serialized_end=89, 64 | ) 65 | 66 | 67 | _FILEINFO_LIST = _descriptor.Descriptor( 68 | name='FileInfo_List', 69 | full_name='insta360.messages.FileInfo_List', 70 | filename=None, 71 | file=DESCRIPTOR, 72 | containing_type=None, 73 | create_key=_descriptor._internal_create_key, 74 | fields=[ 75 | _descriptor.FieldDescriptor( 76 | name='file_info', full_name='insta360.messages.FileInfo_List.file_info', index=0, 77 | number=1, type=11, cpp_type=10, label=3, 78 | has_default_value=False, default_value=[], 79 | message_type=None, enum_type=None, containing_type=None, 80 | is_extension=False, extension_scope=None, 81 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 82 | ], 83 | extensions=[ 84 | ], 85 | nested_types=[], 86 | enum_types=[ 87 | ], 88 | serialized_options=None, 89 | is_extendable=False, 90 | syntax='proto3', 91 | extension_ranges=[], 92 | oneofs=[ 93 | ], 94 | serialized_start=91, 95 | serialized_end=154, 96 | ) 97 | 98 | _FILEINFO_LIST.fields_by_name['file_info'].message_type = _FILEINFO 99 | DESCRIPTOR.message_types_by_name['FileInfo'] = _FILEINFO 100 | DESCRIPTOR.message_types_by_name['FileInfo_List'] = _FILEINFO_LIST 101 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 102 | 103 | FileInfo = _reflection.GeneratedProtocolMessageType('FileInfo', (_message.Message,), { 104 | 'DESCRIPTOR' : _FILEINFO, 105 | '__module__' : 'fileinfo_list_pb2' 106 | # @@protoc_insertion_point(class_scope:insta360.messages.FileInfo) 107 | }) 108 | _sym_db.RegisterMessage(FileInfo) 109 | 110 | FileInfo_List = _reflection.GeneratedProtocolMessageType('FileInfo_List', (_message.Message,), { 111 | 'DESCRIPTOR' : _FILEINFO_LIST, 112 | '__module__' : 'fileinfo_list_pb2' 113 | # @@protoc_insertion_point(class_scope:insta360.messages.FileInfo_List) 114 | }) 115 | _sym_db.RegisterMessage(FileInfo_List) 116 | 117 | 118 | DESCRIPTOR._options = None 119 | # @@protoc_insertion_point(module_scope) 120 | -------------------------------------------------------------------------------- /pb2/flicker_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: flicker.proto 4 | 5 | from google.protobuf.internal import enum_type_wrapper 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import message as _message 8 | from google.protobuf import reflection as _reflection 9 | from google.protobuf import symbol_database as _symbol_database 10 | # @@protoc_insertion_point(imports) 11 | 12 | _sym_db = _symbol_database.Default() 13 | 14 | 15 | 16 | 17 | DESCRIPTOR = _descriptor.FileDescriptor( 18 | name='flicker.proto', 19 | package='insta360.messages', 20 | syntax='proto3', 21 | serialized_options=b'\242\002\005INSPB', 22 | create_key=_descriptor._internal_create_key, 23 | serialized_pb=b'\n\rflicker.proto\x12\x11insta360.messages*?\n\x07\x46licker\x12\x10\n\x0c\x46LICKER_AUTO\x10\x00\x12\x10\n\x0c\x46LICKER_60HZ\x10\x01\x12\x10\n\x0c\x46LICKER_50HZ\x10\x02\x42\x08\xa2\x02\x05INSPBb\x06proto3' 24 | ) 25 | 26 | _FLICKER = _descriptor.EnumDescriptor( 27 | name='Flicker', 28 | full_name='insta360.messages.Flicker', 29 | filename=None, 30 | file=DESCRIPTOR, 31 | create_key=_descriptor._internal_create_key, 32 | values=[ 33 | _descriptor.EnumValueDescriptor( 34 | name='FLICKER_AUTO', index=0, number=0, 35 | serialized_options=None, 36 | type=None, 37 | create_key=_descriptor._internal_create_key), 38 | _descriptor.EnumValueDescriptor( 39 | name='FLICKER_60HZ', index=1, number=1, 40 | serialized_options=None, 41 | type=None, 42 | create_key=_descriptor._internal_create_key), 43 | _descriptor.EnumValueDescriptor( 44 | name='FLICKER_50HZ', index=2, number=2, 45 | serialized_options=None, 46 | type=None, 47 | create_key=_descriptor._internal_create_key), 48 | ], 49 | containing_type=None, 50 | serialized_options=None, 51 | serialized_start=36, 52 | serialized_end=99, 53 | ) 54 | _sym_db.RegisterEnumDescriptor(_FLICKER) 55 | 56 | Flicker = enum_type_wrapper.EnumTypeWrapper(_FLICKER) 57 | FLICKER_AUTO = 0 58 | FLICKER_60HZ = 1 59 | FLICKER_50HZ = 2 60 | 61 | 62 | DESCRIPTOR.enum_types_by_name['Flicker'] = _FLICKER 63 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 64 | 65 | 66 | DESCRIPTOR._options = None 67 | # @@protoc_insertion_point(module_scope) 68 | -------------------------------------------------------------------------------- /pb2/get_file_finish_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: get_file_finish.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | import file_type_pb2 as file__type__pb2 15 | import track_pb2 as track__pb2 16 | try: 17 | file__type__pb2 = track__pb2.file__type__pb2 18 | except AttributeError: 19 | file__type__pb2 = track__pb2.file_type_pb2 20 | 21 | from file_type_pb2 import * 22 | from track_pb2 import * 23 | 24 | DESCRIPTOR = _descriptor.FileDescriptor( 25 | name='get_file_finish.proto', 26 | package='insta360.messages', 27 | syntax='proto3', 28 | serialized_options=b'\242\002\005INSPB', 29 | create_key=_descriptor._internal_create_key, 30 | serialized_pb=b'\n\x15get_file_finish.proto\x12\x11insta360.messages\x1a\x0f\x66ile_type.proto\x1a\x0btrack.proto\"t\n\rGetFileFinish\x12.\n\tfile_type\x18\x01 \x01(\x0e\x32\x1b.insta360.messages.FileType\x12\x33\n\x08\x64ownload\x18\x02 \x01(\x0e\x32!.insta360.messages.TransferStatusB\x08\xa2\x02\x05INSPBP\x00P\x01\x62\x06proto3' 31 | , 32 | dependencies=[file__type__pb2.DESCRIPTOR,track__pb2.DESCRIPTOR,], 33 | public_dependencies=[file__type__pb2.DESCRIPTOR,track__pb2.DESCRIPTOR,]) 34 | 35 | 36 | 37 | 38 | _GETFILEFINISH = _descriptor.Descriptor( 39 | name='GetFileFinish', 40 | full_name='insta360.messages.GetFileFinish', 41 | filename=None, 42 | file=DESCRIPTOR, 43 | containing_type=None, 44 | create_key=_descriptor._internal_create_key, 45 | fields=[ 46 | _descriptor.FieldDescriptor( 47 | name='file_type', full_name='insta360.messages.GetFileFinish.file_type', index=0, 48 | number=1, type=14, cpp_type=8, label=1, 49 | has_default_value=False, default_value=0, 50 | message_type=None, enum_type=None, containing_type=None, 51 | is_extension=False, extension_scope=None, 52 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 53 | _descriptor.FieldDescriptor( 54 | name='download', full_name='insta360.messages.GetFileFinish.download', index=1, 55 | number=2, type=14, cpp_type=8, label=1, 56 | has_default_value=False, default_value=0, 57 | message_type=None, enum_type=None, containing_type=None, 58 | is_extension=False, extension_scope=None, 59 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 60 | ], 61 | extensions=[ 62 | ], 63 | nested_types=[], 64 | enum_types=[ 65 | ], 66 | serialized_options=None, 67 | is_extendable=False, 68 | syntax='proto3', 69 | extension_ranges=[], 70 | oneofs=[ 71 | ], 72 | serialized_start=74, 73 | serialized_end=190, 74 | ) 75 | 76 | _GETFILEFINISH.fields_by_name['file_type'].enum_type = file__type__pb2._FILETYPE 77 | _GETFILEFINISH.fields_by_name['download'].enum_type = track__pb2._TRANSFERSTATUS 78 | DESCRIPTOR.message_types_by_name['GetFileFinish'] = _GETFILEFINISH 79 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 80 | 81 | GetFileFinish = _reflection.GeneratedProtocolMessageType('GetFileFinish', (_message.Message,), { 82 | 'DESCRIPTOR' : _GETFILEFINISH, 83 | '__module__' : 'get_file_finish_pb2' 84 | # @@protoc_insertion_point(class_scope:insta360.messages.GetFileFinish) 85 | }) 86 | _sym_db.RegisterMessage(GetFileFinish) 87 | 88 | 89 | DESCRIPTOR._options = None 90 | # @@protoc_insertion_point(module_scope) 91 | -------------------------------------------------------------------------------- /pb2/get_file_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: get_file.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | import file_type_pb2 as file__type__pb2 15 | 16 | from file_type_pb2 import * 17 | 18 | DESCRIPTOR = _descriptor.FileDescriptor( 19 | name='get_file.proto', 20 | package='insta360.messages', 21 | syntax='proto3', 22 | serialized_options=b'\242\002\005INSPB', 23 | create_key=_descriptor._internal_create_key, 24 | serialized_pb=b'\n\x0eget_file.proto\x12\x11insta360.messages\x1a\x0f\x66ile_type.proto\"9\n\x07GetFile\x12.\n\tfile_type\x18\x01 \x01(\x0e\x32\x1b.insta360.messages.FileType\"+\n\x0bGetFileResp\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x05\x42\x08\xa2\x02\x05INSPBP\x00\x62\x06proto3' 25 | , 26 | dependencies=[file__type__pb2.DESCRIPTOR,], 27 | public_dependencies=[file__type__pb2.DESCRIPTOR,]) 28 | 29 | 30 | 31 | 32 | _GETFILE = _descriptor.Descriptor( 33 | name='GetFile', 34 | full_name='insta360.messages.GetFile', 35 | filename=None, 36 | file=DESCRIPTOR, 37 | containing_type=None, 38 | create_key=_descriptor._internal_create_key, 39 | fields=[ 40 | _descriptor.FieldDescriptor( 41 | name='file_type', full_name='insta360.messages.GetFile.file_type', index=0, 42 | number=1, type=14, cpp_type=8, label=1, 43 | has_default_value=False, default_value=0, 44 | message_type=None, enum_type=None, containing_type=None, 45 | is_extension=False, extension_scope=None, 46 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 47 | ], 48 | extensions=[ 49 | ], 50 | nested_types=[], 51 | enum_types=[ 52 | ], 53 | serialized_options=None, 54 | is_extendable=False, 55 | syntax='proto3', 56 | extension_ranges=[], 57 | oneofs=[ 58 | ], 59 | serialized_start=54, 60 | serialized_end=111, 61 | ) 62 | 63 | 64 | _GETFILERESP = _descriptor.Descriptor( 65 | name='GetFileResp', 66 | full_name='insta360.messages.GetFileResp', 67 | filename=None, 68 | file=DESCRIPTOR, 69 | containing_type=None, 70 | create_key=_descriptor._internal_create_key, 71 | fields=[ 72 | _descriptor.FieldDescriptor( 73 | name='uri', full_name='insta360.messages.GetFileResp.uri', index=0, 74 | number=1, type=9, cpp_type=9, label=1, 75 | has_default_value=False, default_value=b"".decode('utf-8'), 76 | message_type=None, enum_type=None, containing_type=None, 77 | is_extension=False, extension_scope=None, 78 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 79 | _descriptor.FieldDescriptor( 80 | name='version', full_name='insta360.messages.GetFileResp.version', index=1, 81 | number=2, type=5, cpp_type=1, label=1, 82 | has_default_value=False, default_value=0, 83 | message_type=None, enum_type=None, containing_type=None, 84 | is_extension=False, extension_scope=None, 85 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 86 | ], 87 | extensions=[ 88 | ], 89 | nested_types=[], 90 | enum_types=[ 91 | ], 92 | serialized_options=None, 93 | is_extendable=False, 94 | syntax='proto3', 95 | extension_ranges=[], 96 | oneofs=[ 97 | ], 98 | serialized_start=113, 99 | serialized_end=156, 100 | ) 101 | 102 | _GETFILE.fields_by_name['file_type'].enum_type = file__type__pb2._FILETYPE 103 | DESCRIPTOR.message_types_by_name['GetFile'] = _GETFILE 104 | DESCRIPTOR.message_types_by_name['GetFileResp'] = _GETFILERESP 105 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 106 | 107 | GetFile = _reflection.GeneratedProtocolMessageType('GetFile', (_message.Message,), { 108 | 'DESCRIPTOR' : _GETFILE, 109 | '__module__' : 'get_file_pb2' 110 | # @@protoc_insertion_point(class_scope:insta360.messages.GetFile) 111 | }) 112 | _sym_db.RegisterMessage(GetFile) 113 | 114 | GetFileResp = _reflection.GeneratedProtocolMessageType('GetFileResp', (_message.Message,), { 115 | 'DESCRIPTOR' : _GETFILERESP, 116 | '__module__' : 'get_file_pb2' 117 | # @@protoc_insertion_point(class_scope:insta360.messages.GetFileResp) 118 | }) 119 | _sym_db.RegisterMessage(GetFileResp) 120 | 121 | 122 | DESCRIPTOR._options = None 123 | # @@protoc_insertion_point(module_scope) 124 | -------------------------------------------------------------------------------- /pb2/get_flowstate_enable_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: get_flowstate_enable.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='get_flowstate_enable.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x1aget_flowstate_enable.proto\x12\x11insta360.messages\"\x14\n\x12GetFlowstateEnable\"(\n\x16GetFlowstateEnableResp\x12\x0e\n\x06\x65nable\x18\x01 \x01(\rB\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | 28 | _GETFLOWSTATEENABLE = _descriptor.Descriptor( 29 | name='GetFlowstateEnable', 30 | full_name='insta360.messages.GetFlowstateEnable', 31 | filename=None, 32 | file=DESCRIPTOR, 33 | containing_type=None, 34 | create_key=_descriptor._internal_create_key, 35 | fields=[ 36 | ], 37 | extensions=[ 38 | ], 39 | nested_types=[], 40 | enum_types=[ 41 | ], 42 | serialized_options=None, 43 | is_extendable=False, 44 | syntax='proto3', 45 | extension_ranges=[], 46 | oneofs=[ 47 | ], 48 | serialized_start=49, 49 | serialized_end=69, 50 | ) 51 | 52 | 53 | _GETFLOWSTATEENABLERESP = _descriptor.Descriptor( 54 | name='GetFlowstateEnableResp', 55 | full_name='insta360.messages.GetFlowstateEnableResp', 56 | filename=None, 57 | file=DESCRIPTOR, 58 | containing_type=None, 59 | create_key=_descriptor._internal_create_key, 60 | fields=[ 61 | _descriptor.FieldDescriptor( 62 | name='enable', full_name='insta360.messages.GetFlowstateEnableResp.enable', index=0, 63 | number=1, type=13, cpp_type=3, label=1, 64 | has_default_value=False, default_value=0, 65 | message_type=None, enum_type=None, containing_type=None, 66 | is_extension=False, extension_scope=None, 67 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 68 | ], 69 | extensions=[ 70 | ], 71 | nested_types=[], 72 | enum_types=[ 73 | ], 74 | serialized_options=None, 75 | is_extendable=False, 76 | syntax='proto3', 77 | extension_ranges=[], 78 | oneofs=[ 79 | ], 80 | serialized_start=71, 81 | serialized_end=111, 82 | ) 83 | 84 | DESCRIPTOR.message_types_by_name['GetFlowstateEnable'] = _GETFLOWSTATEENABLE 85 | DESCRIPTOR.message_types_by_name['GetFlowstateEnableResp'] = _GETFLOWSTATEENABLERESP 86 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 87 | 88 | GetFlowstateEnable = _reflection.GeneratedProtocolMessageType('GetFlowstateEnable', (_message.Message,), { 89 | 'DESCRIPTOR' : _GETFLOWSTATEENABLE, 90 | '__module__' : 'get_flowstate_enable_pb2' 91 | # @@protoc_insertion_point(class_scope:insta360.messages.GetFlowstateEnable) 92 | }) 93 | _sym_db.RegisterMessage(GetFlowstateEnable) 94 | 95 | GetFlowstateEnableResp = _reflection.GeneratedProtocolMessageType('GetFlowstateEnableResp', (_message.Message,), { 96 | 'DESCRIPTOR' : _GETFLOWSTATEENABLERESP, 97 | '__module__' : 'get_flowstate_enable_pb2' 98 | # @@protoc_insertion_point(class_scope:insta360.messages.GetFlowstateEnableResp) 99 | }) 100 | _sym_db.RegisterMessage(GetFlowstateEnableResp) 101 | 102 | 103 | DESCRIPTOR._options = None 104 | # @@protoc_insertion_point(module_scope) 105 | -------------------------------------------------------------------------------- /pb2/get_gyro_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: get_gyro.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='get_gyro.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x0eget_gyro.proto\x12\x11insta360.messages\"\x18\n\x07GetGyro\x12\r\n\x05\x63ount\x18\x01 \x01(\r\"\x1d\n\x0bGetGyroResp\x12\x0e\n\x06gyroes\x18\x01 \x01(\x0c\x42\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | 28 | _GETGYRO = _descriptor.Descriptor( 29 | name='GetGyro', 30 | full_name='insta360.messages.GetGyro', 31 | filename=None, 32 | file=DESCRIPTOR, 33 | containing_type=None, 34 | create_key=_descriptor._internal_create_key, 35 | fields=[ 36 | _descriptor.FieldDescriptor( 37 | name='count', full_name='insta360.messages.GetGyro.count', index=0, 38 | number=1, type=13, cpp_type=3, label=1, 39 | has_default_value=False, default_value=0, 40 | message_type=None, enum_type=None, containing_type=None, 41 | is_extension=False, extension_scope=None, 42 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 43 | ], 44 | extensions=[ 45 | ], 46 | nested_types=[], 47 | enum_types=[ 48 | ], 49 | serialized_options=None, 50 | is_extendable=False, 51 | syntax='proto3', 52 | extension_ranges=[], 53 | oneofs=[ 54 | ], 55 | serialized_start=37, 56 | serialized_end=61, 57 | ) 58 | 59 | 60 | _GETGYRORESP = _descriptor.Descriptor( 61 | name='GetGyroResp', 62 | full_name='insta360.messages.GetGyroResp', 63 | filename=None, 64 | file=DESCRIPTOR, 65 | containing_type=None, 66 | create_key=_descriptor._internal_create_key, 67 | fields=[ 68 | _descriptor.FieldDescriptor( 69 | name='gyroes', full_name='insta360.messages.GetGyroResp.gyroes', index=0, 70 | number=1, type=12, cpp_type=9, label=1, 71 | has_default_value=False, default_value=b"", 72 | message_type=None, enum_type=None, containing_type=None, 73 | is_extension=False, extension_scope=None, 74 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 75 | ], 76 | extensions=[ 77 | ], 78 | nested_types=[], 79 | enum_types=[ 80 | ], 81 | serialized_options=None, 82 | is_extendable=False, 83 | syntax='proto3', 84 | extension_ranges=[], 85 | oneofs=[ 86 | ], 87 | serialized_start=63, 88 | serialized_end=92, 89 | ) 90 | 91 | DESCRIPTOR.message_types_by_name['GetGyro'] = _GETGYRO 92 | DESCRIPTOR.message_types_by_name['GetGyroResp'] = _GETGYRORESP 93 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 94 | 95 | GetGyro = _reflection.GeneratedProtocolMessageType('GetGyro', (_message.Message,), { 96 | 'DESCRIPTOR' : _GETGYRO, 97 | '__module__' : 'get_gyro_pb2' 98 | # @@protoc_insertion_point(class_scope:insta360.messages.GetGyro) 99 | }) 100 | _sym_db.RegisterMessage(GetGyro) 101 | 102 | GetGyroResp = _reflection.GeneratedProtocolMessageType('GetGyroResp', (_message.Message,), { 103 | 'DESCRIPTOR' : _GETGYRORESP, 104 | '__module__' : 'get_gyro_pb2' 105 | # @@protoc_insertion_point(class_scope:insta360.messages.GetGyroResp) 106 | }) 107 | _sym_db.RegisterMessage(GetGyroResp) 108 | 109 | 110 | DESCRIPTOR._options = None 111 | # @@protoc_insertion_point(module_scope) 112 | -------------------------------------------------------------------------------- /pb2/get_mini_thumbnail_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: get_mini_thumbnail.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='get_mini_thumbnail.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x18get_mini_thumbnail.proto\x12\x11insta360.messages\"\x1f\n\x10GetMiniThumbnail\x12\x0b\n\x03uri\x18\x01 \x01(\tB\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | 28 | _GETMINITHUMBNAIL = _descriptor.Descriptor( 29 | name='GetMiniThumbnail', 30 | full_name='insta360.messages.GetMiniThumbnail', 31 | filename=None, 32 | file=DESCRIPTOR, 33 | containing_type=None, 34 | create_key=_descriptor._internal_create_key, 35 | fields=[ 36 | _descriptor.FieldDescriptor( 37 | name='uri', full_name='insta360.messages.GetMiniThumbnail.uri', index=0, 38 | number=1, type=9, cpp_type=9, label=1, 39 | has_default_value=False, default_value=b"".decode('utf-8'), 40 | message_type=None, enum_type=None, containing_type=None, 41 | is_extension=False, extension_scope=None, 42 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 43 | ], 44 | extensions=[ 45 | ], 46 | nested_types=[], 47 | enum_types=[ 48 | ], 49 | serialized_options=None, 50 | is_extendable=False, 51 | syntax='proto3', 52 | extension_ranges=[], 53 | oneofs=[ 54 | ], 55 | serialized_start=47, 56 | serialized_end=78, 57 | ) 58 | 59 | DESCRIPTOR.message_types_by_name['GetMiniThumbnail'] = _GETMINITHUMBNAIL 60 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 61 | 62 | GetMiniThumbnail = _reflection.GeneratedProtocolMessageType('GetMiniThumbnail', (_message.Message,), { 63 | 'DESCRIPTOR' : _GETMINITHUMBNAIL, 64 | '__module__' : 'get_mini_thumbnail_pb2' 65 | # @@protoc_insertion_point(class_scope:insta360.messages.GetMiniThumbnail) 66 | }) 67 | _sym_db.RegisterMessage(GetMiniThumbnail) 68 | 69 | 70 | DESCRIPTOR._options = None 71 | # @@protoc_insertion_point(module_scope) 72 | -------------------------------------------------------------------------------- /pb2/get_sfr_result_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: get_sfr_result.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='get_sfr_result.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x14get_sfr_result.proto\x12\x11insta360.messages\"\x1e\n\x0cGetSfrResult\x12\x0e\n\x06result\x18\x01 \x01(\x0c\x42\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | 28 | _GETSFRRESULT = _descriptor.Descriptor( 29 | name='GetSfrResult', 30 | full_name='insta360.messages.GetSfrResult', 31 | filename=None, 32 | file=DESCRIPTOR, 33 | containing_type=None, 34 | create_key=_descriptor._internal_create_key, 35 | fields=[ 36 | _descriptor.FieldDescriptor( 37 | name='result', full_name='insta360.messages.GetSfrResult.result', index=0, 38 | number=1, type=12, cpp_type=9, label=1, 39 | has_default_value=False, default_value=b"", 40 | message_type=None, enum_type=None, containing_type=None, 41 | is_extension=False, extension_scope=None, 42 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 43 | ], 44 | extensions=[ 45 | ], 46 | nested_types=[], 47 | enum_types=[ 48 | ], 49 | serialized_options=None, 50 | is_extendable=False, 51 | syntax='proto3', 52 | extension_ranges=[], 53 | oneofs=[ 54 | ], 55 | serialized_start=43, 56 | serialized_end=73, 57 | ) 58 | 59 | DESCRIPTOR.message_types_by_name['GetSfrResult'] = _GETSFRRESULT 60 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 61 | 62 | GetSfrResult = _reflection.GeneratedProtocolMessageType('GetSfrResult', (_message.Message,), { 63 | 'DESCRIPTOR' : _GETSFRRESULT, 64 | '__module__' : 'get_sfr_result_pb2' 65 | # @@protoc_insertion_point(class_scope:insta360.messages.GetSfrResult) 66 | }) 67 | _sym_db.RegisterMessage(GetSfrResult) 68 | 69 | 70 | DESCRIPTOR._options = None 71 | # @@protoc_insertion_point(module_scope) 72 | -------------------------------------------------------------------------------- /pb2/get_sfr_status_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: get_sfr_status.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='get_sfr_status.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x14get_sfr_status.proto\x12\x11insta360.messages\"\x1d\n\x0cGetSfrStatus\x12\r\n\x05state\x18\x01 \x01(\x05\x42\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | 28 | _GETSFRSTATUS = _descriptor.Descriptor( 29 | name='GetSfrStatus', 30 | full_name='insta360.messages.GetSfrStatus', 31 | filename=None, 32 | file=DESCRIPTOR, 33 | containing_type=None, 34 | create_key=_descriptor._internal_create_key, 35 | fields=[ 36 | _descriptor.FieldDescriptor( 37 | name='state', full_name='insta360.messages.GetSfrStatus.state', index=0, 38 | number=1, type=5, cpp_type=1, label=1, 39 | has_default_value=False, default_value=0, 40 | message_type=None, enum_type=None, containing_type=None, 41 | is_extension=False, extension_scope=None, 42 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 43 | ], 44 | extensions=[ 45 | ], 46 | nested_types=[], 47 | enum_types=[ 48 | ], 49 | serialized_options=None, 50 | is_extendable=False, 51 | syntax='proto3', 52 | extension_ranges=[], 53 | oneofs=[ 54 | ], 55 | serialized_start=43, 56 | serialized_end=72, 57 | ) 58 | 59 | DESCRIPTOR.message_types_by_name['GetSfrStatus'] = _GETSFRSTATUS 60 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 61 | 62 | GetSfrStatus = _reflection.GeneratedProtocolMessageType('GetSfrStatus', (_message.Message,), { 63 | 'DESCRIPTOR' : _GETSFRSTATUS, 64 | '__module__' : 'get_sfr_status_pb2' 65 | # @@protoc_insertion_point(class_scope:insta360.messages.GetSfrStatus) 66 | }) 67 | _sym_db.RegisterMessage(GetSfrStatus) 68 | 69 | 70 | DESCRIPTOR._options = None 71 | # @@protoc_insertion_point(module_scope) 72 | -------------------------------------------------------------------------------- /pb2/get_sync_capture_mode_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: get_sync_capture_mode.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | import sync_capture_mode_pb2 as sync__capture__mode__pb2 15 | 16 | from sync_capture_mode_pb2 import * 17 | 18 | DESCRIPTOR = _descriptor.FileDescriptor( 19 | name='get_sync_capture_mode.proto', 20 | package='insta360.messages', 21 | syntax='proto3', 22 | serialized_options=b'\242\002\005INSPB', 23 | create_key=_descriptor._internal_create_key, 24 | serialized_pb=b'\n\x1bget_sync_capture_mode.proto\x12\x11insta360.messages\x1a\x17sync_capture_mode.proto\"\x14\n\x12GetSyncCaptureMode\"R\n\x16GetSyncCaptureModeResp\x12\x38\n\x0c\x63\x61pture_mode\x18\x01 \x01(\x0e\x32\".insta360.messages.SyncCaptureModeB\x08\xa2\x02\x05INSPBP\x00\x62\x06proto3' 25 | , 26 | dependencies=[sync__capture__mode__pb2.DESCRIPTOR,], 27 | public_dependencies=[sync__capture__mode__pb2.DESCRIPTOR,]) 28 | 29 | 30 | 31 | 32 | _GETSYNCCAPTUREMODE = _descriptor.Descriptor( 33 | name='GetSyncCaptureMode', 34 | full_name='insta360.messages.GetSyncCaptureMode', 35 | filename=None, 36 | file=DESCRIPTOR, 37 | containing_type=None, 38 | create_key=_descriptor._internal_create_key, 39 | fields=[ 40 | ], 41 | extensions=[ 42 | ], 43 | nested_types=[], 44 | enum_types=[ 45 | ], 46 | serialized_options=None, 47 | is_extendable=False, 48 | syntax='proto3', 49 | extension_ranges=[], 50 | oneofs=[ 51 | ], 52 | serialized_start=75, 53 | serialized_end=95, 54 | ) 55 | 56 | 57 | _GETSYNCCAPTUREMODERESP = _descriptor.Descriptor( 58 | name='GetSyncCaptureModeResp', 59 | full_name='insta360.messages.GetSyncCaptureModeResp', 60 | filename=None, 61 | file=DESCRIPTOR, 62 | containing_type=None, 63 | create_key=_descriptor._internal_create_key, 64 | fields=[ 65 | _descriptor.FieldDescriptor( 66 | name='capture_mode', full_name='insta360.messages.GetSyncCaptureModeResp.capture_mode', index=0, 67 | number=1, type=14, cpp_type=8, label=1, 68 | has_default_value=False, default_value=0, 69 | message_type=None, enum_type=None, containing_type=None, 70 | is_extension=False, extension_scope=None, 71 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 72 | ], 73 | extensions=[ 74 | ], 75 | nested_types=[], 76 | enum_types=[ 77 | ], 78 | serialized_options=None, 79 | is_extendable=False, 80 | syntax='proto3', 81 | extension_ranges=[], 82 | oneofs=[ 83 | ], 84 | serialized_start=97, 85 | serialized_end=179, 86 | ) 87 | 88 | _GETSYNCCAPTUREMODERESP.fields_by_name['capture_mode'].enum_type = sync__capture__mode__pb2._SYNCCAPTUREMODE 89 | DESCRIPTOR.message_types_by_name['GetSyncCaptureMode'] = _GETSYNCCAPTUREMODE 90 | DESCRIPTOR.message_types_by_name['GetSyncCaptureModeResp'] = _GETSYNCCAPTUREMODERESP 91 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 92 | 93 | GetSyncCaptureMode = _reflection.GeneratedProtocolMessageType('GetSyncCaptureMode', (_message.Message,), { 94 | 'DESCRIPTOR' : _GETSYNCCAPTUREMODE, 95 | '__module__' : 'get_sync_capture_mode_pb2' 96 | # @@protoc_insertion_point(class_scope:insta360.messages.GetSyncCaptureMode) 97 | }) 98 | _sym_db.RegisterMessage(GetSyncCaptureMode) 99 | 100 | GetSyncCaptureModeResp = _reflection.GeneratedProtocolMessageType('GetSyncCaptureModeResp', (_message.Message,), { 101 | 'DESCRIPTOR' : _GETSYNCCAPTUREMODERESP, 102 | '__module__' : 'get_sync_capture_mode_pb2' 103 | # @@protoc_insertion_point(class_scope:insta360.messages.GetSyncCaptureModeResp) 104 | }) 105 | _sym_db.RegisterMessage(GetSyncCaptureModeResp) 106 | 107 | 108 | DESCRIPTOR._options = None 109 | # @@protoc_insertion_point(module_scope) 110 | -------------------------------------------------------------------------------- /pb2/get_timelapse_options_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: get_timelapse_options.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | import timelapse_pb2 as timelapse__pb2 15 | 16 | from timelapse_pb2 import * 17 | 18 | DESCRIPTOR = _descriptor.FileDescriptor( 19 | name='get_timelapse_options.proto', 20 | package='insta360.messages', 21 | syntax='proto3', 22 | serialized_options=b'\242\002\005INSPB', 23 | create_key=_descriptor._internal_create_key, 24 | serialized_pb=b'\n\x1bget_timelapse_options.proto\x12\x11insta360.messages\x1a\x0ftimelapse.proto\"E\n\x13GetTimelapseOptions\x12.\n\x04mode\x18\x01 \x01(\x0e\x32 .insta360.messages.TimelapseMode\"Y\n\x17GetTimelapseOptionsResp\x12>\n\x11timelapse_options\x18\x01 \x01(\x0b\x32#.insta360.messages.TimelapseOptionsB\x08\xa2\x02\x05INSPBP\x00\x62\x06proto3' 25 | , 26 | dependencies=[timelapse__pb2.DESCRIPTOR,], 27 | public_dependencies=[timelapse__pb2.DESCRIPTOR,]) 28 | 29 | 30 | 31 | 32 | _GETTIMELAPSEOPTIONS = _descriptor.Descriptor( 33 | name='GetTimelapseOptions', 34 | full_name='insta360.messages.GetTimelapseOptions', 35 | filename=None, 36 | file=DESCRIPTOR, 37 | containing_type=None, 38 | create_key=_descriptor._internal_create_key, 39 | fields=[ 40 | _descriptor.FieldDescriptor( 41 | name='mode', full_name='insta360.messages.GetTimelapseOptions.mode', index=0, 42 | number=1, type=14, cpp_type=8, label=1, 43 | has_default_value=False, default_value=0, 44 | message_type=None, enum_type=None, containing_type=None, 45 | is_extension=False, extension_scope=None, 46 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 47 | ], 48 | extensions=[ 49 | ], 50 | nested_types=[], 51 | enum_types=[ 52 | ], 53 | serialized_options=None, 54 | is_extendable=False, 55 | syntax='proto3', 56 | extension_ranges=[], 57 | oneofs=[ 58 | ], 59 | serialized_start=67, 60 | serialized_end=136, 61 | ) 62 | 63 | 64 | _GETTIMELAPSEOPTIONSRESP = _descriptor.Descriptor( 65 | name='GetTimelapseOptionsResp', 66 | full_name='insta360.messages.GetTimelapseOptionsResp', 67 | filename=None, 68 | file=DESCRIPTOR, 69 | containing_type=None, 70 | create_key=_descriptor._internal_create_key, 71 | fields=[ 72 | _descriptor.FieldDescriptor( 73 | name='timelapse_options', full_name='insta360.messages.GetTimelapseOptionsResp.timelapse_options', index=0, 74 | number=1, type=11, cpp_type=10, label=1, 75 | has_default_value=False, default_value=None, 76 | message_type=None, enum_type=None, containing_type=None, 77 | is_extension=False, extension_scope=None, 78 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 79 | ], 80 | extensions=[ 81 | ], 82 | nested_types=[], 83 | enum_types=[ 84 | ], 85 | serialized_options=None, 86 | is_extendable=False, 87 | syntax='proto3', 88 | extension_ranges=[], 89 | oneofs=[ 90 | ], 91 | serialized_start=138, 92 | serialized_end=227, 93 | ) 94 | 95 | _GETTIMELAPSEOPTIONS.fields_by_name['mode'].enum_type = timelapse__pb2._TIMELAPSEMODE 96 | _GETTIMELAPSEOPTIONSRESP.fields_by_name['timelapse_options'].message_type = timelapse__pb2._TIMELAPSEOPTIONS 97 | DESCRIPTOR.message_types_by_name['GetTimelapseOptions'] = _GETTIMELAPSEOPTIONS 98 | DESCRIPTOR.message_types_by_name['GetTimelapseOptionsResp'] = _GETTIMELAPSEOPTIONSRESP 99 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 100 | 101 | GetTimelapseOptions = _reflection.GeneratedProtocolMessageType('GetTimelapseOptions', (_message.Message,), { 102 | 'DESCRIPTOR' : _GETTIMELAPSEOPTIONS, 103 | '__module__' : 'get_timelapse_options_pb2' 104 | # @@protoc_insertion_point(class_scope:insta360.messages.GetTimelapseOptions) 105 | }) 106 | _sym_db.RegisterMessage(GetTimelapseOptions) 107 | 108 | GetTimelapseOptionsResp = _reflection.GeneratedProtocolMessageType('GetTimelapseOptionsResp', (_message.Message,), { 109 | 'DESCRIPTOR' : _GETTIMELAPSEOPTIONSRESP, 110 | '__module__' : 'get_timelapse_options_pb2' 111 | # @@protoc_insertion_point(class_scope:insta360.messages.GetTimelapseOptionsResp) 112 | }) 113 | _sym_db.RegisterMessage(GetTimelapseOptionsResp) 114 | 115 | 116 | DESCRIPTOR._options = None 117 | # @@protoc_insertion_point(module_scope) 118 | -------------------------------------------------------------------------------- /pb2/get_whiteblance_status_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: get_whiteblance_status.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='get_whiteblance_status.proto', 18 | package='', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x1cget_whiteblance_status.proto\"\x9b\x01\n\x14GetWhiteblanceStatus\x12\x35\n\x05state\x18\x01 \x01(\x0e\x32&.GetWhiteblanceStatus.WhiteblanceState\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\">\n\x10WhiteblanceState\x12\x12\n\x0e\x42LANCE_UNKNOWN\x10\x00\x12\x16\n\x12\x42LANCE_EXE_SUCCESS\x10\x01\x42\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | _GETWHITEBLANCESTATUS_WHITEBLANCESTATE = _descriptor.EnumDescriptor( 28 | name='WhiteblanceState', 29 | full_name='GetWhiteblanceStatus.WhiteblanceState', 30 | filename=None, 31 | file=DESCRIPTOR, 32 | create_key=_descriptor._internal_create_key, 33 | values=[ 34 | _descriptor.EnumValueDescriptor( 35 | name='BLANCE_UNKNOWN', index=0, number=0, 36 | serialized_options=None, 37 | type=None, 38 | create_key=_descriptor._internal_create_key), 39 | _descriptor.EnumValueDescriptor( 40 | name='BLANCE_EXE_SUCCESS', index=1, number=1, 41 | serialized_options=None, 42 | type=None, 43 | create_key=_descriptor._internal_create_key), 44 | ], 45 | containing_type=None, 46 | serialized_options=None, 47 | serialized_start=126, 48 | serialized_end=188, 49 | ) 50 | _sym_db.RegisterEnumDescriptor(_GETWHITEBLANCESTATUS_WHITEBLANCESTATE) 51 | 52 | 53 | _GETWHITEBLANCESTATUS = _descriptor.Descriptor( 54 | name='GetWhiteblanceStatus', 55 | full_name='GetWhiteblanceStatus', 56 | filename=None, 57 | file=DESCRIPTOR, 58 | containing_type=None, 59 | create_key=_descriptor._internal_create_key, 60 | fields=[ 61 | _descriptor.FieldDescriptor( 62 | name='state', full_name='GetWhiteblanceStatus.state', index=0, 63 | number=1, type=14, cpp_type=8, label=1, 64 | has_default_value=False, default_value=0, 65 | message_type=None, enum_type=None, containing_type=None, 66 | is_extension=False, extension_scope=None, 67 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 68 | _descriptor.FieldDescriptor( 69 | name='data', full_name='GetWhiteblanceStatus.data', index=1, 70 | number=2, type=12, cpp_type=9, label=1, 71 | has_default_value=False, default_value=b"", 72 | message_type=None, enum_type=None, containing_type=None, 73 | is_extension=False, extension_scope=None, 74 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 75 | ], 76 | extensions=[ 77 | ], 78 | nested_types=[], 79 | enum_types=[ 80 | _GETWHITEBLANCESTATUS_WHITEBLANCESTATE, 81 | ], 82 | serialized_options=None, 83 | is_extendable=False, 84 | syntax='proto3', 85 | extension_ranges=[], 86 | oneofs=[ 87 | ], 88 | serialized_start=33, 89 | serialized_end=188, 90 | ) 91 | 92 | _GETWHITEBLANCESTATUS.fields_by_name['state'].enum_type = _GETWHITEBLANCESTATUS_WHITEBLANCESTATE 93 | _GETWHITEBLANCESTATUS_WHITEBLANCESTATE.containing_type = _GETWHITEBLANCESTATUS 94 | DESCRIPTOR.message_types_by_name['GetWhiteblanceStatus'] = _GETWHITEBLANCESTATUS 95 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 96 | 97 | GetWhiteblanceStatus = _reflection.GeneratedProtocolMessageType('GetWhiteblanceStatus', (_message.Message,), { 98 | 'DESCRIPTOR' : _GETWHITEBLANCESTATUS, 99 | '__module__' : 'get_whiteblance_status_pb2' 100 | # @@protoc_insertion_point(class_scope:GetWhiteblanceStatus) 101 | }) 102 | _sym_db.RegisterMessage(GetWhiteblanceStatus) 103 | 104 | 105 | DESCRIPTOR._options = None 106 | # @@protoc_insertion_point(module_scope) 107 | -------------------------------------------------------------------------------- /pb2/get_wifi_connection_info_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: get_wifi_connection_info.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | import wifi_connection_info_pb2 as wifi__connection__info__pb2 15 | 16 | from wifi_connection_info_pb2 import * 17 | 18 | DESCRIPTOR = _descriptor.FileDescriptor( 19 | name='get_wifi_connection_info.proto', 20 | package='insta360.messages', 21 | syntax='proto3', 22 | serialized_options=b'\242\002\005INSPB', 23 | create_key=_descriptor._internal_create_key, 24 | serialized_pb=b'\n\x1eget_wifi_connection_info.proto\x12\x11insta360.messages\x1a\x1awifi_connection_info.proto\"\x17\n\x15GetWifiConnectionInfo\"`\n\x19GetWifiConnectionInfoResp\x12\x43\n\x14wifi_connection_info\x18\x01 \x01(\x0b\x32%.insta360.messages.WifiConnectionInfoB\x08\xa2\x02\x05INSPBP\x00\x62\x06proto3' 25 | , 26 | dependencies=[wifi__connection__info__pb2.DESCRIPTOR,], 27 | public_dependencies=[wifi__connection__info__pb2.DESCRIPTOR,]) 28 | 29 | 30 | 31 | 32 | _GETWIFICONNECTIONINFO = _descriptor.Descriptor( 33 | name='GetWifiConnectionInfo', 34 | full_name='insta360.messages.GetWifiConnectionInfo', 35 | filename=None, 36 | file=DESCRIPTOR, 37 | containing_type=None, 38 | create_key=_descriptor._internal_create_key, 39 | fields=[ 40 | ], 41 | extensions=[ 42 | ], 43 | nested_types=[], 44 | enum_types=[ 45 | ], 46 | serialized_options=None, 47 | is_extendable=False, 48 | syntax='proto3', 49 | extension_ranges=[], 50 | oneofs=[ 51 | ], 52 | serialized_start=81, 53 | serialized_end=104, 54 | ) 55 | 56 | 57 | _GETWIFICONNECTIONINFORESP = _descriptor.Descriptor( 58 | name='GetWifiConnectionInfoResp', 59 | full_name='insta360.messages.GetWifiConnectionInfoResp', 60 | filename=None, 61 | file=DESCRIPTOR, 62 | containing_type=None, 63 | create_key=_descriptor._internal_create_key, 64 | fields=[ 65 | _descriptor.FieldDescriptor( 66 | name='wifi_connection_info', full_name='insta360.messages.GetWifiConnectionInfoResp.wifi_connection_info', index=0, 67 | number=1, type=11, cpp_type=10, label=1, 68 | has_default_value=False, default_value=None, 69 | message_type=None, enum_type=None, containing_type=None, 70 | is_extension=False, extension_scope=None, 71 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 72 | ], 73 | extensions=[ 74 | ], 75 | nested_types=[], 76 | enum_types=[ 77 | ], 78 | serialized_options=None, 79 | is_extendable=False, 80 | syntax='proto3', 81 | extension_ranges=[], 82 | oneofs=[ 83 | ], 84 | serialized_start=106, 85 | serialized_end=202, 86 | ) 87 | 88 | _GETWIFICONNECTIONINFORESP.fields_by_name['wifi_connection_info'].message_type = wifi__connection__info__pb2._WIFICONNECTIONINFO 89 | DESCRIPTOR.message_types_by_name['GetWifiConnectionInfo'] = _GETWIFICONNECTIONINFO 90 | DESCRIPTOR.message_types_by_name['GetWifiConnectionInfoResp'] = _GETWIFICONNECTIONINFORESP 91 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 92 | 93 | GetWifiConnectionInfo = _reflection.GeneratedProtocolMessageType('GetWifiConnectionInfo', (_message.Message,), { 94 | 'DESCRIPTOR' : _GETWIFICONNECTIONINFO, 95 | '__module__' : 'get_wifi_connection_info_pb2' 96 | # @@protoc_insertion_point(class_scope:insta360.messages.GetWifiConnectionInfo) 97 | }) 98 | _sym_db.RegisterMessage(GetWifiConnectionInfo) 99 | 100 | GetWifiConnectionInfoResp = _reflection.GeneratedProtocolMessageType('GetWifiConnectionInfoResp', (_message.Message,), { 101 | 'DESCRIPTOR' : _GETWIFICONNECTIONINFORESP, 102 | '__module__' : 'get_wifi_connection_info_pb2' 103 | # @@protoc_insertion_point(class_scope:insta360.messages.GetWifiConnectionInfoResp) 104 | }) 105 | _sym_db.RegisterMessage(GetWifiConnectionInfoResp) 106 | 107 | 108 | DESCRIPTOR._options = None 109 | # @@protoc_insertion_point(module_scope) 110 | -------------------------------------------------------------------------------- /pb2/key_pressed_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: key_pressed.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='key_pressed.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x11key_pressed.proto\x12\x11insta360.messages\"\xa0\x01\n\x16NotificatoinKeyPressed\x12?\n\x06key_id\x18\x01 \x01(\x0e\x32/.insta360.messages.NotificatoinKeyPressed.KeyId\"E\n\x05KeyId\x12\x12\n\x0e\x46\x30_SHORT_PRESS\x10\x00\x12\x13\n\x0f\x46\x30_DOUBLE_PRESS\x10\x01\x12\x13\n\x0f\x46\x30_TRIPLE_PRESS\x10\x02\x42\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | _NOTIFICATOINKEYPRESSED_KEYID = _descriptor.EnumDescriptor( 28 | name='KeyId', 29 | full_name='insta360.messages.NotificatoinKeyPressed.KeyId', 30 | filename=None, 31 | file=DESCRIPTOR, 32 | create_key=_descriptor._internal_create_key, 33 | values=[ 34 | _descriptor.EnumValueDescriptor( 35 | name='F0_SHORT_PRESS', index=0, number=0, 36 | serialized_options=None, 37 | type=None, 38 | create_key=_descriptor._internal_create_key), 39 | _descriptor.EnumValueDescriptor( 40 | name='F0_DOUBLE_PRESS', index=1, number=1, 41 | serialized_options=None, 42 | type=None, 43 | create_key=_descriptor._internal_create_key), 44 | _descriptor.EnumValueDescriptor( 45 | name='F0_TRIPLE_PRESS', index=2, number=2, 46 | serialized_options=None, 47 | type=None, 48 | create_key=_descriptor._internal_create_key), 49 | ], 50 | containing_type=None, 51 | serialized_options=None, 52 | serialized_start=132, 53 | serialized_end=201, 54 | ) 55 | _sym_db.RegisterEnumDescriptor(_NOTIFICATOINKEYPRESSED_KEYID) 56 | 57 | 58 | _NOTIFICATOINKEYPRESSED = _descriptor.Descriptor( 59 | name='NotificatoinKeyPressed', 60 | full_name='insta360.messages.NotificatoinKeyPressed', 61 | filename=None, 62 | file=DESCRIPTOR, 63 | containing_type=None, 64 | create_key=_descriptor._internal_create_key, 65 | fields=[ 66 | _descriptor.FieldDescriptor( 67 | name='key_id', full_name='insta360.messages.NotificatoinKeyPressed.key_id', index=0, 68 | number=1, type=14, cpp_type=8, label=1, 69 | has_default_value=False, default_value=0, 70 | message_type=None, enum_type=None, containing_type=None, 71 | is_extension=False, extension_scope=None, 72 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 73 | ], 74 | extensions=[ 75 | ], 76 | nested_types=[], 77 | enum_types=[ 78 | _NOTIFICATOINKEYPRESSED_KEYID, 79 | ], 80 | serialized_options=None, 81 | is_extendable=False, 82 | syntax='proto3', 83 | extension_ranges=[], 84 | oneofs=[ 85 | ], 86 | serialized_start=41, 87 | serialized_end=201, 88 | ) 89 | 90 | _NOTIFICATOINKEYPRESSED.fields_by_name['key_id'].enum_type = _NOTIFICATOINKEYPRESSED_KEYID 91 | _NOTIFICATOINKEYPRESSED_KEYID.containing_type = _NOTIFICATOINKEYPRESSED 92 | DESCRIPTOR.message_types_by_name['NotificatoinKeyPressed'] = _NOTIFICATOINKEYPRESSED 93 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 94 | 95 | NotificatoinKeyPressed = _reflection.GeneratedProtocolMessageType('NotificatoinKeyPressed', (_message.Message,), { 96 | 'DESCRIPTOR' : _NOTIFICATOINKEYPRESSED, 97 | '__module__' : 'key_pressed_pb2' 98 | # @@protoc_insertion_point(class_scope:insta360.messages.NotificatoinKeyPressed) 99 | }) 100 | _sym_db.RegisterMessage(NotificatoinKeyPressed) 101 | 102 | 103 | DESCRIPTOR._options = None 104 | # @@protoc_insertion_point(module_scope) 105 | -------------------------------------------------------------------------------- /pb2/offset_state_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: offset_state.proto 4 | 5 | from google.protobuf.internal import enum_type_wrapper 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import message as _message 8 | from google.protobuf import reflection as _reflection 9 | from google.protobuf import symbol_database as _symbol_database 10 | # @@protoc_insertion_point(imports) 11 | 12 | _sym_db = _symbol_database.Default() 13 | 14 | 15 | 16 | 17 | DESCRIPTOR = _descriptor.FileDescriptor( 18 | name='offset_state.proto', 19 | package='insta360.messages', 20 | syntax='proto3', 21 | serialized_options=b'\242\002\005INSPB', 22 | create_key=_descriptor._internal_create_key, 23 | serialized_pb=b'\n\x12offset_state.proto\x12\x11insta360.messages*=\n\x0bOffsetState\x12\n\n\x06\x43ommon\x10\x00\x12\x11\n\rSphereProtect\x10\x01\x12\x0f\n\x0b\x44ivingWater\x10\x02\x42\x08\xa2\x02\x05INSPBb\x06proto3' 24 | ) 25 | 26 | _OFFSETSTATE = _descriptor.EnumDescriptor( 27 | name='OffsetState', 28 | full_name='insta360.messages.OffsetState', 29 | filename=None, 30 | file=DESCRIPTOR, 31 | create_key=_descriptor._internal_create_key, 32 | values=[ 33 | _descriptor.EnumValueDescriptor( 34 | name='Common', index=0, number=0, 35 | serialized_options=None, 36 | type=None, 37 | create_key=_descriptor._internal_create_key), 38 | _descriptor.EnumValueDescriptor( 39 | name='SphereProtect', index=1, number=1, 40 | serialized_options=None, 41 | type=None, 42 | create_key=_descriptor._internal_create_key), 43 | _descriptor.EnumValueDescriptor( 44 | name='DivingWater', index=2, number=2, 45 | serialized_options=None, 46 | type=None, 47 | create_key=_descriptor._internal_create_key), 48 | ], 49 | containing_type=None, 50 | serialized_options=None, 51 | serialized_start=41, 52 | serialized_end=102, 53 | ) 54 | _sym_db.RegisterEnumDescriptor(_OFFSETSTATE) 55 | 56 | OffsetState = enum_type_wrapper.EnumTypeWrapper(_OFFSETSTATE) 57 | Common = 0 58 | SphereProtect = 1 59 | DivingWater = 2 60 | 61 | 62 | DESCRIPTOR.enum_types_by_name['OffsetState'] = _OFFSETSTATE 63 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 64 | 65 | 66 | DESCRIPTOR._options = None 67 | # @@protoc_insertion_point(module_scope) 68 | -------------------------------------------------------------------------------- /pb2/open_camera_oled_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: open_camera_oled.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='open_camera_oled.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x16open_camera_oled.proto\x12\x11insta360.messages\"\x10\n\x0eOpenCameraOled\"\x14\n\x12OpenCameraOledRespB\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | 28 | _OPENCAMERAOLED = _descriptor.Descriptor( 29 | name='OpenCameraOled', 30 | full_name='insta360.messages.OpenCameraOled', 31 | filename=None, 32 | file=DESCRIPTOR, 33 | containing_type=None, 34 | create_key=_descriptor._internal_create_key, 35 | fields=[ 36 | ], 37 | extensions=[ 38 | ], 39 | nested_types=[], 40 | enum_types=[ 41 | ], 42 | serialized_options=None, 43 | is_extendable=False, 44 | syntax='proto3', 45 | extension_ranges=[], 46 | oneofs=[ 47 | ], 48 | serialized_start=45, 49 | serialized_end=61, 50 | ) 51 | 52 | 53 | _OPENCAMERAOLEDRESP = _descriptor.Descriptor( 54 | name='OpenCameraOledResp', 55 | full_name='insta360.messages.OpenCameraOledResp', 56 | filename=None, 57 | file=DESCRIPTOR, 58 | containing_type=None, 59 | create_key=_descriptor._internal_create_key, 60 | fields=[ 61 | ], 62 | extensions=[ 63 | ], 64 | nested_types=[], 65 | enum_types=[ 66 | ], 67 | serialized_options=None, 68 | is_extendable=False, 69 | syntax='proto3', 70 | extension_ranges=[], 71 | oneofs=[ 72 | ], 73 | serialized_start=63, 74 | serialized_end=83, 75 | ) 76 | 77 | DESCRIPTOR.message_types_by_name['OpenCameraOled'] = _OPENCAMERAOLED 78 | DESCRIPTOR.message_types_by_name['OpenCameraOledResp'] = _OPENCAMERAOLEDRESP 79 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 80 | 81 | OpenCameraOled = _reflection.GeneratedProtocolMessageType('OpenCameraOled', (_message.Message,), { 82 | 'DESCRIPTOR' : _OPENCAMERAOLED, 83 | '__module__' : 'open_camera_oled_pb2' 84 | # @@protoc_insertion_point(class_scope:insta360.messages.OpenCameraOled) 85 | }) 86 | _sym_db.RegisterMessage(OpenCameraOled) 87 | 88 | OpenCameraOledResp = _reflection.GeneratedProtocolMessageType('OpenCameraOledResp', (_message.Message,), { 89 | 'DESCRIPTOR' : _OPENCAMERAOLEDRESP, 90 | '__module__' : 'open_camera_oled_pb2' 91 | # @@protoc_insertion_point(class_scope:insta360.messages.OpenCameraOledResp) 92 | }) 93 | _sym_db.RegisterMessage(OpenCameraOledResp) 94 | 95 | 96 | DESCRIPTOR._options = None 97 | # @@protoc_insertion_point(module_scope) 98 | -------------------------------------------------------------------------------- /pb2/open_iperf_service_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: open_iperf_service.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='open_iperf_service.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x18open_iperf_service.proto\x12\x11insta360.messages\"d\n\x10OpenIperfService\x12\x36\n\x04mode\x18\x01 \x01(\x0e\x32(.insta360.messages.OpenIperfService.Mode\"\x18\n\x04Mode\x12\x07\n\x03TCP\x10\x00\x12\x07\n\x03UDP\x10\x01\x42\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | _OPENIPERFSERVICE_MODE = _descriptor.EnumDescriptor( 28 | name='Mode', 29 | full_name='insta360.messages.OpenIperfService.Mode', 30 | filename=None, 31 | file=DESCRIPTOR, 32 | create_key=_descriptor._internal_create_key, 33 | values=[ 34 | _descriptor.EnumValueDescriptor( 35 | name='TCP', index=0, number=0, 36 | serialized_options=None, 37 | type=None, 38 | create_key=_descriptor._internal_create_key), 39 | _descriptor.EnumValueDescriptor( 40 | name='UDP', index=1, number=1, 41 | serialized_options=None, 42 | type=None, 43 | create_key=_descriptor._internal_create_key), 44 | ], 45 | containing_type=None, 46 | serialized_options=None, 47 | serialized_start=123, 48 | serialized_end=147, 49 | ) 50 | _sym_db.RegisterEnumDescriptor(_OPENIPERFSERVICE_MODE) 51 | 52 | 53 | _OPENIPERFSERVICE = _descriptor.Descriptor( 54 | name='OpenIperfService', 55 | full_name='insta360.messages.OpenIperfService', 56 | filename=None, 57 | file=DESCRIPTOR, 58 | containing_type=None, 59 | create_key=_descriptor._internal_create_key, 60 | fields=[ 61 | _descriptor.FieldDescriptor( 62 | name='mode', full_name='insta360.messages.OpenIperfService.mode', index=0, 63 | number=1, type=14, cpp_type=8, label=1, 64 | has_default_value=False, default_value=0, 65 | message_type=None, enum_type=None, containing_type=None, 66 | is_extension=False, extension_scope=None, 67 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 68 | ], 69 | extensions=[ 70 | ], 71 | nested_types=[], 72 | enum_types=[ 73 | _OPENIPERFSERVICE_MODE, 74 | ], 75 | serialized_options=None, 76 | is_extendable=False, 77 | syntax='proto3', 78 | extension_ranges=[], 79 | oneofs=[ 80 | ], 81 | serialized_start=47, 82 | serialized_end=147, 83 | ) 84 | 85 | _OPENIPERFSERVICE.fields_by_name['mode'].enum_type = _OPENIPERFSERVICE_MODE 86 | _OPENIPERFSERVICE_MODE.containing_type = _OPENIPERFSERVICE 87 | DESCRIPTOR.message_types_by_name['OpenIperfService'] = _OPENIPERFSERVICE 88 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 89 | 90 | OpenIperfService = _reflection.GeneratedProtocolMessageType('OpenIperfService', (_message.Message,), { 91 | 'DESCRIPTOR' : _OPENIPERFSERVICE, 92 | '__module__' : 'open_iperf_service_pb2' 93 | # @@protoc_insertion_point(class_scope:insta360.messages.OpenIperfService) 94 | }) 95 | _sym_db.RegisterMessage(OpenIperfService) 96 | 97 | 98 | DESCRIPTOR._options = None 99 | # @@protoc_insertion_point(module_scope) 100 | -------------------------------------------------------------------------------- /pb2/request_authorization_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: request_authorization.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | import authorization_operation_type_pb2 as authorization__operation__type__pb2 15 | 16 | from authorization_operation_type_pb2 import * 17 | 18 | DESCRIPTOR = _descriptor.FileDescriptor( 19 | name='request_authorization.proto', 20 | package='insta360.messages', 21 | syntax='proto3', 22 | serialized_options=b'\242\002\005INSPB', 23 | create_key=_descriptor._internal_create_key, 24 | serialized_pb=b'\n\x1brequest_authorization.proto\x12\x11insta360.messages\x1a\"authorization_operation_type.proto\"k\n\x14RequestAuthorization\x12S\n\x1c\x61uthorization_operation_type\x18\x01 \x01(\x0e\x32-.insta360.messages.AuthorizationOperationTypeB\x08\xa2\x02\x05INSPBP\x00\x62\x06proto3' 25 | , 26 | dependencies=[authorization__operation__type__pb2.DESCRIPTOR,], 27 | public_dependencies=[authorization__operation__type__pb2.DESCRIPTOR,]) 28 | 29 | 30 | 31 | 32 | _REQUESTAUTHORIZATION = _descriptor.Descriptor( 33 | name='RequestAuthorization', 34 | full_name='insta360.messages.RequestAuthorization', 35 | filename=None, 36 | file=DESCRIPTOR, 37 | containing_type=None, 38 | create_key=_descriptor._internal_create_key, 39 | fields=[ 40 | _descriptor.FieldDescriptor( 41 | name='authorization_operation_type', full_name='insta360.messages.RequestAuthorization.authorization_operation_type', index=0, 42 | number=1, type=14, cpp_type=8, label=1, 43 | has_default_value=False, default_value=0, 44 | message_type=None, enum_type=None, containing_type=None, 45 | is_extension=False, extension_scope=None, 46 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 47 | ], 48 | extensions=[ 49 | ], 50 | nested_types=[], 51 | enum_types=[ 52 | ], 53 | serialized_options=None, 54 | is_extendable=False, 55 | syntax='proto3', 56 | extension_ranges=[], 57 | oneofs=[ 58 | ], 59 | serialized_start=86, 60 | serialized_end=193, 61 | ) 62 | 63 | _REQUESTAUTHORIZATION.fields_by_name['authorization_operation_type'].enum_type = authorization__operation__type__pb2._AUTHORIZATIONOPERATIONTYPE 64 | DESCRIPTOR.message_types_by_name['RequestAuthorization'] = _REQUESTAUTHORIZATION 65 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 66 | 67 | RequestAuthorization = _reflection.GeneratedProtocolMessageType('RequestAuthorization', (_message.Message,), { 68 | 'DESCRIPTOR' : _REQUESTAUTHORIZATION, 69 | '__module__' : 'request_authorization_pb2' 70 | # @@protoc_insertion_point(class_scope:insta360.messages.RequestAuthorization) 71 | }) 72 | _sym_db.RegisterMessage(RequestAuthorization) 73 | 74 | 75 | DESCRIPTOR._options = None 76 | # @@protoc_insertion_point(module_scope) 77 | -------------------------------------------------------------------------------- /pb2/sd_card_speed_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: sd_card_speed.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='sd_card_speed.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x13sd_card_speed.proto\x12\x11insta360.messages\"F\n\x0fTestSDCardSpeed\x12\x12\n\nblock_size\x18\x01 \x01(\r\x12\x10\n\x08\x64uration\x18\x02 \x01(\r\x12\r\n\x05times\x18\x03 \x01(\r\"+\n\x13TestSDCardSpeedResp\x12\x14\n\x0cwrite_speeds\x18\x01 \x03(\x01\x42\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | 28 | _TESTSDCARDSPEED = _descriptor.Descriptor( 29 | name='TestSDCardSpeed', 30 | full_name='insta360.messages.TestSDCardSpeed', 31 | filename=None, 32 | file=DESCRIPTOR, 33 | containing_type=None, 34 | create_key=_descriptor._internal_create_key, 35 | fields=[ 36 | _descriptor.FieldDescriptor( 37 | name='block_size', full_name='insta360.messages.TestSDCardSpeed.block_size', index=0, 38 | number=1, type=13, cpp_type=3, label=1, 39 | has_default_value=False, default_value=0, 40 | message_type=None, enum_type=None, containing_type=None, 41 | is_extension=False, extension_scope=None, 42 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 43 | _descriptor.FieldDescriptor( 44 | name='duration', full_name='insta360.messages.TestSDCardSpeed.duration', index=1, 45 | number=2, type=13, cpp_type=3, label=1, 46 | has_default_value=False, default_value=0, 47 | message_type=None, enum_type=None, containing_type=None, 48 | is_extension=False, extension_scope=None, 49 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 50 | _descriptor.FieldDescriptor( 51 | name='times', full_name='insta360.messages.TestSDCardSpeed.times', index=2, 52 | number=3, type=13, cpp_type=3, label=1, 53 | has_default_value=False, default_value=0, 54 | message_type=None, enum_type=None, containing_type=None, 55 | is_extension=False, extension_scope=None, 56 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 57 | ], 58 | extensions=[ 59 | ], 60 | nested_types=[], 61 | enum_types=[ 62 | ], 63 | serialized_options=None, 64 | is_extendable=False, 65 | syntax='proto3', 66 | extension_ranges=[], 67 | oneofs=[ 68 | ], 69 | serialized_start=42, 70 | serialized_end=112, 71 | ) 72 | 73 | 74 | _TESTSDCARDSPEEDRESP = _descriptor.Descriptor( 75 | name='TestSDCardSpeedResp', 76 | full_name='insta360.messages.TestSDCardSpeedResp', 77 | filename=None, 78 | file=DESCRIPTOR, 79 | containing_type=None, 80 | create_key=_descriptor._internal_create_key, 81 | fields=[ 82 | _descriptor.FieldDescriptor( 83 | name='write_speeds', full_name='insta360.messages.TestSDCardSpeedResp.write_speeds', index=0, 84 | number=1, type=1, cpp_type=5, label=3, 85 | has_default_value=False, default_value=[], 86 | message_type=None, enum_type=None, containing_type=None, 87 | is_extension=False, extension_scope=None, 88 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 89 | ], 90 | extensions=[ 91 | ], 92 | nested_types=[], 93 | enum_types=[ 94 | ], 95 | serialized_options=None, 96 | is_extendable=False, 97 | syntax='proto3', 98 | extension_ranges=[], 99 | oneofs=[ 100 | ], 101 | serialized_start=114, 102 | serialized_end=157, 103 | ) 104 | 105 | DESCRIPTOR.message_types_by_name['TestSDCardSpeed'] = _TESTSDCARDSPEED 106 | DESCRIPTOR.message_types_by_name['TestSDCardSpeedResp'] = _TESTSDCARDSPEEDRESP 107 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 108 | 109 | TestSDCardSpeed = _reflection.GeneratedProtocolMessageType('TestSDCardSpeed', (_message.Message,), { 110 | 'DESCRIPTOR' : _TESTSDCARDSPEED, 111 | '__module__' : 'sd_card_speed_pb2' 112 | # @@protoc_insertion_point(class_scope:insta360.messages.TestSDCardSpeed) 113 | }) 114 | _sym_db.RegisterMessage(TestSDCardSpeed) 115 | 116 | TestSDCardSpeedResp = _reflection.GeneratedProtocolMessageType('TestSDCardSpeedResp', (_message.Message,), { 117 | 'DESCRIPTOR' : _TESTSDCARDSPEEDRESP, 118 | '__module__' : 'sd_card_speed_pb2' 119 | # @@protoc_insertion_point(class_scope:insta360.messages.TestSDCardSpeedResp) 120 | }) 121 | _sym_db.RegisterMessage(TestSDCardSpeedResp) 122 | 123 | 124 | DESCRIPTOR._options = None 125 | # @@protoc_insertion_point(module_scope) 126 | -------------------------------------------------------------------------------- /pb2/set_appid_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: set_appid.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='set_appid.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x0fset_appid.proto\x12\x11insta360.messages\"\x19\n\x08SetAppid\x12\r\n\x05\x61ppid\x18\x01 \x01(\t\"\x0e\n\x0cSetAppidRespB\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | 28 | _SETAPPID = _descriptor.Descriptor( 29 | name='SetAppid', 30 | full_name='insta360.messages.SetAppid', 31 | filename=None, 32 | file=DESCRIPTOR, 33 | containing_type=None, 34 | create_key=_descriptor._internal_create_key, 35 | fields=[ 36 | _descriptor.FieldDescriptor( 37 | name='appid', full_name='insta360.messages.SetAppid.appid', index=0, 38 | number=1, type=9, cpp_type=9, label=1, 39 | has_default_value=False, default_value=b"".decode('utf-8'), 40 | message_type=None, enum_type=None, containing_type=None, 41 | is_extension=False, extension_scope=None, 42 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 43 | ], 44 | extensions=[ 45 | ], 46 | nested_types=[], 47 | enum_types=[ 48 | ], 49 | serialized_options=None, 50 | is_extendable=False, 51 | syntax='proto3', 52 | extension_ranges=[], 53 | oneofs=[ 54 | ], 55 | serialized_start=38, 56 | serialized_end=63, 57 | ) 58 | 59 | 60 | _SETAPPIDRESP = _descriptor.Descriptor( 61 | name='SetAppidResp', 62 | full_name='insta360.messages.SetAppidResp', 63 | filename=None, 64 | file=DESCRIPTOR, 65 | containing_type=None, 66 | create_key=_descriptor._internal_create_key, 67 | fields=[ 68 | ], 69 | extensions=[ 70 | ], 71 | nested_types=[], 72 | enum_types=[ 73 | ], 74 | serialized_options=None, 75 | is_extendable=False, 76 | syntax='proto3', 77 | extension_ranges=[], 78 | oneofs=[ 79 | ], 80 | serialized_start=65, 81 | serialized_end=79, 82 | ) 83 | 84 | DESCRIPTOR.message_types_by_name['SetAppid'] = _SETAPPID 85 | DESCRIPTOR.message_types_by_name['SetAppidResp'] = _SETAPPIDRESP 86 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 87 | 88 | SetAppid = _reflection.GeneratedProtocolMessageType('SetAppid', (_message.Message,), { 89 | 'DESCRIPTOR' : _SETAPPID, 90 | '__module__' : 'set_appid_pb2' 91 | # @@protoc_insertion_point(class_scope:insta360.messages.SetAppid) 92 | }) 93 | _sym_db.RegisterMessage(SetAppid) 94 | 95 | SetAppidResp = _reflection.GeneratedProtocolMessageType('SetAppidResp', (_message.Message,), { 96 | 'DESCRIPTOR' : _SETAPPIDRESP, 97 | '__module__' : 'set_appid_pb2' 98 | # @@protoc_insertion_point(class_scope:insta360.messages.SetAppidResp) 99 | }) 100 | _sym_db.RegisterMessage(SetAppidResp) 101 | 102 | 103 | DESCRIPTOR._options = None 104 | # @@protoc_insertion_point(module_scope) 105 | -------------------------------------------------------------------------------- /pb2/set_charging_data_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: set_charging_data.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='set_charging_data.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x17set_charging_data.proto\x12\x11insta360.messages\"\x1c\n\x0c\x43hargingData\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\x1f\n\x0f\x43hargingBoxResp\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | 28 | _CHARGINGDATA = _descriptor.Descriptor( 29 | name='ChargingData', 30 | full_name='insta360.messages.ChargingData', 31 | filename=None, 32 | file=DESCRIPTOR, 33 | containing_type=None, 34 | create_key=_descriptor._internal_create_key, 35 | fields=[ 36 | _descriptor.FieldDescriptor( 37 | name='data', full_name='insta360.messages.ChargingData.data', index=0, 38 | number=1, type=12, cpp_type=9, label=1, 39 | has_default_value=False, default_value=b"", 40 | message_type=None, enum_type=None, containing_type=None, 41 | is_extension=False, extension_scope=None, 42 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 43 | ], 44 | extensions=[ 45 | ], 46 | nested_types=[], 47 | enum_types=[ 48 | ], 49 | serialized_options=None, 50 | is_extendable=False, 51 | syntax='proto3', 52 | extension_ranges=[], 53 | oneofs=[ 54 | ], 55 | serialized_start=46, 56 | serialized_end=74, 57 | ) 58 | 59 | 60 | _CHARGINGBOXRESP = _descriptor.Descriptor( 61 | name='ChargingBoxResp', 62 | full_name='insta360.messages.ChargingBoxResp', 63 | filename=None, 64 | file=DESCRIPTOR, 65 | containing_type=None, 66 | create_key=_descriptor._internal_create_key, 67 | fields=[ 68 | _descriptor.FieldDescriptor( 69 | name='data', full_name='insta360.messages.ChargingBoxResp.data', index=0, 70 | number=1, type=12, cpp_type=9, label=1, 71 | has_default_value=False, default_value=b"", 72 | message_type=None, enum_type=None, containing_type=None, 73 | is_extension=False, extension_scope=None, 74 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 75 | ], 76 | extensions=[ 77 | ], 78 | nested_types=[], 79 | enum_types=[ 80 | ], 81 | serialized_options=None, 82 | is_extendable=False, 83 | syntax='proto3', 84 | extension_ranges=[], 85 | oneofs=[ 86 | ], 87 | serialized_start=76, 88 | serialized_end=107, 89 | ) 90 | 91 | DESCRIPTOR.message_types_by_name['ChargingData'] = _CHARGINGDATA 92 | DESCRIPTOR.message_types_by_name['ChargingBoxResp'] = _CHARGINGBOXRESP 93 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 94 | 95 | ChargingData = _reflection.GeneratedProtocolMessageType('ChargingData', (_message.Message,), { 96 | 'DESCRIPTOR' : _CHARGINGDATA, 97 | '__module__' : 'set_charging_data_pb2' 98 | # @@protoc_insertion_point(class_scope:insta360.messages.ChargingData) 99 | }) 100 | _sym_db.RegisterMessage(ChargingData) 101 | 102 | ChargingBoxResp = _reflection.GeneratedProtocolMessageType('ChargingBoxResp', (_message.Message,), { 103 | 'DESCRIPTOR' : _CHARGINGBOXRESP, 104 | '__module__' : 'set_charging_data_pb2' 105 | # @@protoc_insertion_point(class_scope:insta360.messages.ChargingBoxResp) 106 | }) 107 | _sym_db.RegisterMessage(ChargingBoxResp) 108 | 109 | 110 | DESCRIPTOR._options = None 111 | # @@protoc_insertion_point(module_scope) 112 | -------------------------------------------------------------------------------- /pb2/set_file_extra_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: set_file_extra.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | import media_pb2 as media__pb2 15 | import extra_info_pb2 as extra__info__pb2 16 | try: 17 | offset__state__pb2 = extra__info__pb2.offset__state__pb2 18 | except AttributeError: 19 | offset__state__pb2 = extra__info__pb2.offset_state_pb2 20 | try: 21 | window__crop__info__pb2 = extra__info__pb2.window__crop__info__pb2 22 | except AttributeError: 23 | window__crop__info__pb2 = extra__info__pb2.window_crop_info_pb2 24 | 25 | from media_pb2 import * 26 | from extra_info_pb2 import * 27 | 28 | DESCRIPTOR = _descriptor.FileDescriptor( 29 | name='set_file_extra.proto', 30 | package='insta360.messages', 31 | syntax='proto3', 32 | serialized_options=b'\242\002\005INSPB', 33 | create_key=_descriptor._internal_create_key, 34 | serialized_pb=b'\n\x14set_file_extra.proto\x12\x11insta360.messages\x1a\x0bmedia.proto\x1a\x10\x65xtra_info.proto\"=\n\x0cSetFileExtra\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\x12\n\nextra_type\x18\x02 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x42\x08\xa2\x02\x05INSPBP\x00P\x01\x62\x06proto3' 35 | , 36 | dependencies=[media__pb2.DESCRIPTOR,extra__info__pb2.DESCRIPTOR,], 37 | public_dependencies=[media__pb2.DESCRIPTOR,extra__info__pb2.DESCRIPTOR,]) 38 | 39 | 40 | 41 | 42 | _SETFILEEXTRA = _descriptor.Descriptor( 43 | name='SetFileExtra', 44 | full_name='insta360.messages.SetFileExtra', 45 | filename=None, 46 | file=DESCRIPTOR, 47 | containing_type=None, 48 | create_key=_descriptor._internal_create_key, 49 | fields=[ 50 | _descriptor.FieldDescriptor( 51 | name='uri', full_name='insta360.messages.SetFileExtra.uri', index=0, 52 | number=1, type=9, cpp_type=9, label=1, 53 | has_default_value=False, default_value=b"".decode('utf-8'), 54 | message_type=None, enum_type=None, containing_type=None, 55 | is_extension=False, extension_scope=None, 56 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 57 | _descriptor.FieldDescriptor( 58 | name='extra_type', full_name='insta360.messages.SetFileExtra.extra_type', index=1, 59 | number=2, type=13, cpp_type=3, label=1, 60 | has_default_value=False, default_value=0, 61 | message_type=None, enum_type=None, containing_type=None, 62 | is_extension=False, extension_scope=None, 63 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 64 | _descriptor.FieldDescriptor( 65 | name='data', full_name='insta360.messages.SetFileExtra.data', index=2, 66 | number=3, type=12, cpp_type=9, label=1, 67 | has_default_value=False, default_value=b"", 68 | message_type=None, enum_type=None, containing_type=None, 69 | is_extension=False, extension_scope=None, 70 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 71 | ], 72 | extensions=[ 73 | ], 74 | nested_types=[], 75 | enum_types=[ 76 | ], 77 | serialized_options=None, 78 | is_extendable=False, 79 | syntax='proto3', 80 | extension_ranges=[], 81 | oneofs=[ 82 | ], 83 | serialized_start=74, 84 | serialized_end=135, 85 | ) 86 | 87 | DESCRIPTOR.message_types_by_name['SetFileExtra'] = _SETFILEEXTRA 88 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 89 | 90 | SetFileExtra = _reflection.GeneratedProtocolMessageType('SetFileExtra', (_message.Message,), { 91 | 'DESCRIPTOR' : _SETFILEEXTRA, 92 | '__module__' : 'set_file_extra_pb2' 93 | # @@protoc_insertion_point(class_scope:insta360.messages.SetFileExtra) 94 | }) 95 | _sym_db.RegisterMessage(SetFileExtra) 96 | 97 | 98 | DESCRIPTOR._options = None 99 | # @@protoc_insertion_point(module_scope) 100 | -------------------------------------------------------------------------------- /pb2/set_flowstate_enable_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: set_flowstate_enable.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='set_flowstate_enable.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x1aset_flowstate_enable.proto\x12\x11insta360.messages\"$\n\x12SetFlowstateEnable\x12\x0e\n\x06\x65nable\x18\x01 \x01(\r\"\x18\n\x16SetFlowstateEnableRespB\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | 28 | _SETFLOWSTATEENABLE = _descriptor.Descriptor( 29 | name='SetFlowstateEnable', 30 | full_name='insta360.messages.SetFlowstateEnable', 31 | filename=None, 32 | file=DESCRIPTOR, 33 | containing_type=None, 34 | create_key=_descriptor._internal_create_key, 35 | fields=[ 36 | _descriptor.FieldDescriptor( 37 | name='enable', full_name='insta360.messages.SetFlowstateEnable.enable', index=0, 38 | number=1, type=13, cpp_type=3, label=1, 39 | has_default_value=False, default_value=0, 40 | message_type=None, enum_type=None, containing_type=None, 41 | is_extension=False, extension_scope=None, 42 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 43 | ], 44 | extensions=[ 45 | ], 46 | nested_types=[], 47 | enum_types=[ 48 | ], 49 | serialized_options=None, 50 | is_extendable=False, 51 | syntax='proto3', 52 | extension_ranges=[], 53 | oneofs=[ 54 | ], 55 | serialized_start=49, 56 | serialized_end=85, 57 | ) 58 | 59 | 60 | _SETFLOWSTATEENABLERESP = _descriptor.Descriptor( 61 | name='SetFlowstateEnableResp', 62 | full_name='insta360.messages.SetFlowstateEnableResp', 63 | filename=None, 64 | file=DESCRIPTOR, 65 | containing_type=None, 66 | create_key=_descriptor._internal_create_key, 67 | fields=[ 68 | ], 69 | extensions=[ 70 | ], 71 | nested_types=[], 72 | enum_types=[ 73 | ], 74 | serialized_options=None, 75 | is_extendable=False, 76 | syntax='proto3', 77 | extension_ranges=[], 78 | oneofs=[ 79 | ], 80 | serialized_start=87, 81 | serialized_end=111, 82 | ) 83 | 84 | DESCRIPTOR.message_types_by_name['SetFlowstateEnable'] = _SETFLOWSTATEENABLE 85 | DESCRIPTOR.message_types_by_name['SetFlowstateEnableResp'] = _SETFLOWSTATEENABLERESP 86 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 87 | 88 | SetFlowstateEnable = _reflection.GeneratedProtocolMessageType('SetFlowstateEnable', (_message.Message,), { 89 | 'DESCRIPTOR' : _SETFLOWSTATEENABLE, 90 | '__module__' : 'set_flowstate_enable_pb2' 91 | # @@protoc_insertion_point(class_scope:insta360.messages.SetFlowstateEnable) 92 | }) 93 | _sym_db.RegisterMessage(SetFlowstateEnable) 94 | 95 | SetFlowstateEnableResp = _reflection.GeneratedProtocolMessageType('SetFlowstateEnableResp', (_message.Message,), { 96 | 'DESCRIPTOR' : _SETFLOWSTATEENABLERESP, 97 | '__module__' : 'set_flowstate_enable_pb2' 98 | # @@protoc_insertion_point(class_scope:insta360.messages.SetFlowstateEnableResp) 99 | }) 100 | _sym_db.RegisterMessage(SetFlowstateEnableResp) 101 | 102 | 103 | DESCRIPTOR._options = None 104 | # @@protoc_insertion_point(module_scope) 105 | -------------------------------------------------------------------------------- /pb2/set_standby_mode_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: set_standby_mode.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='set_standby_mode.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x16set_standby_mode.proto\x12\x11insta360.messages\"\xb5\x01\n\x0eSetStandbyMode\x12\x43\n\x0cstandby_mode\x18\x01 \x01(\x0e\x32-.insta360.messages.SetStandbyMode.StandbyMode\"^\n\x0bStandbyMode\x12\x18\n\x14STANDBY_MODE_UNKNOWN\x10\x00\x12\x1b\n\x17STANDBY_MODE_LOW_ENERGY\x10\x01\x12\x18\n\x14STANDBY_MODE_WAKE_UP\x10\x02\"\x14\n\x12SetStandbyModeRespB\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | _SETSTANDBYMODE_STANDBYMODE = _descriptor.EnumDescriptor( 28 | name='StandbyMode', 29 | full_name='insta360.messages.SetStandbyMode.StandbyMode', 30 | filename=None, 31 | file=DESCRIPTOR, 32 | create_key=_descriptor._internal_create_key, 33 | values=[ 34 | _descriptor.EnumValueDescriptor( 35 | name='STANDBY_MODE_UNKNOWN', index=0, number=0, 36 | serialized_options=None, 37 | type=None, 38 | create_key=_descriptor._internal_create_key), 39 | _descriptor.EnumValueDescriptor( 40 | name='STANDBY_MODE_LOW_ENERGY', index=1, number=1, 41 | serialized_options=None, 42 | type=None, 43 | create_key=_descriptor._internal_create_key), 44 | _descriptor.EnumValueDescriptor( 45 | name='STANDBY_MODE_WAKE_UP', index=2, number=2, 46 | serialized_options=None, 47 | type=None, 48 | create_key=_descriptor._internal_create_key), 49 | ], 50 | containing_type=None, 51 | serialized_options=None, 52 | serialized_start=133, 53 | serialized_end=227, 54 | ) 55 | _sym_db.RegisterEnumDescriptor(_SETSTANDBYMODE_STANDBYMODE) 56 | 57 | 58 | _SETSTANDBYMODE = _descriptor.Descriptor( 59 | name='SetStandbyMode', 60 | full_name='insta360.messages.SetStandbyMode', 61 | filename=None, 62 | file=DESCRIPTOR, 63 | containing_type=None, 64 | create_key=_descriptor._internal_create_key, 65 | fields=[ 66 | _descriptor.FieldDescriptor( 67 | name='standby_mode', full_name='insta360.messages.SetStandbyMode.standby_mode', index=0, 68 | number=1, type=14, cpp_type=8, label=1, 69 | has_default_value=False, default_value=0, 70 | message_type=None, enum_type=None, containing_type=None, 71 | is_extension=False, extension_scope=None, 72 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 73 | ], 74 | extensions=[ 75 | ], 76 | nested_types=[], 77 | enum_types=[ 78 | _SETSTANDBYMODE_STANDBYMODE, 79 | ], 80 | serialized_options=None, 81 | is_extendable=False, 82 | syntax='proto3', 83 | extension_ranges=[], 84 | oneofs=[ 85 | ], 86 | serialized_start=46, 87 | serialized_end=227, 88 | ) 89 | 90 | 91 | _SETSTANDBYMODERESP = _descriptor.Descriptor( 92 | name='SetStandbyModeResp', 93 | full_name='insta360.messages.SetStandbyModeResp', 94 | filename=None, 95 | file=DESCRIPTOR, 96 | containing_type=None, 97 | create_key=_descriptor._internal_create_key, 98 | fields=[ 99 | ], 100 | extensions=[ 101 | ], 102 | nested_types=[], 103 | enum_types=[ 104 | ], 105 | serialized_options=None, 106 | is_extendable=False, 107 | syntax='proto3', 108 | extension_ranges=[], 109 | oneofs=[ 110 | ], 111 | serialized_start=229, 112 | serialized_end=249, 113 | ) 114 | 115 | _SETSTANDBYMODE.fields_by_name['standby_mode'].enum_type = _SETSTANDBYMODE_STANDBYMODE 116 | _SETSTANDBYMODE_STANDBYMODE.containing_type = _SETSTANDBYMODE 117 | DESCRIPTOR.message_types_by_name['SetStandbyMode'] = _SETSTANDBYMODE 118 | DESCRIPTOR.message_types_by_name['SetStandbyModeResp'] = _SETSTANDBYMODERESP 119 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 120 | 121 | SetStandbyMode = _reflection.GeneratedProtocolMessageType('SetStandbyMode', (_message.Message,), { 122 | 'DESCRIPTOR' : _SETSTANDBYMODE, 123 | '__module__' : 'set_standby_mode_pb2' 124 | # @@protoc_insertion_point(class_scope:insta360.messages.SetStandbyMode) 125 | }) 126 | _sym_db.RegisterMessage(SetStandbyMode) 127 | 128 | SetStandbyModeResp = _reflection.GeneratedProtocolMessageType('SetStandbyModeResp', (_message.Message,), { 129 | 'DESCRIPTOR' : _SETSTANDBYMODERESP, 130 | '__module__' : 'set_standby_mode_pb2' 131 | # @@protoc_insertion_point(class_scope:insta360.messages.SetStandbyModeResp) 132 | }) 133 | _sym_db.RegisterMessage(SetStandbyModeResp) 134 | 135 | 136 | DESCRIPTOR._options = None 137 | # @@protoc_insertion_point(module_scope) 138 | -------------------------------------------------------------------------------- /pb2/set_sync_capture_mode_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: set_sync_capture_mode.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | import sync_capture_mode_pb2 as sync__capture__mode__pb2 15 | 16 | from sync_capture_mode_pb2 import * 17 | 18 | DESCRIPTOR = _descriptor.FileDescriptor( 19 | name='set_sync_capture_mode.proto', 20 | package='insta360.messages', 21 | syntax='proto3', 22 | serialized_options=b'\242\002\005INSPB', 23 | create_key=_descriptor._internal_create_key, 24 | serialized_pb=b'\n\x1bset_sync_capture_mode.proto\x12\x11insta360.messages\x1a\x17sync_capture_mode.proto\"N\n\x12SetSyncCaptureMode\x12\x38\n\x0c\x63\x61pture_mode\x18\x01 \x01(\x0e\x32\".insta360.messages.SyncCaptureMode\"\x18\n\x16SetSyncCaptureModeRespB\x08\xa2\x02\x05INSPBP\x00\x62\x06proto3' 25 | , 26 | dependencies=[sync__capture__mode__pb2.DESCRIPTOR,], 27 | public_dependencies=[sync__capture__mode__pb2.DESCRIPTOR,]) 28 | 29 | 30 | 31 | 32 | _SETSYNCCAPTUREMODE = _descriptor.Descriptor( 33 | name='SetSyncCaptureMode', 34 | full_name='insta360.messages.SetSyncCaptureMode', 35 | filename=None, 36 | file=DESCRIPTOR, 37 | containing_type=None, 38 | create_key=_descriptor._internal_create_key, 39 | fields=[ 40 | _descriptor.FieldDescriptor( 41 | name='capture_mode', full_name='insta360.messages.SetSyncCaptureMode.capture_mode', index=0, 42 | number=1, type=14, cpp_type=8, label=1, 43 | has_default_value=False, default_value=0, 44 | message_type=None, enum_type=None, containing_type=None, 45 | is_extension=False, extension_scope=None, 46 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 47 | ], 48 | extensions=[ 49 | ], 50 | nested_types=[], 51 | enum_types=[ 52 | ], 53 | serialized_options=None, 54 | is_extendable=False, 55 | syntax='proto3', 56 | extension_ranges=[], 57 | oneofs=[ 58 | ], 59 | serialized_start=75, 60 | serialized_end=153, 61 | ) 62 | 63 | 64 | _SETSYNCCAPTUREMODERESP = _descriptor.Descriptor( 65 | name='SetSyncCaptureModeResp', 66 | full_name='insta360.messages.SetSyncCaptureModeResp', 67 | filename=None, 68 | file=DESCRIPTOR, 69 | containing_type=None, 70 | create_key=_descriptor._internal_create_key, 71 | fields=[ 72 | ], 73 | extensions=[ 74 | ], 75 | nested_types=[], 76 | enum_types=[ 77 | ], 78 | serialized_options=None, 79 | is_extendable=False, 80 | syntax='proto3', 81 | extension_ranges=[], 82 | oneofs=[ 83 | ], 84 | serialized_start=155, 85 | serialized_end=179, 86 | ) 87 | 88 | _SETSYNCCAPTUREMODE.fields_by_name['capture_mode'].enum_type = sync__capture__mode__pb2._SYNCCAPTUREMODE 89 | DESCRIPTOR.message_types_by_name['SetSyncCaptureMode'] = _SETSYNCCAPTUREMODE 90 | DESCRIPTOR.message_types_by_name['SetSyncCaptureModeResp'] = _SETSYNCCAPTUREMODERESP 91 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 92 | 93 | SetSyncCaptureMode = _reflection.GeneratedProtocolMessageType('SetSyncCaptureMode', (_message.Message,), { 94 | 'DESCRIPTOR' : _SETSYNCCAPTUREMODE, 95 | '__module__' : 'set_sync_capture_mode_pb2' 96 | # @@protoc_insertion_point(class_scope:insta360.messages.SetSyncCaptureMode) 97 | }) 98 | _sym_db.RegisterMessage(SetSyncCaptureMode) 99 | 100 | SetSyncCaptureModeResp = _reflection.GeneratedProtocolMessageType('SetSyncCaptureModeResp', (_message.Message,), { 101 | 'DESCRIPTOR' : _SETSYNCCAPTUREMODERESP, 102 | '__module__' : 'set_sync_capture_mode_pb2' 103 | # @@protoc_insertion_point(class_scope:insta360.messages.SetSyncCaptureModeResp) 104 | }) 105 | _sym_db.RegisterMessage(SetSyncCaptureModeResp) 106 | 107 | 108 | DESCRIPTOR._options = None 109 | # @@protoc_insertion_point(module_scope) 110 | -------------------------------------------------------------------------------- /pb2/set_timelapse_options_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: set_timelapse_options.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | import timelapse_pb2 as timelapse__pb2 15 | 16 | from timelapse_pb2 import * 17 | 18 | DESCRIPTOR = _descriptor.FileDescriptor( 19 | name='set_timelapse_options.proto', 20 | package='insta360.messages', 21 | syntax='proto3', 22 | serialized_options=b'\242\002\005INSPB', 23 | create_key=_descriptor._internal_create_key, 24 | serialized_pb=b'\n\x1bset_timelapse_options.proto\x12\x11insta360.messages\x1a\x0ftimelapse.proto\"\x85\x01\n\x13SetTimelapseOptions\x12>\n\x11timelapse_options\x18\x01 \x01(\x0b\x32#.insta360.messages.TimelapseOptions\x12.\n\x04mode\x18\x02 \x01(\x0e\x32 .insta360.messages.TimelapseMode\"\x19\n\x17SetTimelapseOptionsRespB\x08\xa2\x02\x05INSPBP\x00\x62\x06proto3' 25 | , 26 | dependencies=[timelapse__pb2.DESCRIPTOR,], 27 | public_dependencies=[timelapse__pb2.DESCRIPTOR,]) 28 | 29 | 30 | 31 | 32 | _SETTIMELAPSEOPTIONS = _descriptor.Descriptor( 33 | name='SetTimelapseOptions', 34 | full_name='insta360.messages.SetTimelapseOptions', 35 | filename=None, 36 | file=DESCRIPTOR, 37 | containing_type=None, 38 | create_key=_descriptor._internal_create_key, 39 | fields=[ 40 | _descriptor.FieldDescriptor( 41 | name='timelapse_options', full_name='insta360.messages.SetTimelapseOptions.timelapse_options', index=0, 42 | number=1, type=11, cpp_type=10, label=1, 43 | has_default_value=False, default_value=None, 44 | message_type=None, enum_type=None, containing_type=None, 45 | is_extension=False, extension_scope=None, 46 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 47 | _descriptor.FieldDescriptor( 48 | name='mode', full_name='insta360.messages.SetTimelapseOptions.mode', index=1, 49 | number=2, type=14, cpp_type=8, label=1, 50 | has_default_value=False, default_value=0, 51 | message_type=None, enum_type=None, containing_type=None, 52 | is_extension=False, extension_scope=None, 53 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 54 | ], 55 | extensions=[ 56 | ], 57 | nested_types=[], 58 | enum_types=[ 59 | ], 60 | serialized_options=None, 61 | is_extendable=False, 62 | syntax='proto3', 63 | extension_ranges=[], 64 | oneofs=[ 65 | ], 66 | serialized_start=68, 67 | serialized_end=201, 68 | ) 69 | 70 | 71 | _SETTIMELAPSEOPTIONSRESP = _descriptor.Descriptor( 72 | name='SetTimelapseOptionsResp', 73 | full_name='insta360.messages.SetTimelapseOptionsResp', 74 | filename=None, 75 | file=DESCRIPTOR, 76 | containing_type=None, 77 | create_key=_descriptor._internal_create_key, 78 | fields=[ 79 | ], 80 | extensions=[ 81 | ], 82 | nested_types=[], 83 | enum_types=[ 84 | ], 85 | serialized_options=None, 86 | is_extendable=False, 87 | syntax='proto3', 88 | extension_ranges=[], 89 | oneofs=[ 90 | ], 91 | serialized_start=203, 92 | serialized_end=228, 93 | ) 94 | 95 | _SETTIMELAPSEOPTIONS.fields_by_name['timelapse_options'].message_type = timelapse__pb2._TIMELAPSEOPTIONS 96 | _SETTIMELAPSEOPTIONS.fields_by_name['mode'].enum_type = timelapse__pb2._TIMELAPSEMODE 97 | DESCRIPTOR.message_types_by_name['SetTimelapseOptions'] = _SETTIMELAPSEOPTIONS 98 | DESCRIPTOR.message_types_by_name['SetTimelapseOptionsResp'] = _SETTIMELAPSEOPTIONSRESP 99 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 100 | 101 | SetTimelapseOptions = _reflection.GeneratedProtocolMessageType('SetTimelapseOptions', (_message.Message,), { 102 | 'DESCRIPTOR' : _SETTIMELAPSEOPTIONS, 103 | '__module__' : 'set_timelapse_options_pb2' 104 | # @@protoc_insertion_point(class_scope:insta360.messages.SetTimelapseOptions) 105 | }) 106 | _sym_db.RegisterMessage(SetTimelapseOptions) 107 | 108 | SetTimelapseOptionsResp = _reflection.GeneratedProtocolMessageType('SetTimelapseOptionsResp', (_message.Message,), { 109 | 'DESCRIPTOR' : _SETTIMELAPSEOPTIONSRESP, 110 | '__module__' : 'set_timelapse_options_pb2' 111 | # @@protoc_insertion_point(class_scope:insta360.messages.SetTimelapseOptionsResp) 112 | }) 113 | _sym_db.RegisterMessage(SetTimelapseOptionsResp) 114 | 115 | 116 | DESCRIPTOR._options = None 117 | # @@protoc_insertion_point(module_scope) 118 | -------------------------------------------------------------------------------- /pb2/set_wifi_connection_info_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: set_wifi_connection_info.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | import wifi_connection_info_pb2 as wifi__connection__info__pb2 15 | 16 | from wifi_connection_info_pb2 import * 17 | 18 | DESCRIPTOR = _descriptor.FileDescriptor( 19 | name='set_wifi_connection_info.proto', 20 | package='insta360.messages', 21 | syntax='proto3', 22 | serialized_options=b'\242\002\005INSPB', 23 | create_key=_descriptor._internal_create_key, 24 | serialized_pb=b'\n\x1eset_wifi_connection_info.proto\x12\x11insta360.messages\x1a\x1awifi_connection_info.proto\"\\\n\x15SetWifiConnectionInfo\x12\x43\n\x14wifi_connection_info\x18\x01 \x01(\x0b\x32%.insta360.messages.WifiConnectionInfo\"\x1b\n\x19SetWifiConnectionInfoRespB\x08\xa2\x02\x05INSPBP\x00\x62\x06proto3' 25 | , 26 | dependencies=[wifi__connection__info__pb2.DESCRIPTOR,], 27 | public_dependencies=[wifi__connection__info__pb2.DESCRIPTOR,]) 28 | 29 | 30 | 31 | 32 | _SETWIFICONNECTIONINFO = _descriptor.Descriptor( 33 | name='SetWifiConnectionInfo', 34 | full_name='insta360.messages.SetWifiConnectionInfo', 35 | filename=None, 36 | file=DESCRIPTOR, 37 | containing_type=None, 38 | create_key=_descriptor._internal_create_key, 39 | fields=[ 40 | _descriptor.FieldDescriptor( 41 | name='wifi_connection_info', full_name='insta360.messages.SetWifiConnectionInfo.wifi_connection_info', index=0, 42 | number=1, type=11, cpp_type=10, label=1, 43 | has_default_value=False, default_value=None, 44 | message_type=None, enum_type=None, containing_type=None, 45 | is_extension=False, extension_scope=None, 46 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 47 | ], 48 | extensions=[ 49 | ], 50 | nested_types=[], 51 | enum_types=[ 52 | ], 53 | serialized_options=None, 54 | is_extendable=False, 55 | syntax='proto3', 56 | extension_ranges=[], 57 | oneofs=[ 58 | ], 59 | serialized_start=81, 60 | serialized_end=173, 61 | ) 62 | 63 | 64 | _SETWIFICONNECTIONINFORESP = _descriptor.Descriptor( 65 | name='SetWifiConnectionInfoResp', 66 | full_name='insta360.messages.SetWifiConnectionInfoResp', 67 | filename=None, 68 | file=DESCRIPTOR, 69 | containing_type=None, 70 | create_key=_descriptor._internal_create_key, 71 | fields=[ 72 | ], 73 | extensions=[ 74 | ], 75 | nested_types=[], 76 | enum_types=[ 77 | ], 78 | serialized_options=None, 79 | is_extendable=False, 80 | syntax='proto3', 81 | extension_ranges=[], 82 | oneofs=[ 83 | ], 84 | serialized_start=175, 85 | serialized_end=202, 86 | ) 87 | 88 | _SETWIFICONNECTIONINFO.fields_by_name['wifi_connection_info'].message_type = wifi__connection__info__pb2._WIFICONNECTIONINFO 89 | DESCRIPTOR.message_types_by_name['SetWifiConnectionInfo'] = _SETWIFICONNECTIONINFO 90 | DESCRIPTOR.message_types_by_name['SetWifiConnectionInfoResp'] = _SETWIFICONNECTIONINFORESP 91 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 92 | 93 | SetWifiConnectionInfo = _reflection.GeneratedProtocolMessageType('SetWifiConnectionInfo', (_message.Message,), { 94 | 'DESCRIPTOR' : _SETWIFICONNECTIONINFO, 95 | '__module__' : 'set_wifi_connection_info_pb2' 96 | # @@protoc_insertion_point(class_scope:insta360.messages.SetWifiConnectionInfo) 97 | }) 98 | _sym_db.RegisterMessage(SetWifiConnectionInfo) 99 | 100 | SetWifiConnectionInfoResp = _reflection.GeneratedProtocolMessageType('SetWifiConnectionInfoResp', (_message.Message,), { 101 | 'DESCRIPTOR' : _SETWIFICONNECTIONINFORESP, 102 | '__module__' : 'set_wifi_connection_info_pb2' 103 | # @@protoc_insertion_point(class_scope:insta360.messages.SetWifiConnectionInfoResp) 104 | }) 105 | _sym_db.RegisterMessage(SetWifiConnectionInfoResp) 106 | 107 | 108 | DESCRIPTOR._options = None 109 | # @@protoc_insertion_point(module_scope) 110 | -------------------------------------------------------------------------------- /pb2/shutdown_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: shutdown.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='shutdown.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x0eshutdown.proto\x12\x11insta360.messages\"\xaa\x01\n\x14NotificationShutdown\x12\x45\n\nerror_code\x18\x01 \x01(\x0e\x32\x31.insta360.messages.NotificationShutdown.ErrorCode\x12\x0f\n\x07message\x18\x02 \x01(\t\":\n\tErrorCode\x12\x12\n\x0e\x42\x41TTERT_RUNOUT\x10\x00\x12\x19\n\x15TEMPERATURE_OVERLIMIT\x10\x01\x42\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | _NOTIFICATIONSHUTDOWN_ERRORCODE = _descriptor.EnumDescriptor( 28 | name='ErrorCode', 29 | full_name='insta360.messages.NotificationShutdown.ErrorCode', 30 | filename=None, 31 | file=DESCRIPTOR, 32 | create_key=_descriptor._internal_create_key, 33 | values=[ 34 | _descriptor.EnumValueDescriptor( 35 | name='BATTERT_RUNOUT', index=0, number=0, 36 | serialized_options=None, 37 | type=None, 38 | create_key=_descriptor._internal_create_key), 39 | _descriptor.EnumValueDescriptor( 40 | name='TEMPERATURE_OVERLIMIT', index=1, number=1, 41 | serialized_options=None, 42 | type=None, 43 | create_key=_descriptor._internal_create_key), 44 | ], 45 | containing_type=None, 46 | serialized_options=None, 47 | serialized_start=150, 48 | serialized_end=208, 49 | ) 50 | _sym_db.RegisterEnumDescriptor(_NOTIFICATIONSHUTDOWN_ERRORCODE) 51 | 52 | 53 | _NOTIFICATIONSHUTDOWN = _descriptor.Descriptor( 54 | name='NotificationShutdown', 55 | full_name='insta360.messages.NotificationShutdown', 56 | filename=None, 57 | file=DESCRIPTOR, 58 | containing_type=None, 59 | create_key=_descriptor._internal_create_key, 60 | fields=[ 61 | _descriptor.FieldDescriptor( 62 | name='error_code', full_name='insta360.messages.NotificationShutdown.error_code', index=0, 63 | number=1, type=14, cpp_type=8, label=1, 64 | has_default_value=False, default_value=0, 65 | message_type=None, enum_type=None, containing_type=None, 66 | is_extension=False, extension_scope=None, 67 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 68 | _descriptor.FieldDescriptor( 69 | name='message', full_name='insta360.messages.NotificationShutdown.message', index=1, 70 | number=2, type=9, cpp_type=9, label=1, 71 | has_default_value=False, default_value=b"".decode('utf-8'), 72 | message_type=None, enum_type=None, containing_type=None, 73 | is_extension=False, extension_scope=None, 74 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 75 | ], 76 | extensions=[ 77 | ], 78 | nested_types=[], 79 | enum_types=[ 80 | _NOTIFICATIONSHUTDOWN_ERRORCODE, 81 | ], 82 | serialized_options=None, 83 | is_extendable=False, 84 | syntax='proto3', 85 | extension_ranges=[], 86 | oneofs=[ 87 | ], 88 | serialized_start=38, 89 | serialized_end=208, 90 | ) 91 | 92 | _NOTIFICATIONSHUTDOWN.fields_by_name['error_code'].enum_type = _NOTIFICATIONSHUTDOWN_ERRORCODE 93 | _NOTIFICATIONSHUTDOWN_ERRORCODE.containing_type = _NOTIFICATIONSHUTDOWN 94 | DESCRIPTOR.message_types_by_name['NotificationShutdown'] = _NOTIFICATIONSHUTDOWN 95 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 96 | 97 | NotificationShutdown = _reflection.GeneratedProtocolMessageType('NotificationShutdown', (_message.Message,), { 98 | 'DESCRIPTOR' : _NOTIFICATIONSHUTDOWN, 99 | '__module__' : 'shutdown_pb2' 100 | # @@protoc_insertion_point(class_scope:insta360.messages.NotificationShutdown) 101 | }) 102 | _sym_db.RegisterMessage(NotificationShutdown) 103 | 104 | 105 | DESCRIPTOR._options = None 106 | # @@protoc_insertion_point(module_scope) 107 | -------------------------------------------------------------------------------- /pb2/start_bullettime_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: start_bullettime.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='start_bullettime.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x16start_bullettime.proto\x12\x11insta360.messages\"\x11\n\x0fStartBulletTime\"\x15\n\x13StartBulletTimeRespB\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | 28 | _STARTBULLETTIME = _descriptor.Descriptor( 29 | name='StartBulletTime', 30 | full_name='insta360.messages.StartBulletTime', 31 | filename=None, 32 | file=DESCRIPTOR, 33 | containing_type=None, 34 | create_key=_descriptor._internal_create_key, 35 | fields=[ 36 | ], 37 | extensions=[ 38 | ], 39 | nested_types=[], 40 | enum_types=[ 41 | ], 42 | serialized_options=None, 43 | is_extendable=False, 44 | syntax='proto3', 45 | extension_ranges=[], 46 | oneofs=[ 47 | ], 48 | serialized_start=45, 49 | serialized_end=62, 50 | ) 51 | 52 | 53 | _STARTBULLETTIMERESP = _descriptor.Descriptor( 54 | name='StartBulletTimeResp', 55 | full_name='insta360.messages.StartBulletTimeResp', 56 | filename=None, 57 | file=DESCRIPTOR, 58 | containing_type=None, 59 | create_key=_descriptor._internal_create_key, 60 | fields=[ 61 | ], 62 | extensions=[ 63 | ], 64 | nested_types=[], 65 | enum_types=[ 66 | ], 67 | serialized_options=None, 68 | is_extendable=False, 69 | syntax='proto3', 70 | extension_ranges=[], 71 | oneofs=[ 72 | ], 73 | serialized_start=64, 74 | serialized_end=85, 75 | ) 76 | 77 | DESCRIPTOR.message_types_by_name['StartBulletTime'] = _STARTBULLETTIME 78 | DESCRIPTOR.message_types_by_name['StartBulletTimeResp'] = _STARTBULLETTIMERESP 79 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 80 | 81 | StartBulletTime = _reflection.GeneratedProtocolMessageType('StartBulletTime', (_message.Message,), { 82 | 'DESCRIPTOR' : _STARTBULLETTIME, 83 | '__module__' : 'start_bullettime_pb2' 84 | # @@protoc_insertion_point(class_scope:insta360.messages.StartBulletTime) 85 | }) 86 | _sym_db.RegisterMessage(StartBulletTime) 87 | 88 | StartBulletTimeResp = _reflection.GeneratedProtocolMessageType('StartBulletTimeResp', (_message.Message,), { 89 | 'DESCRIPTOR' : _STARTBULLETTIMERESP, 90 | '__module__' : 'start_bullettime_pb2' 91 | # @@protoc_insertion_point(class_scope:insta360.messages.StartBulletTimeResp) 92 | }) 93 | _sym_db.RegisterMessage(StartBulletTimeResp) 94 | 95 | 96 | DESCRIPTOR._options = None 97 | # @@protoc_insertion_point(module_scope) 98 | -------------------------------------------------------------------------------- /pb2/start_hdr_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: start_hdr.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='start_hdr.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x0fstart_hdr.proto\x12\x11insta360.messages\"\n\n\x08StartHdr\"\x0e\n\x0cStartHdrRespB\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | 28 | _STARTHDR = _descriptor.Descriptor( 29 | name='StartHdr', 30 | full_name='insta360.messages.StartHdr', 31 | filename=None, 32 | file=DESCRIPTOR, 33 | containing_type=None, 34 | create_key=_descriptor._internal_create_key, 35 | fields=[ 36 | ], 37 | extensions=[ 38 | ], 39 | nested_types=[], 40 | enum_types=[ 41 | ], 42 | serialized_options=None, 43 | is_extendable=False, 44 | syntax='proto3', 45 | extension_ranges=[], 46 | oneofs=[ 47 | ], 48 | serialized_start=38, 49 | serialized_end=48, 50 | ) 51 | 52 | 53 | _STARTHDRRESP = _descriptor.Descriptor( 54 | name='StartHdrResp', 55 | full_name='insta360.messages.StartHdrResp', 56 | filename=None, 57 | file=DESCRIPTOR, 58 | containing_type=None, 59 | create_key=_descriptor._internal_create_key, 60 | fields=[ 61 | ], 62 | extensions=[ 63 | ], 64 | nested_types=[], 65 | enum_types=[ 66 | ], 67 | serialized_options=None, 68 | is_extendable=False, 69 | syntax='proto3', 70 | extension_ranges=[], 71 | oneofs=[ 72 | ], 73 | serialized_start=50, 74 | serialized_end=64, 75 | ) 76 | 77 | DESCRIPTOR.message_types_by_name['StartHdr'] = _STARTHDR 78 | DESCRIPTOR.message_types_by_name['StartHdrResp'] = _STARTHDRRESP 79 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 80 | 81 | StartHdr = _reflection.GeneratedProtocolMessageType('StartHdr', (_message.Message,), { 82 | 'DESCRIPTOR' : _STARTHDR, 83 | '__module__' : 'start_hdr_pb2' 84 | # @@protoc_insertion_point(class_scope:insta360.messages.StartHdr) 85 | }) 86 | _sym_db.RegisterMessage(StartHdr) 87 | 88 | StartHdrResp = _reflection.GeneratedProtocolMessageType('StartHdrResp', (_message.Message,), { 89 | 'DESCRIPTOR' : _STARTHDRRESP, 90 | '__module__' : 'start_hdr_pb2' 91 | # @@protoc_insertion_point(class_scope:insta360.messages.StartHdrResp) 92 | }) 93 | _sym_db.RegisterMessage(StartHdrResp) 94 | 95 | 96 | DESCRIPTOR._options = None 97 | # @@protoc_insertion_point(module_scope) 98 | -------------------------------------------------------------------------------- /pb2/start_timelapse_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: start_timelapse.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | import timelapse_pb2 as timelapse__pb2 15 | import extra_info_pb2 as extra__info__pb2 16 | try: 17 | offset__state__pb2 = extra__info__pb2.offset__state__pb2 18 | except AttributeError: 19 | offset__state__pb2 = extra__info__pb2.offset_state_pb2 20 | try: 21 | window__crop__info__pb2 = extra__info__pb2.window__crop__info__pb2 22 | except AttributeError: 23 | window__crop__info__pb2 = extra__info__pb2.window_crop_info_pb2 24 | 25 | from timelapse_pb2 import * 26 | from extra_info_pb2 import * 27 | 28 | DESCRIPTOR = _descriptor.FileDescriptor( 29 | name='start_timelapse.proto', 30 | package='insta360.messages', 31 | syntax='proto3', 32 | serialized_options=b'\242\002\005INSPB', 33 | create_key=_descriptor._internal_create_key, 34 | serialized_pb=b'\n\x15start_timelapse.proto\x12\x11insta360.messages\x1a\x0ftimelapse.proto\x1a\x10\x65xtra_info.proto\"z\n\x0eStartTimelapse\x12.\n\x04mode\x18\x01 \x01(\x0e\x32 .insta360.messages.TimelapseMode\x12\x38\n\x0e\x65xtra_metadata\x18\x02 \x01(\x0b\x32 .insta360.messages.ExtraMetadata\"\x14\n\x12StartTimelapseRespB\x08\xa2\x02\x05INSPBP\x00P\x01\x62\x06proto3' 35 | , 36 | dependencies=[timelapse__pb2.DESCRIPTOR,extra__info__pb2.DESCRIPTOR,], 37 | public_dependencies=[timelapse__pb2.DESCRIPTOR,extra__info__pb2.DESCRIPTOR,]) 38 | 39 | 40 | 41 | 42 | _STARTTIMELAPSE = _descriptor.Descriptor( 43 | name='StartTimelapse', 44 | full_name='insta360.messages.StartTimelapse', 45 | filename=None, 46 | file=DESCRIPTOR, 47 | containing_type=None, 48 | create_key=_descriptor._internal_create_key, 49 | fields=[ 50 | _descriptor.FieldDescriptor( 51 | name='mode', full_name='insta360.messages.StartTimelapse.mode', index=0, 52 | number=1, type=14, cpp_type=8, label=1, 53 | has_default_value=False, default_value=0, 54 | message_type=None, enum_type=None, containing_type=None, 55 | is_extension=False, extension_scope=None, 56 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 57 | _descriptor.FieldDescriptor( 58 | name='extra_metadata', full_name='insta360.messages.StartTimelapse.extra_metadata', index=1, 59 | number=2, type=11, cpp_type=10, label=1, 60 | has_default_value=False, default_value=None, 61 | message_type=None, enum_type=None, containing_type=None, 62 | is_extension=False, extension_scope=None, 63 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 64 | ], 65 | extensions=[ 66 | ], 67 | nested_types=[], 68 | enum_types=[ 69 | ], 70 | serialized_options=None, 71 | is_extendable=False, 72 | syntax='proto3', 73 | extension_ranges=[], 74 | oneofs=[ 75 | ], 76 | serialized_start=79, 77 | serialized_end=201, 78 | ) 79 | 80 | 81 | _STARTTIMELAPSERESP = _descriptor.Descriptor( 82 | name='StartTimelapseResp', 83 | full_name='insta360.messages.StartTimelapseResp', 84 | filename=None, 85 | file=DESCRIPTOR, 86 | containing_type=None, 87 | create_key=_descriptor._internal_create_key, 88 | fields=[ 89 | ], 90 | extensions=[ 91 | ], 92 | nested_types=[], 93 | enum_types=[ 94 | ], 95 | serialized_options=None, 96 | is_extendable=False, 97 | syntax='proto3', 98 | extension_ranges=[], 99 | oneofs=[ 100 | ], 101 | serialized_start=203, 102 | serialized_end=223, 103 | ) 104 | 105 | _STARTTIMELAPSE.fields_by_name['mode'].enum_type = timelapse__pb2._TIMELAPSEMODE 106 | _STARTTIMELAPSE.fields_by_name['extra_metadata'].message_type = extra__info__pb2._EXTRAMETADATA 107 | DESCRIPTOR.message_types_by_name['StartTimelapse'] = _STARTTIMELAPSE 108 | DESCRIPTOR.message_types_by_name['StartTimelapseResp'] = _STARTTIMELAPSERESP 109 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 110 | 111 | StartTimelapse = _reflection.GeneratedProtocolMessageType('StartTimelapse', (_message.Message,), { 112 | 'DESCRIPTOR' : _STARTTIMELAPSE, 113 | '__module__' : 'start_timelapse_pb2' 114 | # @@protoc_insertion_point(class_scope:insta360.messages.StartTimelapse) 115 | }) 116 | _sym_db.RegisterMessage(StartTimelapse) 117 | 118 | StartTimelapseResp = _reflection.GeneratedProtocolMessageType('StartTimelapseResp', (_message.Message,), { 119 | 'DESCRIPTOR' : _STARTTIMELAPSERESP, 120 | '__module__' : 'start_timelapse_pb2' 121 | # @@protoc_insertion_point(class_scope:insta360.messages.StartTimelapseResp) 122 | }) 123 | _sym_db.RegisterMessage(StartTimelapseResp) 124 | 125 | 126 | DESCRIPTOR._options = None 127 | # @@protoc_insertion_point(module_scope) 128 | -------------------------------------------------------------------------------- /pb2/start_timeshift_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: start_timeshift.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='start_timeshift.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x15start_timeshift.proto\x12\x11insta360.messages\"\x10\n\x0eStartTimeShift\"\x14\n\x12StartTimeShiftRespB\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | 28 | _STARTTIMESHIFT = _descriptor.Descriptor( 29 | name='StartTimeShift', 30 | full_name='insta360.messages.StartTimeShift', 31 | filename=None, 32 | file=DESCRIPTOR, 33 | containing_type=None, 34 | create_key=_descriptor._internal_create_key, 35 | fields=[ 36 | ], 37 | extensions=[ 38 | ], 39 | nested_types=[], 40 | enum_types=[ 41 | ], 42 | serialized_options=None, 43 | is_extendable=False, 44 | syntax='proto3', 45 | extension_ranges=[], 46 | oneofs=[ 47 | ], 48 | serialized_start=44, 49 | serialized_end=60, 50 | ) 51 | 52 | 53 | _STARTTIMESHIFTRESP = _descriptor.Descriptor( 54 | name='StartTimeShiftResp', 55 | full_name='insta360.messages.StartTimeShiftResp', 56 | filename=None, 57 | file=DESCRIPTOR, 58 | containing_type=None, 59 | create_key=_descriptor._internal_create_key, 60 | fields=[ 61 | ], 62 | extensions=[ 63 | ], 64 | nested_types=[], 65 | enum_types=[ 66 | ], 67 | serialized_options=None, 68 | is_extendable=False, 69 | syntax='proto3', 70 | extension_ranges=[], 71 | oneofs=[ 72 | ], 73 | serialized_start=62, 74 | serialized_end=82, 75 | ) 76 | 77 | DESCRIPTOR.message_types_by_name['StartTimeShift'] = _STARTTIMESHIFT 78 | DESCRIPTOR.message_types_by_name['StartTimeShiftResp'] = _STARTTIMESHIFTRESP 79 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 80 | 81 | StartTimeShift = _reflection.GeneratedProtocolMessageType('StartTimeShift', (_message.Message,), { 82 | 'DESCRIPTOR' : _STARTTIMESHIFT, 83 | '__module__' : 'start_timeshift_pb2' 84 | # @@protoc_insertion_point(class_scope:insta360.messages.StartTimeShift) 85 | }) 86 | _sym_db.RegisterMessage(StartTimeShift) 87 | 88 | StartTimeShiftResp = _reflection.GeneratedProtocolMessageType('StartTimeShiftResp', (_message.Message,), { 89 | 'DESCRIPTOR' : _STARTTIMESHIFTRESP, 90 | '__module__' : 'start_timeshift_pb2' 91 | # @@protoc_insertion_point(class_scope:insta360.messages.StartTimeShiftResp) 92 | }) 93 | _sym_db.RegisterMessage(StartTimeShiftResp) 94 | 95 | 96 | DESCRIPTOR._options = None 97 | # @@protoc_insertion_point(module_scope) 98 | -------------------------------------------------------------------------------- /pb2/stop_bullettime_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: stop_bullettime.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | import video_pb2 as video__pb2 15 | import extra_info_pb2 as extra__info__pb2 16 | try: 17 | offset__state__pb2 = extra__info__pb2.offset__state__pb2 18 | except AttributeError: 19 | offset__state__pb2 = extra__info__pb2.offset_state_pb2 20 | try: 21 | window__crop__info__pb2 = extra__info__pb2.window__crop__info__pb2 22 | except AttributeError: 23 | window__crop__info__pb2 = extra__info__pb2.window_crop_info_pb2 24 | 25 | from video_pb2 import * 26 | from extra_info_pb2 import * 27 | 28 | DESCRIPTOR = _descriptor.FileDescriptor( 29 | name='stop_bullettime.proto', 30 | package='insta360.messages', 31 | syntax='proto3', 32 | serialized_options=b'\242\002\005INSPB', 33 | create_key=_descriptor._internal_create_key, 34 | serialized_pb=b'\n\x15stop_bullettime.proto\x12\x11insta360.messages\x1a\x0bvideo.proto\x1a\x10\x65xtra_info.proto\"J\n\x0eStopBulletTime\x12\x38\n\x0e\x65xtra_metadata\x18\x01 \x01(\x0b\x32 .insta360.messages.ExtraMetadata\"=\n\x12StopBulletTimeResp\x12\'\n\x05video\x18\x01 \x01(\x0b\x32\x18.insta360.messages.VideoB\x08\xa2\x02\x05INSPBP\x00P\x01\x62\x06proto3' 35 | , 36 | dependencies=[video__pb2.DESCRIPTOR,extra__info__pb2.DESCRIPTOR,], 37 | public_dependencies=[video__pb2.DESCRIPTOR,extra__info__pb2.DESCRIPTOR,]) 38 | 39 | 40 | 41 | 42 | _STOPBULLETTIME = _descriptor.Descriptor( 43 | name='StopBulletTime', 44 | full_name='insta360.messages.StopBulletTime', 45 | filename=None, 46 | file=DESCRIPTOR, 47 | containing_type=None, 48 | create_key=_descriptor._internal_create_key, 49 | fields=[ 50 | _descriptor.FieldDescriptor( 51 | name='extra_metadata', full_name='insta360.messages.StopBulletTime.extra_metadata', index=0, 52 | number=1, type=11, cpp_type=10, label=1, 53 | has_default_value=False, default_value=None, 54 | message_type=None, enum_type=None, containing_type=None, 55 | is_extension=False, extension_scope=None, 56 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 57 | ], 58 | extensions=[ 59 | ], 60 | nested_types=[], 61 | enum_types=[ 62 | ], 63 | serialized_options=None, 64 | is_extendable=False, 65 | syntax='proto3', 66 | extension_ranges=[], 67 | oneofs=[ 68 | ], 69 | serialized_start=75, 70 | serialized_end=149, 71 | ) 72 | 73 | 74 | _STOPBULLETTIMERESP = _descriptor.Descriptor( 75 | name='StopBulletTimeResp', 76 | full_name='insta360.messages.StopBulletTimeResp', 77 | filename=None, 78 | file=DESCRIPTOR, 79 | containing_type=None, 80 | create_key=_descriptor._internal_create_key, 81 | fields=[ 82 | _descriptor.FieldDescriptor( 83 | name='video', full_name='insta360.messages.StopBulletTimeResp.video', index=0, 84 | number=1, type=11, cpp_type=10, label=1, 85 | has_default_value=False, default_value=None, 86 | message_type=None, enum_type=None, containing_type=None, 87 | is_extension=False, extension_scope=None, 88 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 89 | ], 90 | extensions=[ 91 | ], 92 | nested_types=[], 93 | enum_types=[ 94 | ], 95 | serialized_options=None, 96 | is_extendable=False, 97 | syntax='proto3', 98 | extension_ranges=[], 99 | oneofs=[ 100 | ], 101 | serialized_start=151, 102 | serialized_end=212, 103 | ) 104 | 105 | _STOPBULLETTIME.fields_by_name['extra_metadata'].message_type = extra__info__pb2._EXTRAMETADATA 106 | _STOPBULLETTIMERESP.fields_by_name['video'].message_type = video__pb2._VIDEO 107 | DESCRIPTOR.message_types_by_name['StopBulletTime'] = _STOPBULLETTIME 108 | DESCRIPTOR.message_types_by_name['StopBulletTimeResp'] = _STOPBULLETTIMERESP 109 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 110 | 111 | StopBulletTime = _reflection.GeneratedProtocolMessageType('StopBulletTime', (_message.Message,), { 112 | 'DESCRIPTOR' : _STOPBULLETTIME, 113 | '__module__' : 'stop_bullettime_pb2' 114 | # @@protoc_insertion_point(class_scope:insta360.messages.StopBulletTime) 115 | }) 116 | _sym_db.RegisterMessage(StopBulletTime) 117 | 118 | StopBulletTimeResp = _reflection.GeneratedProtocolMessageType('StopBulletTimeResp', (_message.Message,), { 119 | 'DESCRIPTOR' : _STOPBULLETTIMERESP, 120 | '__module__' : 'stop_bullettime_pb2' 121 | # @@protoc_insertion_point(class_scope:insta360.messages.StopBulletTimeResp) 122 | }) 123 | _sym_db.RegisterMessage(StopBulletTimeResp) 124 | 125 | 126 | DESCRIPTOR._options = None 127 | # @@protoc_insertion_point(module_scope) 128 | -------------------------------------------------------------------------------- /pb2/stop_hdr_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: stop_hdr.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | import video_pb2 as video__pb2 15 | import extra_info_pb2 as extra__info__pb2 16 | try: 17 | offset__state__pb2 = extra__info__pb2.offset__state__pb2 18 | except AttributeError: 19 | offset__state__pb2 = extra__info__pb2.offset_state_pb2 20 | try: 21 | window__crop__info__pb2 = extra__info__pb2.window__crop__info__pb2 22 | except AttributeError: 23 | window__crop__info__pb2 = extra__info__pb2.window_crop_info_pb2 24 | 25 | from video_pb2 import * 26 | from extra_info_pb2 import * 27 | 28 | DESCRIPTOR = _descriptor.FileDescriptor( 29 | name='stop_hdr.proto', 30 | package='insta360.messages', 31 | syntax='proto3', 32 | serialized_options=b'\242\002\005INSPB', 33 | create_key=_descriptor._internal_create_key, 34 | serialized_pb=b'\n\x0estop_hdr.proto\x12\x11insta360.messages\x1a\x0bvideo.proto\x1a\x10\x65xtra_info.proto\"C\n\x07StopHdr\x12\x38\n\x0e\x65xtra_metadata\x18\x01 \x01(\x0b\x32 .insta360.messages.ExtraMetadata\"6\n\x0bStopHdrResp\x12\'\n\x05video\x18\x01 \x01(\x0b\x32\x18.insta360.messages.VideoB\x08\xa2\x02\x05INSPBP\x00P\x01\x62\x06proto3' 35 | , 36 | dependencies=[video__pb2.DESCRIPTOR,extra__info__pb2.DESCRIPTOR,], 37 | public_dependencies=[video__pb2.DESCRIPTOR,extra__info__pb2.DESCRIPTOR,]) 38 | 39 | 40 | 41 | 42 | _STOPHDR = _descriptor.Descriptor( 43 | name='StopHdr', 44 | full_name='insta360.messages.StopHdr', 45 | filename=None, 46 | file=DESCRIPTOR, 47 | containing_type=None, 48 | create_key=_descriptor._internal_create_key, 49 | fields=[ 50 | _descriptor.FieldDescriptor( 51 | name='extra_metadata', full_name='insta360.messages.StopHdr.extra_metadata', index=0, 52 | number=1, type=11, cpp_type=10, label=1, 53 | has_default_value=False, default_value=None, 54 | message_type=None, enum_type=None, containing_type=None, 55 | is_extension=False, extension_scope=None, 56 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 57 | ], 58 | extensions=[ 59 | ], 60 | nested_types=[], 61 | enum_types=[ 62 | ], 63 | serialized_options=None, 64 | is_extendable=False, 65 | syntax='proto3', 66 | extension_ranges=[], 67 | oneofs=[ 68 | ], 69 | serialized_start=68, 70 | serialized_end=135, 71 | ) 72 | 73 | 74 | _STOPHDRRESP = _descriptor.Descriptor( 75 | name='StopHdrResp', 76 | full_name='insta360.messages.StopHdrResp', 77 | filename=None, 78 | file=DESCRIPTOR, 79 | containing_type=None, 80 | create_key=_descriptor._internal_create_key, 81 | fields=[ 82 | _descriptor.FieldDescriptor( 83 | name='video', full_name='insta360.messages.StopHdrResp.video', index=0, 84 | number=1, type=11, cpp_type=10, label=1, 85 | has_default_value=False, default_value=None, 86 | message_type=None, enum_type=None, containing_type=None, 87 | is_extension=False, extension_scope=None, 88 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 89 | ], 90 | extensions=[ 91 | ], 92 | nested_types=[], 93 | enum_types=[ 94 | ], 95 | serialized_options=None, 96 | is_extendable=False, 97 | syntax='proto3', 98 | extension_ranges=[], 99 | oneofs=[ 100 | ], 101 | serialized_start=137, 102 | serialized_end=191, 103 | ) 104 | 105 | _STOPHDR.fields_by_name['extra_metadata'].message_type = extra__info__pb2._EXTRAMETADATA 106 | _STOPHDRRESP.fields_by_name['video'].message_type = video__pb2._VIDEO 107 | DESCRIPTOR.message_types_by_name['StopHdr'] = _STOPHDR 108 | DESCRIPTOR.message_types_by_name['StopHdrResp'] = _STOPHDRRESP 109 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 110 | 111 | StopHdr = _reflection.GeneratedProtocolMessageType('StopHdr', (_message.Message,), { 112 | 'DESCRIPTOR' : _STOPHDR, 113 | '__module__' : 'stop_hdr_pb2' 114 | # @@protoc_insertion_point(class_scope:insta360.messages.StopHdr) 115 | }) 116 | _sym_db.RegisterMessage(StopHdr) 117 | 118 | StopHdrResp = _reflection.GeneratedProtocolMessageType('StopHdrResp', (_message.Message,), { 119 | 'DESCRIPTOR' : _STOPHDRRESP, 120 | '__module__' : 'stop_hdr_pb2' 121 | # @@protoc_insertion_point(class_scope:insta360.messages.StopHdrResp) 122 | }) 123 | _sym_db.RegisterMessage(StopHdrResp) 124 | 125 | 126 | DESCRIPTOR._options = None 127 | # @@protoc_insertion_point(module_scope) 128 | -------------------------------------------------------------------------------- /pb2/stop_live_stream_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: stop_live_stream.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='stop_live_stream.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x16stop_live_stream.proto\x12\x11insta360.messages\"\x10\n\x0eStopLiveStream\"\x14\n\x12StopLiveStreamRespB\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | 28 | _STOPLIVESTREAM = _descriptor.Descriptor( 29 | name='StopLiveStream', 30 | full_name='insta360.messages.StopLiveStream', 31 | filename=None, 32 | file=DESCRIPTOR, 33 | containing_type=None, 34 | create_key=_descriptor._internal_create_key, 35 | fields=[ 36 | ], 37 | extensions=[ 38 | ], 39 | nested_types=[], 40 | enum_types=[ 41 | ], 42 | serialized_options=None, 43 | is_extendable=False, 44 | syntax='proto3', 45 | extension_ranges=[], 46 | oneofs=[ 47 | ], 48 | serialized_start=45, 49 | serialized_end=61, 50 | ) 51 | 52 | 53 | _STOPLIVESTREAMRESP = _descriptor.Descriptor( 54 | name='StopLiveStreamResp', 55 | full_name='insta360.messages.StopLiveStreamResp', 56 | filename=None, 57 | file=DESCRIPTOR, 58 | containing_type=None, 59 | create_key=_descriptor._internal_create_key, 60 | fields=[ 61 | ], 62 | extensions=[ 63 | ], 64 | nested_types=[], 65 | enum_types=[ 66 | ], 67 | serialized_options=None, 68 | is_extendable=False, 69 | syntax='proto3', 70 | extension_ranges=[], 71 | oneofs=[ 72 | ], 73 | serialized_start=63, 74 | serialized_end=83, 75 | ) 76 | 77 | DESCRIPTOR.message_types_by_name['StopLiveStream'] = _STOPLIVESTREAM 78 | DESCRIPTOR.message_types_by_name['StopLiveStreamResp'] = _STOPLIVESTREAMRESP 79 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 80 | 81 | StopLiveStream = _reflection.GeneratedProtocolMessageType('StopLiveStream', (_message.Message,), { 82 | 'DESCRIPTOR' : _STOPLIVESTREAM, 83 | '__module__' : 'stop_live_stream_pb2' 84 | # @@protoc_insertion_point(class_scope:insta360.messages.StopLiveStream) 85 | }) 86 | _sym_db.RegisterMessage(StopLiveStream) 87 | 88 | StopLiveStreamResp = _reflection.GeneratedProtocolMessageType('StopLiveStreamResp', (_message.Message,), { 89 | 'DESCRIPTOR' : _STOPLIVESTREAMRESP, 90 | '__module__' : 'stop_live_stream_pb2' 91 | # @@protoc_insertion_point(class_scope:insta360.messages.StopLiveStreamResp) 92 | }) 93 | _sym_db.RegisterMessage(StopLiveStreamResp) 94 | 95 | 96 | DESCRIPTOR._options = None 97 | # @@protoc_insertion_point(module_scope) 98 | -------------------------------------------------------------------------------- /pb2/stop_timeshift_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: stop_timeshift.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | import video_pb2 as video__pb2 15 | import extra_info_pb2 as extra__info__pb2 16 | try: 17 | offset__state__pb2 = extra__info__pb2.offset__state__pb2 18 | except AttributeError: 19 | offset__state__pb2 = extra__info__pb2.offset_state_pb2 20 | try: 21 | window__crop__info__pb2 = extra__info__pb2.window__crop__info__pb2 22 | except AttributeError: 23 | window__crop__info__pb2 = extra__info__pb2.window_crop_info_pb2 24 | 25 | from video_pb2 import * 26 | from extra_info_pb2 import * 27 | 28 | DESCRIPTOR = _descriptor.FileDescriptor( 29 | name='stop_timeshift.proto', 30 | package='insta360.messages', 31 | syntax='proto3', 32 | serialized_options=b'\242\002\005INSPB', 33 | create_key=_descriptor._internal_create_key, 34 | serialized_pb=b'\n\x14stop_timeshift.proto\x12\x11insta360.messages\x1a\x0bvideo.proto\x1a\x10\x65xtra_info.proto\"I\n\rStopTimeShift\x12\x38\n\x0e\x65xtra_metadata\x18\x01 \x01(\x0b\x32 .insta360.messages.ExtraMetadata\"<\n\x11StopTimeShiftResp\x12\'\n\x05video\x18\x01 \x01(\x0b\x32\x18.insta360.messages.VideoB\x08\xa2\x02\x05INSPBP\x00P\x01\x62\x06proto3' 35 | , 36 | dependencies=[video__pb2.DESCRIPTOR,extra__info__pb2.DESCRIPTOR,], 37 | public_dependencies=[video__pb2.DESCRIPTOR,extra__info__pb2.DESCRIPTOR,]) 38 | 39 | 40 | 41 | 42 | _STOPTIMESHIFT = _descriptor.Descriptor( 43 | name='StopTimeShift', 44 | full_name='insta360.messages.StopTimeShift', 45 | filename=None, 46 | file=DESCRIPTOR, 47 | containing_type=None, 48 | create_key=_descriptor._internal_create_key, 49 | fields=[ 50 | _descriptor.FieldDescriptor( 51 | name='extra_metadata', full_name='insta360.messages.StopTimeShift.extra_metadata', index=0, 52 | number=1, type=11, cpp_type=10, label=1, 53 | has_default_value=False, default_value=None, 54 | message_type=None, enum_type=None, containing_type=None, 55 | is_extension=False, extension_scope=None, 56 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 57 | ], 58 | extensions=[ 59 | ], 60 | nested_types=[], 61 | enum_types=[ 62 | ], 63 | serialized_options=None, 64 | is_extendable=False, 65 | syntax='proto3', 66 | extension_ranges=[], 67 | oneofs=[ 68 | ], 69 | serialized_start=74, 70 | serialized_end=147, 71 | ) 72 | 73 | 74 | _STOPTIMESHIFTRESP = _descriptor.Descriptor( 75 | name='StopTimeShiftResp', 76 | full_name='insta360.messages.StopTimeShiftResp', 77 | filename=None, 78 | file=DESCRIPTOR, 79 | containing_type=None, 80 | create_key=_descriptor._internal_create_key, 81 | fields=[ 82 | _descriptor.FieldDescriptor( 83 | name='video', full_name='insta360.messages.StopTimeShiftResp.video', index=0, 84 | number=1, type=11, cpp_type=10, label=1, 85 | has_default_value=False, default_value=None, 86 | message_type=None, enum_type=None, containing_type=None, 87 | is_extension=False, extension_scope=None, 88 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 89 | ], 90 | extensions=[ 91 | ], 92 | nested_types=[], 93 | enum_types=[ 94 | ], 95 | serialized_options=None, 96 | is_extendable=False, 97 | syntax='proto3', 98 | extension_ranges=[], 99 | oneofs=[ 100 | ], 101 | serialized_start=149, 102 | serialized_end=209, 103 | ) 104 | 105 | _STOPTIMESHIFT.fields_by_name['extra_metadata'].message_type = extra__info__pb2._EXTRAMETADATA 106 | _STOPTIMESHIFTRESP.fields_by_name['video'].message_type = video__pb2._VIDEO 107 | DESCRIPTOR.message_types_by_name['StopTimeShift'] = _STOPTIMESHIFT 108 | DESCRIPTOR.message_types_by_name['StopTimeShiftResp'] = _STOPTIMESHIFTRESP 109 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 110 | 111 | StopTimeShift = _reflection.GeneratedProtocolMessageType('StopTimeShift', (_message.Message,), { 112 | 'DESCRIPTOR' : _STOPTIMESHIFT, 113 | '__module__' : 'stop_timeshift_pb2' 114 | # @@protoc_insertion_point(class_scope:insta360.messages.StopTimeShift) 115 | }) 116 | _sym_db.RegisterMessage(StopTimeShift) 117 | 118 | StopTimeShiftResp = _reflection.GeneratedProtocolMessageType('StopTimeShiftResp', (_message.Message,), { 119 | 'DESCRIPTOR' : _STOPTIMESHIFTRESP, 120 | '__module__' : 'stop_timeshift_pb2' 121 | # @@protoc_insertion_point(class_scope:insta360.messages.StopTimeShiftResp) 122 | }) 123 | _sym_db.RegisterMessage(StopTimeShiftResp) 124 | 125 | 126 | DESCRIPTOR._options = None 127 | # @@protoc_insertion_point(module_scope) 128 | -------------------------------------------------------------------------------- /pb2/storage_update_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: storage_update.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | import storage_pb2 as storage__pb2 15 | 16 | from storage_pb2 import * 17 | 18 | DESCRIPTOR = _descriptor.FileDescriptor( 19 | name='storage_update.proto', 20 | package='insta360.messages', 21 | syntax='proto3', 22 | serialized_options=b'\242\002\005INSPB', 23 | create_key=_descriptor._internal_create_key, 24 | serialized_pb=b'\n\x14storage_update.proto\x12\x11insta360.messages\x1a\rstorage.proto\"x\n\x16NotificationCardUpdate\x12+\n\x05state\x18\x01 \x01(\x0e\x32\x1c.insta360.messages.CardState\x12\x31\n\x08location\x18\x02 \x01(\x0e\x32\x1f.insta360.messages.CardLocationB\x08\xa2\x02\x05INSPBP\x00\x62\x06proto3' 25 | , 26 | dependencies=[storage__pb2.DESCRIPTOR,], 27 | public_dependencies=[storage__pb2.DESCRIPTOR,]) 28 | 29 | 30 | 31 | 32 | _NOTIFICATIONCARDUPDATE = _descriptor.Descriptor( 33 | name='NotificationCardUpdate', 34 | full_name='insta360.messages.NotificationCardUpdate', 35 | filename=None, 36 | file=DESCRIPTOR, 37 | containing_type=None, 38 | create_key=_descriptor._internal_create_key, 39 | fields=[ 40 | _descriptor.FieldDescriptor( 41 | name='state', full_name='insta360.messages.NotificationCardUpdate.state', index=0, 42 | number=1, type=14, cpp_type=8, label=1, 43 | has_default_value=False, default_value=0, 44 | message_type=None, enum_type=None, containing_type=None, 45 | is_extension=False, extension_scope=None, 46 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 47 | _descriptor.FieldDescriptor( 48 | name='location', full_name='insta360.messages.NotificationCardUpdate.location', index=1, 49 | number=2, type=14, cpp_type=8, label=1, 50 | has_default_value=False, default_value=0, 51 | message_type=None, enum_type=None, containing_type=None, 52 | is_extension=False, extension_scope=None, 53 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 54 | ], 55 | extensions=[ 56 | ], 57 | nested_types=[], 58 | enum_types=[ 59 | ], 60 | serialized_options=None, 61 | is_extendable=False, 62 | syntax='proto3', 63 | extension_ranges=[], 64 | oneofs=[ 65 | ], 66 | serialized_start=58, 67 | serialized_end=178, 68 | ) 69 | 70 | _NOTIFICATIONCARDUPDATE.fields_by_name['state'].enum_type = storage__pb2._CARDSTATE 71 | _NOTIFICATIONCARDUPDATE.fields_by_name['location'].enum_type = storage__pb2._CARDLOCATION 72 | DESCRIPTOR.message_types_by_name['NotificationCardUpdate'] = _NOTIFICATIONCARDUPDATE 73 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 74 | 75 | NotificationCardUpdate = _reflection.GeneratedProtocolMessageType('NotificationCardUpdate', (_message.Message,), { 76 | 'DESCRIPTOR' : _NOTIFICATIONCARDUPDATE, 77 | '__module__' : 'storage_update_pb2' 78 | # @@protoc_insertion_point(class_scope:insta360.messages.NotificationCardUpdate) 79 | }) 80 | _sym_db.RegisterMessage(NotificationCardUpdate) 81 | 82 | 83 | DESCRIPTOR._options = None 84 | # @@protoc_insertion_point(module_scope) 85 | -------------------------------------------------------------------------------- /pb2/sync_capture_mode_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: sync_capture_mode.proto 4 | 5 | from google.protobuf.internal import enum_type_wrapper 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import message as _message 8 | from google.protobuf import reflection as _reflection 9 | from google.protobuf import symbol_database as _symbol_database 10 | # @@protoc_insertion_point(imports) 11 | 12 | _sym_db = _symbol_database.Default() 13 | 14 | 15 | 16 | 17 | DESCRIPTOR = _descriptor.FileDescriptor( 18 | name='sync_capture_mode.proto', 19 | package='insta360.messages', 20 | syntax='proto3', 21 | serialized_options=b'\242\002\005INSPB', 22 | create_key=_descriptor._internal_create_key, 23 | serialized_pb=b'\n\x17sync_capture_mode.proto\x12\x11insta360.messages*\xc8\x02\n\x0fSyncCaptureMode\x12\x15\n\x11SYNC_MODE_UNKNOWN\x10\x00\x12\x1a\n\x16SYNC_MODE_NORMAL_IMAGE\x10\x01\x12\x1a\n\x16SYNC_MODE_NORMAL_VIDEO\x10\x02\x12\x17\n\x13SYNC_MODE_HDR_IMAGE\x10\x03\x12\x17\n\x13SYNC_MODE_HDR_VIDEO\x10\x04\x12\x1c\n\x18SYNC_MODE_INTERVAL_IMAGE\x10\x05\x12\x1d\n\x19SYNC_MODE_TIMELAPSE_VIDEO\x10\x06\x12\x19\n\x15SYNC_MODE_BURST_PHOTO\x10\x07\x12\x1e\n\x1aSYNC_MODE_BULLETTIME_VIDEO\x10\x08\x12\x1d\n\x19SYNC_MODE_TIMESHIFT_VIDEO\x10\t\x12\x1d\n\x19SYNC_MODE_AEB_NIGHT_PHOTO\x10\nB\x08\xa2\x02\x05INSPBb\x06proto3' 24 | ) 25 | 26 | _SYNCCAPTUREMODE = _descriptor.EnumDescriptor( 27 | name='SyncCaptureMode', 28 | full_name='insta360.messages.SyncCaptureMode', 29 | filename=None, 30 | file=DESCRIPTOR, 31 | create_key=_descriptor._internal_create_key, 32 | values=[ 33 | _descriptor.EnumValueDescriptor( 34 | name='SYNC_MODE_UNKNOWN', index=0, number=0, 35 | serialized_options=None, 36 | type=None, 37 | create_key=_descriptor._internal_create_key), 38 | _descriptor.EnumValueDescriptor( 39 | name='SYNC_MODE_NORMAL_IMAGE', index=1, number=1, 40 | serialized_options=None, 41 | type=None, 42 | create_key=_descriptor._internal_create_key), 43 | _descriptor.EnumValueDescriptor( 44 | name='SYNC_MODE_NORMAL_VIDEO', index=2, number=2, 45 | serialized_options=None, 46 | type=None, 47 | create_key=_descriptor._internal_create_key), 48 | _descriptor.EnumValueDescriptor( 49 | name='SYNC_MODE_HDR_IMAGE', index=3, number=3, 50 | serialized_options=None, 51 | type=None, 52 | create_key=_descriptor._internal_create_key), 53 | _descriptor.EnumValueDescriptor( 54 | name='SYNC_MODE_HDR_VIDEO', index=4, number=4, 55 | serialized_options=None, 56 | type=None, 57 | create_key=_descriptor._internal_create_key), 58 | _descriptor.EnumValueDescriptor( 59 | name='SYNC_MODE_INTERVAL_IMAGE', index=5, number=5, 60 | serialized_options=None, 61 | type=None, 62 | create_key=_descriptor._internal_create_key), 63 | _descriptor.EnumValueDescriptor( 64 | name='SYNC_MODE_TIMELAPSE_VIDEO', index=6, number=6, 65 | serialized_options=None, 66 | type=None, 67 | create_key=_descriptor._internal_create_key), 68 | _descriptor.EnumValueDescriptor( 69 | name='SYNC_MODE_BURST_PHOTO', index=7, number=7, 70 | serialized_options=None, 71 | type=None, 72 | create_key=_descriptor._internal_create_key), 73 | _descriptor.EnumValueDescriptor( 74 | name='SYNC_MODE_BULLETTIME_VIDEO', index=8, number=8, 75 | serialized_options=None, 76 | type=None, 77 | create_key=_descriptor._internal_create_key), 78 | _descriptor.EnumValueDescriptor( 79 | name='SYNC_MODE_TIMESHIFT_VIDEO', index=9, number=9, 80 | serialized_options=None, 81 | type=None, 82 | create_key=_descriptor._internal_create_key), 83 | _descriptor.EnumValueDescriptor( 84 | name='SYNC_MODE_AEB_NIGHT_PHOTO', index=10, number=10, 85 | serialized_options=None, 86 | type=None, 87 | create_key=_descriptor._internal_create_key), 88 | ], 89 | containing_type=None, 90 | serialized_options=None, 91 | serialized_start=47, 92 | serialized_end=375, 93 | ) 94 | _sym_db.RegisterEnumDescriptor(_SYNCCAPTUREMODE) 95 | 96 | SyncCaptureMode = enum_type_wrapper.EnumTypeWrapper(_SYNCCAPTUREMODE) 97 | SYNC_MODE_UNKNOWN = 0 98 | SYNC_MODE_NORMAL_IMAGE = 1 99 | SYNC_MODE_NORMAL_VIDEO = 2 100 | SYNC_MODE_HDR_IMAGE = 3 101 | SYNC_MODE_HDR_VIDEO = 4 102 | SYNC_MODE_INTERVAL_IMAGE = 5 103 | SYNC_MODE_TIMELAPSE_VIDEO = 6 104 | SYNC_MODE_BURST_PHOTO = 7 105 | SYNC_MODE_BULLETTIME_VIDEO = 8 106 | SYNC_MODE_TIMESHIFT_VIDEO = 9 107 | SYNC_MODE_AEB_NIGHT_PHOTO = 10 108 | 109 | 110 | DESCRIPTOR.enum_types_by_name['SyncCaptureMode'] = _SYNCCAPTUREMODE 111 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 112 | 113 | 114 | DESCRIPTOR._options = None 115 | # @@protoc_insertion_point(module_scope) 116 | -------------------------------------------------------------------------------- /pb2/sync_capture_mode_update_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: sync_capture_mode_update.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='sync_capture_mode_update.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x1esync_capture_mode_update.proto\x12\x11insta360.messages\"#\n!NotificationSyncCaptureModeUpdateB\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | 28 | _NOTIFICATIONSYNCCAPTUREMODEUPDATE = _descriptor.Descriptor( 29 | name='NotificationSyncCaptureModeUpdate', 30 | full_name='insta360.messages.NotificationSyncCaptureModeUpdate', 31 | filename=None, 32 | file=DESCRIPTOR, 33 | containing_type=None, 34 | create_key=_descriptor._internal_create_key, 35 | fields=[ 36 | ], 37 | extensions=[ 38 | ], 39 | nested_types=[], 40 | enum_types=[ 41 | ], 42 | serialized_options=None, 43 | is_extendable=False, 44 | syntax='proto3', 45 | extension_ranges=[], 46 | oneofs=[ 47 | ], 48 | serialized_start=53, 49 | serialized_end=88, 50 | ) 51 | 52 | DESCRIPTOR.message_types_by_name['NotificationSyncCaptureModeUpdate'] = _NOTIFICATIONSYNCCAPTUREMODEUPDATE 53 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 54 | 55 | NotificationSyncCaptureModeUpdate = _reflection.GeneratedProtocolMessageType('NotificationSyncCaptureModeUpdate', (_message.Message,), { 56 | 'DESCRIPTOR' : _NOTIFICATIONSYNCCAPTUREMODEUPDATE, 57 | '__module__' : 'sync_capture_mode_update_pb2' 58 | # @@protoc_insertion_point(class_scope:insta360.messages.NotificationSyncCaptureModeUpdate) 59 | }) 60 | _sym_db.RegisterMessage(NotificationSyncCaptureModeUpdate) 61 | 62 | 63 | DESCRIPTOR._options = None 64 | # @@protoc_insertion_point(module_scope) 65 | -------------------------------------------------------------------------------- /pb2/take_picture_state_update_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: take_picture_state_update.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='take_picture_state_update.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x1ftake_picture_state_update.proto\x12\x11insta360.messages\"\xba\x01\n\"NotificationTakePictureStateUpdate\x12U\n\x05state\x18\x01 \x01(\x0e\x32\x46.insta360.messages.NotificationTakePictureStateUpdate.TakePictureState\"=\n\x10TakePictureState\x12\x0b\n\x07SHUTTER\x10\x00\x12\x0c\n\x08\x43OMPRESS\x10\x01\x12\x0e\n\nWRITE_FILE\x10\x02\x42\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | _NOTIFICATIONTAKEPICTURESTATEUPDATE_TAKEPICTURESTATE = _descriptor.EnumDescriptor( 28 | name='TakePictureState', 29 | full_name='insta360.messages.NotificationTakePictureStateUpdate.TakePictureState', 30 | filename=None, 31 | file=DESCRIPTOR, 32 | create_key=_descriptor._internal_create_key, 33 | values=[ 34 | _descriptor.EnumValueDescriptor( 35 | name='SHUTTER', index=0, number=0, 36 | serialized_options=None, 37 | type=None, 38 | create_key=_descriptor._internal_create_key), 39 | _descriptor.EnumValueDescriptor( 40 | name='COMPRESS', index=1, number=1, 41 | serialized_options=None, 42 | type=None, 43 | create_key=_descriptor._internal_create_key), 44 | _descriptor.EnumValueDescriptor( 45 | name='WRITE_FILE', index=2, number=2, 46 | serialized_options=None, 47 | type=None, 48 | create_key=_descriptor._internal_create_key), 49 | ], 50 | containing_type=None, 51 | serialized_options=None, 52 | serialized_start=180, 53 | serialized_end=241, 54 | ) 55 | _sym_db.RegisterEnumDescriptor(_NOTIFICATIONTAKEPICTURESTATEUPDATE_TAKEPICTURESTATE) 56 | 57 | 58 | _NOTIFICATIONTAKEPICTURESTATEUPDATE = _descriptor.Descriptor( 59 | name='NotificationTakePictureStateUpdate', 60 | full_name='insta360.messages.NotificationTakePictureStateUpdate', 61 | filename=None, 62 | file=DESCRIPTOR, 63 | containing_type=None, 64 | create_key=_descriptor._internal_create_key, 65 | fields=[ 66 | _descriptor.FieldDescriptor( 67 | name='state', full_name='insta360.messages.NotificationTakePictureStateUpdate.state', index=0, 68 | number=1, type=14, cpp_type=8, label=1, 69 | has_default_value=False, default_value=0, 70 | message_type=None, enum_type=None, containing_type=None, 71 | is_extension=False, extension_scope=None, 72 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 73 | ], 74 | extensions=[ 75 | ], 76 | nested_types=[], 77 | enum_types=[ 78 | _NOTIFICATIONTAKEPICTURESTATEUPDATE_TAKEPICTURESTATE, 79 | ], 80 | serialized_options=None, 81 | is_extendable=False, 82 | syntax='proto3', 83 | extension_ranges=[], 84 | oneofs=[ 85 | ], 86 | serialized_start=55, 87 | serialized_end=241, 88 | ) 89 | 90 | _NOTIFICATIONTAKEPICTURESTATEUPDATE.fields_by_name['state'].enum_type = _NOTIFICATIONTAKEPICTURESTATEUPDATE_TAKEPICTURESTATE 91 | _NOTIFICATIONTAKEPICTURESTATEUPDATE_TAKEPICTURESTATE.containing_type = _NOTIFICATIONTAKEPICTURESTATEUPDATE 92 | DESCRIPTOR.message_types_by_name['NotificationTakePictureStateUpdate'] = _NOTIFICATIONTAKEPICTURESTATEUPDATE 93 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 94 | 95 | NotificationTakePictureStateUpdate = _reflection.GeneratedProtocolMessageType('NotificationTakePictureStateUpdate', (_message.Message,), { 96 | 'DESCRIPTOR' : _NOTIFICATIONTAKEPICTURESTATEUPDATE, 97 | '__module__' : 'take_picture_state_update_pb2' 98 | # @@protoc_insertion_point(class_scope:insta360.messages.NotificationTakePictureStateUpdate) 99 | }) 100 | _sym_db.RegisterMessage(NotificationTakePictureStateUpdate) 101 | 102 | 103 | DESCRIPTOR._options = None 104 | # @@protoc_insertion_point(module_scope) 105 | -------------------------------------------------------------------------------- /pb2/temperature_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: temperature.proto 4 | 5 | from google.protobuf.internal import enum_type_wrapper 6 | from google.protobuf import descriptor as _descriptor 7 | from google.protobuf import message as _message 8 | from google.protobuf import reflection as _reflection 9 | from google.protobuf import symbol_database as _symbol_database 10 | # @@protoc_insertion_point(imports) 11 | 12 | _sym_db = _symbol_database.Default() 13 | 14 | 15 | 16 | 17 | DESCRIPTOR = _descriptor.FileDescriptor( 18 | name='temperature.proto', 19 | package='insta360.messages', 20 | syntax='proto3', 21 | serialized_options=b'\242\002\005INSPB', 22 | create_key=_descriptor._internal_create_key, 23 | serialized_pb=b'\n\x11temperature.proto\x12\x11insta360.messages\"X\n\tTempState\x12\x37\n\ntemp_state\x18\x01 \x01(\x0e\x32#.insta360.messages.TemperatureState\x12\x12\n\ntemp_value\x18\x02 \x01(\x05*P\n\x10TemperatureState\x12\x0c\n\x08TEMP_LOW\x10\x00\x12\x0e\n\nTEMP_ALERT\x10\x01\x12\x0f\n\x0bTEMP_MIDDLE\x10\x02\x12\r\n\tTEMP_HIGH\x10\x03\x42\x08\xa2\x02\x05INSPBb\x06proto3' 24 | ) 25 | 26 | _TEMPERATURESTATE = _descriptor.EnumDescriptor( 27 | name='TemperatureState', 28 | full_name='insta360.messages.TemperatureState', 29 | filename=None, 30 | file=DESCRIPTOR, 31 | create_key=_descriptor._internal_create_key, 32 | values=[ 33 | _descriptor.EnumValueDescriptor( 34 | name='TEMP_LOW', index=0, number=0, 35 | serialized_options=None, 36 | type=None, 37 | create_key=_descriptor._internal_create_key), 38 | _descriptor.EnumValueDescriptor( 39 | name='TEMP_ALERT', index=1, number=1, 40 | serialized_options=None, 41 | type=None, 42 | create_key=_descriptor._internal_create_key), 43 | _descriptor.EnumValueDescriptor( 44 | name='TEMP_MIDDLE', index=2, number=2, 45 | serialized_options=None, 46 | type=None, 47 | create_key=_descriptor._internal_create_key), 48 | _descriptor.EnumValueDescriptor( 49 | name='TEMP_HIGH', index=3, number=3, 50 | serialized_options=None, 51 | type=None, 52 | create_key=_descriptor._internal_create_key), 53 | ], 54 | containing_type=None, 55 | serialized_options=None, 56 | serialized_start=130, 57 | serialized_end=210, 58 | ) 59 | _sym_db.RegisterEnumDescriptor(_TEMPERATURESTATE) 60 | 61 | TemperatureState = enum_type_wrapper.EnumTypeWrapper(_TEMPERATURESTATE) 62 | TEMP_LOW = 0 63 | TEMP_ALERT = 1 64 | TEMP_MIDDLE = 2 65 | TEMP_HIGH = 3 66 | 67 | 68 | 69 | _TEMPSTATE = _descriptor.Descriptor( 70 | name='TempState', 71 | full_name='insta360.messages.TempState', 72 | filename=None, 73 | file=DESCRIPTOR, 74 | containing_type=None, 75 | create_key=_descriptor._internal_create_key, 76 | fields=[ 77 | _descriptor.FieldDescriptor( 78 | name='temp_state', full_name='insta360.messages.TempState.temp_state', index=0, 79 | number=1, type=14, cpp_type=8, label=1, 80 | has_default_value=False, default_value=0, 81 | message_type=None, enum_type=None, containing_type=None, 82 | is_extension=False, extension_scope=None, 83 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 84 | _descriptor.FieldDescriptor( 85 | name='temp_value', full_name='insta360.messages.TempState.temp_value', index=1, 86 | number=2, type=5, cpp_type=1, label=1, 87 | has_default_value=False, default_value=0, 88 | message_type=None, enum_type=None, containing_type=None, 89 | is_extension=False, extension_scope=None, 90 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 91 | ], 92 | extensions=[ 93 | ], 94 | nested_types=[], 95 | enum_types=[ 96 | ], 97 | serialized_options=None, 98 | is_extendable=False, 99 | syntax='proto3', 100 | extension_ranges=[], 101 | oneofs=[ 102 | ], 103 | serialized_start=40, 104 | serialized_end=128, 105 | ) 106 | 107 | _TEMPSTATE.fields_by_name['temp_state'].enum_type = _TEMPERATURESTATE 108 | DESCRIPTOR.message_types_by_name['TempState'] = _TEMPSTATE 109 | DESCRIPTOR.enum_types_by_name['TemperatureState'] = _TEMPERATURESTATE 110 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 111 | 112 | TempState = _reflection.GeneratedProtocolMessageType('TempState', (_message.Message,), { 113 | 'DESCRIPTOR' : _TEMPSTATE, 114 | '__module__' : 'temperature_pb2' 115 | # @@protoc_insertion_point(class_scope:insta360.messages.TempState) 116 | }) 117 | _sym_db.RegisterMessage(TempState) 118 | 119 | 120 | DESCRIPTOR._options = None 121 | # @@protoc_insertion_point(module_scope) 122 | -------------------------------------------------------------------------------- /pb2/timelapse_status_update_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: timelapse_status_update.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='timelapse_status_update.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x1dtimelapse_status_update.proto\x12\x11insta360.messages\";\n!NotificationTimeLapseStatusUpdate\x12\x16\n\x0einterval_count\x18\x01 \x01(\rB\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | 28 | _NOTIFICATIONTIMELAPSESTATUSUPDATE = _descriptor.Descriptor( 29 | name='NotificationTimeLapseStatusUpdate', 30 | full_name='insta360.messages.NotificationTimeLapseStatusUpdate', 31 | filename=None, 32 | file=DESCRIPTOR, 33 | containing_type=None, 34 | create_key=_descriptor._internal_create_key, 35 | fields=[ 36 | _descriptor.FieldDescriptor( 37 | name='interval_count', full_name='insta360.messages.NotificationTimeLapseStatusUpdate.interval_count', index=0, 38 | number=1, type=13, cpp_type=3, label=1, 39 | has_default_value=False, default_value=0, 40 | message_type=None, enum_type=None, containing_type=None, 41 | is_extension=False, extension_scope=None, 42 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 43 | ], 44 | extensions=[ 45 | ], 46 | nested_types=[], 47 | enum_types=[ 48 | ], 49 | serialized_options=None, 50 | is_extendable=False, 51 | syntax='proto3', 52 | extension_ranges=[], 53 | oneofs=[ 54 | ], 55 | serialized_start=52, 56 | serialized_end=111, 57 | ) 58 | 59 | DESCRIPTOR.message_types_by_name['NotificationTimeLapseStatusUpdate'] = _NOTIFICATIONTIMELAPSESTATUSUPDATE 60 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 61 | 62 | NotificationTimeLapseStatusUpdate = _reflection.GeneratedProtocolMessageType('NotificationTimeLapseStatusUpdate', (_message.Message,), { 63 | 'DESCRIPTOR' : _NOTIFICATIONTIMELAPSESTATUSUPDATE, 64 | '__module__' : 'timelapse_status_update_pb2' 65 | # @@protoc_insertion_point(class_scope:insta360.messages.NotificationTimeLapseStatusUpdate) 66 | }) 67 | _sym_db.RegisterMessage(NotificationTimeLapseStatusUpdate) 68 | 69 | 70 | DESCRIPTOR._options = None 71 | # @@protoc_insertion_point(module_scope) 72 | -------------------------------------------------------------------------------- /pb2/upload_gps_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: upload_gps.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='upload_gps.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x10upload_gps.proto\x12\x11insta360.messages\"\x18\n\tUploadGps\x12\x0b\n\x03gps\x18\x01 \x01(\x0c\"\x0f\n\rUploadGpsRespB\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | 28 | _UPLOADGPS = _descriptor.Descriptor( 29 | name='UploadGps', 30 | full_name='insta360.messages.UploadGps', 31 | filename=None, 32 | file=DESCRIPTOR, 33 | containing_type=None, 34 | create_key=_descriptor._internal_create_key, 35 | fields=[ 36 | _descriptor.FieldDescriptor( 37 | name='gps', full_name='insta360.messages.UploadGps.gps', index=0, 38 | number=1, type=12, cpp_type=9, label=1, 39 | has_default_value=False, default_value=b"", 40 | message_type=None, enum_type=None, containing_type=None, 41 | is_extension=False, extension_scope=None, 42 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 43 | ], 44 | extensions=[ 45 | ], 46 | nested_types=[], 47 | enum_types=[ 48 | ], 49 | serialized_options=None, 50 | is_extendable=False, 51 | syntax='proto3', 52 | extension_ranges=[], 53 | oneofs=[ 54 | ], 55 | serialized_start=39, 56 | serialized_end=63, 57 | ) 58 | 59 | 60 | _UPLOADGPSRESP = _descriptor.Descriptor( 61 | name='UploadGpsResp', 62 | full_name='insta360.messages.UploadGpsResp', 63 | filename=None, 64 | file=DESCRIPTOR, 65 | containing_type=None, 66 | create_key=_descriptor._internal_create_key, 67 | fields=[ 68 | ], 69 | extensions=[ 70 | ], 71 | nested_types=[], 72 | enum_types=[ 73 | ], 74 | serialized_options=None, 75 | is_extendable=False, 76 | syntax='proto3', 77 | extension_ranges=[], 78 | oneofs=[ 79 | ], 80 | serialized_start=65, 81 | serialized_end=80, 82 | ) 83 | 84 | DESCRIPTOR.message_types_by_name['UploadGps'] = _UPLOADGPS 85 | DESCRIPTOR.message_types_by_name['UploadGpsResp'] = _UPLOADGPSRESP 86 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 87 | 88 | UploadGps = _reflection.GeneratedProtocolMessageType('UploadGps', (_message.Message,), { 89 | 'DESCRIPTOR' : _UPLOADGPS, 90 | '__module__' : 'upload_gps_pb2' 91 | # @@protoc_insertion_point(class_scope:insta360.messages.UploadGps) 92 | }) 93 | _sym_db.RegisterMessage(UploadGps) 94 | 95 | UploadGpsResp = _reflection.GeneratedProtocolMessageType('UploadGpsResp', (_message.Message,), { 96 | 'DESCRIPTOR' : _UPLOADGPSRESP, 97 | '__module__' : 'upload_gps_pb2' 98 | # @@protoc_insertion_point(class_scope:insta360.messages.UploadGpsResp) 99 | }) 100 | _sym_db.RegisterMessage(UploadGpsResp) 101 | 102 | 103 | DESCRIPTOR._options = None 104 | # @@protoc_insertion_point(module_scope) 105 | -------------------------------------------------------------------------------- /pb2/wifi_connection_info_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: wifi_connection_info.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='wifi_connection_info.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x1awifi_connection_info.proto\x12\x11insta360.messages\"T\n\x12WifiConnectionInfo\x12\x0c\n\x04ssid\x18\x01 \x01(\t\x12\r\n\x05\x62ssid\x18\x02 \x01(\t\x12\x10\n\x08password\x18\x03 \x01(\t\x12\x0f\n\x07ip_addr\x18\x04 \x01(\tB\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | 28 | _WIFICONNECTIONINFO = _descriptor.Descriptor( 29 | name='WifiConnectionInfo', 30 | full_name='insta360.messages.WifiConnectionInfo', 31 | filename=None, 32 | file=DESCRIPTOR, 33 | containing_type=None, 34 | create_key=_descriptor._internal_create_key, 35 | fields=[ 36 | _descriptor.FieldDescriptor( 37 | name='ssid', full_name='insta360.messages.WifiConnectionInfo.ssid', index=0, 38 | number=1, type=9, cpp_type=9, label=1, 39 | has_default_value=False, default_value=b"".decode('utf-8'), 40 | message_type=None, enum_type=None, containing_type=None, 41 | is_extension=False, extension_scope=None, 42 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 43 | _descriptor.FieldDescriptor( 44 | name='bssid', full_name='insta360.messages.WifiConnectionInfo.bssid', index=1, 45 | number=2, type=9, cpp_type=9, label=1, 46 | has_default_value=False, default_value=b"".decode('utf-8'), 47 | message_type=None, enum_type=None, containing_type=None, 48 | is_extension=False, extension_scope=None, 49 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 50 | _descriptor.FieldDescriptor( 51 | name='password', full_name='insta360.messages.WifiConnectionInfo.password', index=2, 52 | number=3, type=9, cpp_type=9, label=1, 53 | has_default_value=False, default_value=b"".decode('utf-8'), 54 | message_type=None, enum_type=None, containing_type=None, 55 | is_extension=False, extension_scope=None, 56 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 57 | _descriptor.FieldDescriptor( 58 | name='ip_addr', full_name='insta360.messages.WifiConnectionInfo.ip_addr', index=3, 59 | number=4, type=9, cpp_type=9, label=1, 60 | has_default_value=False, default_value=b"".decode('utf-8'), 61 | message_type=None, enum_type=None, containing_type=None, 62 | is_extension=False, extension_scope=None, 63 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 64 | ], 65 | extensions=[ 66 | ], 67 | nested_types=[], 68 | enum_types=[ 69 | ], 70 | serialized_options=None, 71 | is_extendable=False, 72 | syntax='proto3', 73 | extension_ranges=[], 74 | oneofs=[ 75 | ], 76 | serialized_start=49, 77 | serialized_end=133, 78 | ) 79 | 80 | DESCRIPTOR.message_types_by_name['WifiConnectionInfo'] = _WIFICONNECTIONINFO 81 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 82 | 83 | WifiConnectionInfo = _reflection.GeneratedProtocolMessageType('WifiConnectionInfo', (_message.Message,), { 84 | 'DESCRIPTOR' : _WIFICONNECTIONINFO, 85 | '__module__' : 'wifi_connection_info_pb2' 86 | # @@protoc_insertion_point(class_scope:insta360.messages.WifiConnectionInfo) 87 | }) 88 | _sym_db.RegisterMessage(WifiConnectionInfo) 89 | 90 | 91 | DESCRIPTOR._options = None 92 | # @@protoc_insertion_point(module_scope) 93 | -------------------------------------------------------------------------------- /pb2/window_crop_info_pb2.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! 3 | # source: window_crop_info.proto 4 | 5 | from google.protobuf import descriptor as _descriptor 6 | from google.protobuf import message as _message 7 | from google.protobuf import reflection as _reflection 8 | from google.protobuf import symbol_database as _symbol_database 9 | # @@protoc_insertion_point(imports) 10 | 11 | _sym_db = _symbol_database.Default() 12 | 13 | 14 | 15 | 16 | DESCRIPTOR = _descriptor.FileDescriptor( 17 | name='window_crop_info.proto', 18 | package='insta360.messages', 19 | syntax='proto3', 20 | serialized_options=b'\242\002\005INSPB', 21 | create_key=_descriptor._internal_create_key, 22 | serialized_pb=b'\n\x16window_crop_info.proto\x12\x11insta360.messages\"\x8c\x01\n\x0eWindowCropInfo\x12\x11\n\tsrc_width\x18\x01 \x01(\r\x12\x12\n\nsrc_height\x18\x02 \x01(\r\x12\x11\n\tdst_width\x18\x03 \x01(\r\x12\x12\n\ndst_height\x18\x04 \x01(\r\x12\x15\n\rcrop_offset_x\x18\x05 \x01(\x05\x12\x15\n\rcrop_offset_y\x18\x06 \x01(\x05\x42\x08\xa2\x02\x05INSPBb\x06proto3' 23 | ) 24 | 25 | 26 | 27 | 28 | _WINDOWCROPINFO = _descriptor.Descriptor( 29 | name='WindowCropInfo', 30 | full_name='insta360.messages.WindowCropInfo', 31 | filename=None, 32 | file=DESCRIPTOR, 33 | containing_type=None, 34 | create_key=_descriptor._internal_create_key, 35 | fields=[ 36 | _descriptor.FieldDescriptor( 37 | name='src_width', full_name='insta360.messages.WindowCropInfo.src_width', index=0, 38 | number=1, type=13, cpp_type=3, label=1, 39 | has_default_value=False, default_value=0, 40 | message_type=None, enum_type=None, containing_type=None, 41 | is_extension=False, extension_scope=None, 42 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 43 | _descriptor.FieldDescriptor( 44 | name='src_height', full_name='insta360.messages.WindowCropInfo.src_height', index=1, 45 | number=2, type=13, cpp_type=3, label=1, 46 | has_default_value=False, default_value=0, 47 | message_type=None, enum_type=None, containing_type=None, 48 | is_extension=False, extension_scope=None, 49 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 50 | _descriptor.FieldDescriptor( 51 | name='dst_width', full_name='insta360.messages.WindowCropInfo.dst_width', index=2, 52 | number=3, type=13, cpp_type=3, label=1, 53 | has_default_value=False, default_value=0, 54 | message_type=None, enum_type=None, containing_type=None, 55 | is_extension=False, extension_scope=None, 56 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 57 | _descriptor.FieldDescriptor( 58 | name='dst_height', full_name='insta360.messages.WindowCropInfo.dst_height', index=3, 59 | number=4, type=13, cpp_type=3, label=1, 60 | has_default_value=False, default_value=0, 61 | message_type=None, enum_type=None, containing_type=None, 62 | is_extension=False, extension_scope=None, 63 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 64 | _descriptor.FieldDescriptor( 65 | name='crop_offset_x', full_name='insta360.messages.WindowCropInfo.crop_offset_x', index=4, 66 | number=5, type=5, cpp_type=1, label=1, 67 | has_default_value=False, default_value=0, 68 | message_type=None, enum_type=None, containing_type=None, 69 | is_extension=False, extension_scope=None, 70 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 71 | _descriptor.FieldDescriptor( 72 | name='crop_offset_y', full_name='insta360.messages.WindowCropInfo.crop_offset_y', index=5, 73 | number=6, type=5, cpp_type=1, label=1, 74 | has_default_value=False, default_value=0, 75 | message_type=None, enum_type=None, containing_type=None, 76 | is_extension=False, extension_scope=None, 77 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 78 | ], 79 | extensions=[ 80 | ], 81 | nested_types=[], 82 | enum_types=[ 83 | ], 84 | serialized_options=None, 85 | is_extendable=False, 86 | syntax='proto3', 87 | extension_ranges=[], 88 | oneofs=[ 89 | ], 90 | serialized_start=46, 91 | serialized_end=186, 92 | ) 93 | 94 | DESCRIPTOR.message_types_by_name['WindowCropInfo'] = _WINDOWCROPINFO 95 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) 96 | 97 | WindowCropInfo = _reflection.GeneratedProtocolMessageType('WindowCropInfo', (_message.Message,), { 98 | 'DESCRIPTOR' : _WINDOWCROPINFO, 99 | '__module__' : 'window_crop_info_pb2' 100 | # @@protoc_insertion_point(class_scope:insta360.messages.WindowCropInfo) 101 | }) 102 | _sym_db.RegisterMessage(WindowCropInfo) 103 | 104 | 105 | DESCRIPTOR._options = None 106 | # @@protoc_insertion_point(module_scope) 107 | -------------------------------------------------------------------------------- /utils/extract-proto-and-compile: -------------------------------------------------------------------------------- 1 | #!/bin/sh -e 2 | 3 | # Extract the Insta360 Proto Buffer files (*.proto) from the library 4 | # libOne.so contained into the Android app. 5 | # 6 | # The protobuf definition files are required to talk to Insta360 7 | # cameras over the WiFi API. 8 | # 9 | # Requirements: google.protobuf Python library and protoc compiler. 10 | # 11 | # The from_binary.py script and the utils/* modules were downloaded 12 | # from https://github.com/marin-m/pbtk 13 | 14 | if [ ! -f "libOne.so" ]; then 15 | echo "ERROR: File libOne.so not found." 16 | echo "Download the Android app from https://www.insta360.com/it/download" 17 | echo "The file is inside the apk (zip) file: lib/arm64-v8a/libOne.so" 18 | exit 1 19 | fi 20 | 21 | # Extract the .proto source files from the compiled executables. 22 | # The from_binary.py Python script requires the google.protobuf Python library. 23 | test -d proto || mkdir proto 24 | cd proto 25 | ../from_binary.py ../libOne.so 26 | cd .. 27 | echo "Proto files were extracted into the proto directory." 28 | 29 | # Compile the *.proto source files into Python classes. 30 | # Requires the protoc compiler from the protobuf-compiler Debian package. 31 | test -d pb2 || mkdir pb2 32 | protoc --proto_path='proto/' --python_out='pb2/' proto/*.proto 33 | echo "Python files were compiled into the pb2 directory." 34 | -------------------------------------------------------------------------------- /utils/from_binary.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python3 2 | # -*- coding: utf-8 -*- 3 | from google.protobuf.descriptor_pb2 import FileDescriptorProto 4 | from google.protobuf.internal.decoder import _DecodeVarint 5 | 6 | from os.path import dirname, realpath 7 | __import__('sys').path.append(dirname(realpath(__file__)) + '/..') 8 | from utils.common import register_extractor, extractor_main 9 | from utils.descpb_to_proto import descpb_to_proto 10 | 11 | """ 12 | This script extracts Protobufs metadata embedded into an executable 13 | (i.e a compiled C++ program, a JNI from an Android application). 14 | 15 | Metadata embedding is done at [1], serializing the [2] structure. 16 | 17 | Another implementation of this exists at [3] but it scans the file 18 | in an undesirable way (bruteforcing the length of messages rather 19 | than calculating it, also failing part of time). 20 | 21 | [1] https://github.com/google/protobuf/blob/15a15/src/google/protobuf/compiler/cpp/cpp_file.cc#L693 22 | [2] https://github.com/google/protobuf/blob/bb77c/src/google/protobuf/descriptor.proto#L59 23 | [3] https://github.com/sysdream/Protod/blob/master/protod 24 | 25 | Usage: ./from_binary.py [] 26 | """ 27 | 28 | @register_extractor(name = 'from_binary', 29 | desc = 'Extract Protobuf metadata from binary file (*.dll, *.so...)') 30 | def walk_binary(binr): 31 | if type(binr) == str: 32 | try: 33 | with open(binr, 'rb') as fd: 34 | binr = fd.read() 35 | except Exception: 36 | return 37 | 38 | # Search for: 39 | # ".proto" or ".protodevel", as part of the "name" (1) field 40 | cursor = 0 41 | while cursor < len(binr): 42 | cursor = binr.find(b'.proto', cursor) 43 | 44 | if cursor == -1: 45 | break 46 | cursor += len('.proto') 47 | cursor += (binr[cursor:cursor + 5] == b'devel') * 5 48 | 49 | # Search back for the (1, length-delimited) marker 50 | start = binr.rfind(b'\x0a', max(cursor - 1024, 0), cursor) 51 | 52 | if start > 0 and binr[start - 1] == 0x0a == (cursor - start - 1): 53 | start -= 1 54 | 55 | # Check whether length byte is coherent 56 | if start == -1: 57 | continue 58 | varint, end = _DecodeVarint(binr, start + 1) 59 | if cursor - end != varint: 60 | continue 61 | 62 | # Look just after for subsequent markers 63 | tags = b'\x12\x1a\x22\x2a\x32\x3a\x42\x4a\x50\x58\x62' 64 | if binr[cursor] not in tags: 65 | continue 66 | 67 | while cursor < len(binr) and binr[cursor] in tags: 68 | tags = tags[tags.index(binr[cursor]):] 69 | 70 | varint, end = _DecodeVarint(binr, cursor + 1) 71 | cursor = end + varint * (binr[cursor] & 0b111 == 2) 72 | 73 | # Parse descriptor 74 | proto = FileDescriptorProto() 75 | proto.ParseFromString(binr[start:cursor]) 76 | 77 | # Convert to ascii 78 | yield descpb_to_proto(proto) 79 | 80 | if __name__ == '__main__': 81 | extractor_main('from_binary') 82 | --------------------------------------------------------------------------------