@blueyerobotics/protocol-definitions 3.2.0-0f78a956 → 3.2.0-10007c3e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +165 -0
- package/README.npm.md +40 -0
- package/dist/aquatroll.js +1 -1
- package/dist/control.d.ts +6 -2
- package/dist/control.js +40 -9
- package/dist/google/protobuf/any.js +1 -1
- package/dist/google/protobuf/duration.js +1 -1
- package/dist/google/protobuf/timestamp.js +1 -1
- package/dist/index.blueye.js +1 -1
- package/dist/index.blueye.protocol.js +1 -1
- package/dist/index.google.js +1 -1
- package/dist/index.google.protobuf.js +1 -1
- package/dist/index.js +1 -1
- package/dist/message_formats.d.ts +164 -12
- package/dist/message_formats.js +847 -17
- package/dist/mission_planning.js +1 -1
- package/dist/req_rep.d.ts +22 -0
- package/dist/req_rep.js +192 -2
- package/dist/telemetry.d.ts +33 -1
- package/dist/telemetry.js +286 -6
- package/package.json +8 -6
package/dist/message_formats.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: message_formats.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = exports.GuestPortCurrent = exports.MultibeamServo = exports.GenericServo = exports.CpProbe = exports.ThicknessGauge = exports.GuestPortRestartInfo = void 0;
|
|
8
|
+
exports.AutoPilotHeaveState = exports.AutoPilotSurgeYawState = exports.WeatherVaningState = exports.StationKeepingState = exports.AutoAltitudeState = exports.AutoDepthState = exports.AutoHeadingState = exports.ConnectionDuration = exports.LatLongPosition = exports.Laser = exports.Lights = exports.MotionInput = exports.KernelLogEntry_KeyValuePair = exports.KernelLogEntry = exports.LogEntry = exports.BinlogRecord = exports.SurfaceUnitBatteryInfo_ChargeStatus = exports.MultibeamConfig_MaximumNumberOfBeams = exports.MultibeamConfig_PingRate = exports.CalibrationState_Status = exports.RemovableStorageDevice_Status = exports.BatteryBQ40Z50_BatteryStatus_BatteryError = exports.PingerConfiguration_MountingDirection = exports.KernelLogEntry_KernelLogLevel = exports.LogEntry_LogLevel = exports.MultibeamFrequencyMode = exports.GuestPortError = exports.GuestPortDetachStatus = exports.NavigationSensorID = exports.GuestPortNumber = exports.GuestPortDeviceID = exports.FontSize = exports.ThicknessUnit = exports.DepthUnit = exports.LogoType = exports.TemperatureUnit = exports.StreamingProtocol = exports.Camera = exports.Framerate = exports.Resolution = exports.PressureSensorType = exports.Model = exports.StorageLocation = exports.NotificationLevel = exports.NotificationType = exports.ResetCoordinateSource = exports.HeadingMode = exports.HeadingSource = exports.LocationSource = exports.IntervalType = void 0;
|
|
9
|
+
exports.CameraParameters = exports.ErrorFlags = exports.DroneInfo = exports.TiltVelocity = exports.TiltAngle = exports.NStreamers = exports.IperfStatus = exports.CalibrationState = exports.RemovableStorageErrorFlags = exports.RemovableStorageDevice = exports.StoragePartition = exports.StorageSpace = exports.RecordOn = exports.DiveTime = exports.ControllerHealth = exports.ControlForce = exports.Notification = exports.Reference = exports.Depth = exports.DvlVelocity = exports.DvlTransducer = exports.ResetPositionSettings = exports.PositionEstimate = exports.ForwardDistance = exports.Altitude = exports.MagneticDeclination = exports.Attitude = exports.BatteryBQ40Z50_BatteryChargingEvents = exports.BatteryBQ40Z50_BatterySafetyEvents = exports.BatteryBQ40Z50_BatteryLifetimes_CellVoltages = exports.BatteryBQ40Z50_BatteryLifetimes = exports.BatteryBQ40Z50_BatteryStatus = exports.BatteryBQ40Z50_Temperature = exports.BatteryBQ40Z50_Voltage = exports.BatteryBQ40Z50 = exports.Battery = exports.CanisterHumidity = exports.CanisterTemperature = exports.CPUTemperature = exports.WaterTemperature = exports.PingerConfiguration = exports.WaterDensity = exports.TimeLapseState = exports.RecordState = exports.ConnectedClient = exports.ClientInfo = exports.GripperVelocities = exports.SystemTime = exports.TiltStabilizationState = exports.ControlMode = void 0;
|
|
10
|
+
exports.SurfaceUnitVersionInfo = exports.SurfaceUnitBatteryInfo = exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = exports.GuestPortCurrent = exports.MultibeamServo = exports.GenericServo = exports.CpProbe = exports.ThicknessGauge = exports.GuestPortRestartInfo = exports.GuestPortInfo = exports.GuestPortConnectorInfo = exports.GuestPortDeviceList = exports.GuestPortDevice = exports.NavigationSensorStatus = exports.OverlayParameters = void 0;
|
|
11
11
|
exports.intervalTypeFromJSON = intervalTypeFromJSON;
|
|
12
12
|
exports.intervalTypeToJSON = intervalTypeToJSON;
|
|
13
13
|
exports.locationSourceFromJSON = locationSourceFromJSON;
|
|
@@ -22,6 +22,8 @@ exports.notificationTypeFromJSON = notificationTypeFromJSON;
|
|
|
22
22
|
exports.notificationTypeToJSON = notificationTypeToJSON;
|
|
23
23
|
exports.notificationLevelFromJSON = notificationLevelFromJSON;
|
|
24
24
|
exports.notificationLevelToJSON = notificationLevelToJSON;
|
|
25
|
+
exports.storageLocationFromJSON = storageLocationFromJSON;
|
|
26
|
+
exports.storageLocationToJSON = storageLocationToJSON;
|
|
25
27
|
exports.modelFromJSON = modelFromJSON;
|
|
26
28
|
exports.modelToJSON = modelToJSON;
|
|
27
29
|
exports.pressureSensorTypeFromJSON = pressureSensorTypeFromJSON;
|
|
@@ -32,6 +34,8 @@ exports.framerateFromJSON = framerateFromJSON;
|
|
|
32
34
|
exports.framerateToJSON = framerateToJSON;
|
|
33
35
|
exports.cameraFromJSON = cameraFromJSON;
|
|
34
36
|
exports.cameraToJSON = cameraToJSON;
|
|
37
|
+
exports.streamingProtocolFromJSON = streamingProtocolFromJSON;
|
|
38
|
+
exports.streamingProtocolToJSON = streamingProtocolToJSON;
|
|
35
39
|
exports.temperatureUnitFromJSON = temperatureUnitFromJSON;
|
|
36
40
|
exports.temperatureUnitToJSON = temperatureUnitToJSON;
|
|
37
41
|
exports.logoTypeFromJSON = logoTypeFromJSON;
|
|
@@ -56,6 +60,8 @@ exports.multibeamFrequencyModeFromJSON = multibeamFrequencyModeFromJSON;
|
|
|
56
60
|
exports.multibeamFrequencyModeToJSON = multibeamFrequencyModeToJSON;
|
|
57
61
|
exports.logEntry_LogLevelFromJSON = logEntry_LogLevelFromJSON;
|
|
58
62
|
exports.logEntry_LogLevelToJSON = logEntry_LogLevelToJSON;
|
|
63
|
+
exports.kernelLogEntry_KernelLogLevelFromJSON = kernelLogEntry_KernelLogLevelFromJSON;
|
|
64
|
+
exports.kernelLogEntry_KernelLogLevelToJSON = kernelLogEntry_KernelLogLevelToJSON;
|
|
59
65
|
exports.pingerConfiguration_MountingDirectionFromJSON = pingerConfiguration_MountingDirectionFromJSON;
|
|
60
66
|
exports.pingerConfiguration_MountingDirectionToJSON = pingerConfiguration_MountingDirectionToJSON;
|
|
61
67
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON;
|
|
@@ -68,6 +74,8 @@ exports.multibeamConfig_PingRateFromJSON = multibeamConfig_PingRateFromJSON;
|
|
|
68
74
|
exports.multibeamConfig_PingRateToJSON = multibeamConfig_PingRateToJSON;
|
|
69
75
|
exports.multibeamConfig_MaximumNumberOfBeamsFromJSON = multibeamConfig_MaximumNumberOfBeamsFromJSON;
|
|
70
76
|
exports.multibeamConfig_MaximumNumberOfBeamsToJSON = multibeamConfig_MaximumNumberOfBeamsToJSON;
|
|
77
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusFromJSON = surfaceUnitBatteryInfo_ChargeStatusFromJSON;
|
|
78
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusToJSON = surfaceUnitBatteryInfo_ChargeStatusToJSON;
|
|
71
79
|
/* eslint-disable */
|
|
72
80
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
73
81
|
const any_1 = require("./google/protobuf/any");
|
|
@@ -589,6 +597,51 @@ function notificationLevelToJSON(object) {
|
|
|
589
597
|
return "UNRECOGNIZED";
|
|
590
598
|
}
|
|
591
599
|
}
|
|
600
|
+
/**
|
|
601
|
+
* Storage location.
|
|
602
|
+
*
|
|
603
|
+
* Used to specify which storage location to use for recording photos and videos.
|
|
604
|
+
*/
|
|
605
|
+
var StorageLocation;
|
|
606
|
+
(function (StorageLocation) {
|
|
607
|
+
/** STORAGE_LOCATION_UNSPECIFIED - Unspecified. */
|
|
608
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_UNSPECIFIED"] = 0] = "STORAGE_LOCATION_UNSPECIFIED";
|
|
609
|
+
/** STORAGE_LOCATION_INTERNAL - Internal storage of the drone. */
|
|
610
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_INTERNAL"] = 1] = "STORAGE_LOCATION_INTERNAL";
|
|
611
|
+
/** STORAGE_LOCATION_REMOVABLE - Removable storage device. */
|
|
612
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_REMOVABLE"] = 2] = "STORAGE_LOCATION_REMOVABLE";
|
|
613
|
+
StorageLocation[StorageLocation["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
614
|
+
})(StorageLocation || (exports.StorageLocation = StorageLocation = {}));
|
|
615
|
+
function storageLocationFromJSON(object) {
|
|
616
|
+
switch (object) {
|
|
617
|
+
case 0:
|
|
618
|
+
case "STORAGE_LOCATION_UNSPECIFIED":
|
|
619
|
+
return StorageLocation.STORAGE_LOCATION_UNSPECIFIED;
|
|
620
|
+
case 1:
|
|
621
|
+
case "STORAGE_LOCATION_INTERNAL":
|
|
622
|
+
return StorageLocation.STORAGE_LOCATION_INTERNAL;
|
|
623
|
+
case 2:
|
|
624
|
+
case "STORAGE_LOCATION_REMOVABLE":
|
|
625
|
+
return StorageLocation.STORAGE_LOCATION_REMOVABLE;
|
|
626
|
+
case -1:
|
|
627
|
+
case "UNRECOGNIZED":
|
|
628
|
+
default:
|
|
629
|
+
return StorageLocation.UNRECOGNIZED;
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
function storageLocationToJSON(object) {
|
|
633
|
+
switch (object) {
|
|
634
|
+
case StorageLocation.STORAGE_LOCATION_UNSPECIFIED:
|
|
635
|
+
return "STORAGE_LOCATION_UNSPECIFIED";
|
|
636
|
+
case StorageLocation.STORAGE_LOCATION_INTERNAL:
|
|
637
|
+
return "STORAGE_LOCATION_INTERNAL";
|
|
638
|
+
case StorageLocation.STORAGE_LOCATION_REMOVABLE:
|
|
639
|
+
return "STORAGE_LOCATION_REMOVABLE";
|
|
640
|
+
case StorageLocation.UNRECOGNIZED:
|
|
641
|
+
default:
|
|
642
|
+
return "UNRECOGNIZED";
|
|
643
|
+
}
|
|
644
|
+
}
|
|
592
645
|
/** Drone models produced by Blueye. */
|
|
593
646
|
var Model;
|
|
594
647
|
(function (Model) {
|
|
@@ -718,11 +771,13 @@ var Resolution;
|
|
|
718
771
|
(function (Resolution) {
|
|
719
772
|
/** RESOLUTION_UNSPECIFIED - Resolution not specified. */
|
|
720
773
|
Resolution[Resolution["RESOLUTION_UNSPECIFIED"] = 0] = "RESOLUTION_UNSPECIFIED";
|
|
721
|
-
/**
|
|
722
|
-
Resolution[Resolution["
|
|
723
|
-
/** RESOLUTION_HD_720P - 720p HD
|
|
774
|
+
/** RESOLUTION_VGA_480P - VGA (640x480). */
|
|
775
|
+
Resolution[Resolution["RESOLUTION_VGA_480P"] = 4] = "RESOLUTION_VGA_480P";
|
|
776
|
+
/** RESOLUTION_HD_720P - 720p HD (1280x720). */
|
|
724
777
|
Resolution[Resolution["RESOLUTION_HD_720P"] = 2] = "RESOLUTION_HD_720P";
|
|
725
|
-
/**
|
|
778
|
+
/** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
|
|
779
|
+
Resolution[Resolution["RESOLUTION_FULLHD_1080P"] = 1] = "RESOLUTION_FULLHD_1080P";
|
|
780
|
+
/** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160, Only supported on X3 Ultra). */
|
|
726
781
|
Resolution[Resolution["RESOLUTION_UHD_4K"] = 3] = "RESOLUTION_UHD_4K";
|
|
727
782
|
Resolution[Resolution["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
728
783
|
})(Resolution || (exports.Resolution = Resolution = {}));
|
|
@@ -731,12 +786,15 @@ function resolutionFromJSON(object) {
|
|
|
731
786
|
case 0:
|
|
732
787
|
case "RESOLUTION_UNSPECIFIED":
|
|
733
788
|
return Resolution.RESOLUTION_UNSPECIFIED;
|
|
734
|
-
case
|
|
735
|
-
case "
|
|
736
|
-
return Resolution.
|
|
789
|
+
case 4:
|
|
790
|
+
case "RESOLUTION_VGA_480P":
|
|
791
|
+
return Resolution.RESOLUTION_VGA_480P;
|
|
737
792
|
case 2:
|
|
738
793
|
case "RESOLUTION_HD_720P":
|
|
739
794
|
return Resolution.RESOLUTION_HD_720P;
|
|
795
|
+
case 1:
|
|
796
|
+
case "RESOLUTION_FULLHD_1080P":
|
|
797
|
+
return Resolution.RESOLUTION_FULLHD_1080P;
|
|
740
798
|
case 3:
|
|
741
799
|
case "RESOLUTION_UHD_4K":
|
|
742
800
|
return Resolution.RESOLUTION_UHD_4K;
|
|
@@ -750,10 +808,12 @@ function resolutionToJSON(object) {
|
|
|
750
808
|
switch (object) {
|
|
751
809
|
case Resolution.RESOLUTION_UNSPECIFIED:
|
|
752
810
|
return "RESOLUTION_UNSPECIFIED";
|
|
753
|
-
case Resolution.
|
|
754
|
-
return "
|
|
811
|
+
case Resolution.RESOLUTION_VGA_480P:
|
|
812
|
+
return "RESOLUTION_VGA_480P";
|
|
755
813
|
case Resolution.RESOLUTION_HD_720P:
|
|
756
814
|
return "RESOLUTION_HD_720P";
|
|
815
|
+
case Resolution.RESOLUTION_FULLHD_1080P:
|
|
816
|
+
return "RESOLUTION_FULLHD_1080P";
|
|
757
817
|
case Resolution.RESOLUTION_UHD_4K:
|
|
758
818
|
return "RESOLUTION_UHD_4K";
|
|
759
819
|
case Resolution.UNRECOGNIZED:
|
|
@@ -768,7 +828,7 @@ var Framerate;
|
|
|
768
828
|
Framerate[Framerate["FRAMERATE_UNSPECIFIED"] = 0] = "FRAMERATE_UNSPECIFIED";
|
|
769
829
|
/** FRAMERATE_FPS_30 - 30 frames per second. */
|
|
770
830
|
Framerate[Framerate["FRAMERATE_FPS_30"] = 1] = "FRAMERATE_FPS_30";
|
|
771
|
-
/** FRAMERATE_FPS_25 - 25 frames per second. */
|
|
831
|
+
/** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
|
|
772
832
|
Framerate[Framerate["FRAMERATE_FPS_25"] = 2] = "FRAMERATE_FPS_25";
|
|
773
833
|
Framerate[Framerate["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
774
834
|
})(Framerate || (exports.Framerate = Framerate = {}));
|
|
@@ -843,6 +903,46 @@ function cameraToJSON(object) {
|
|
|
843
903
|
return "UNRECOGNIZED";
|
|
844
904
|
}
|
|
845
905
|
}
|
|
906
|
+
var StreamingProtocol;
|
|
907
|
+
(function (StreamingProtocol) {
|
|
908
|
+
/** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
|
|
909
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_UNSPECIFIED"] = 0] = "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
910
|
+
/** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
|
|
911
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_H264"] = 1] = "STREAMING_PROTOCOL_RTSP_H264";
|
|
912
|
+
/** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. No recording when activated. */
|
|
913
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_MJPEG"] = 2] = "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
914
|
+
StreamingProtocol[StreamingProtocol["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
915
|
+
})(StreamingProtocol || (exports.StreamingProtocol = StreamingProtocol = {}));
|
|
916
|
+
function streamingProtocolFromJSON(object) {
|
|
917
|
+
switch (object) {
|
|
918
|
+
case 0:
|
|
919
|
+
case "STREAMING_PROTOCOL_UNSPECIFIED":
|
|
920
|
+
return StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED;
|
|
921
|
+
case 1:
|
|
922
|
+
case "STREAMING_PROTOCOL_RTSP_H264":
|
|
923
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264;
|
|
924
|
+
case 2:
|
|
925
|
+
case "STREAMING_PROTOCOL_RTSP_MJPEG":
|
|
926
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG;
|
|
927
|
+
case -1:
|
|
928
|
+
case "UNRECOGNIZED":
|
|
929
|
+
default:
|
|
930
|
+
return StreamingProtocol.UNRECOGNIZED;
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
function streamingProtocolToJSON(object) {
|
|
934
|
+
switch (object) {
|
|
935
|
+
case StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED:
|
|
936
|
+
return "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
937
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264:
|
|
938
|
+
return "STREAMING_PROTOCOL_RTSP_H264";
|
|
939
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG:
|
|
940
|
+
return "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
941
|
+
case StreamingProtocol.UNRECOGNIZED:
|
|
942
|
+
default:
|
|
943
|
+
return "UNRECOGNIZED";
|
|
944
|
+
}
|
|
945
|
+
}
|
|
846
946
|
/** Available temperature units. */
|
|
847
947
|
var TemperatureUnit;
|
|
848
948
|
(function (TemperatureUnit) {
|
|
@@ -1176,6 +1276,12 @@ var GuestPortDeviceID;
|
|
|
1176
1276
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15"] = 43] = "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1177
1277
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
1178
1278
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650"] = 44] = "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1279
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage. */
|
|
1280
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE"] = 45] = "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1281
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2 - Blueye Multibeam Skid Servo V2. */
|
|
1282
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2"] = 46] = "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2";
|
|
1283
|
+
/** GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT - Cerulean Omniscan 450 Compact. */
|
|
1284
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT"] = 47] = "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT";
|
|
1179
1285
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1180
1286
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1181
1287
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1315,6 +1421,15 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1315
1421
|
case 44:
|
|
1316
1422
|
case "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650":
|
|
1317
1423
|
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650;
|
|
1424
|
+
case 45:
|
|
1425
|
+
case "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE":
|
|
1426
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE;
|
|
1427
|
+
case 46:
|
|
1428
|
+
case "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2":
|
|
1429
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2;
|
|
1430
|
+
case 47:
|
|
1431
|
+
case "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT":
|
|
1432
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT;
|
|
1318
1433
|
case -1:
|
|
1319
1434
|
case "UNRECOGNIZED":
|
|
1320
1435
|
default:
|
|
@@ -1413,6 +1528,12 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1413
1528
|
return "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1414
1529
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650:
|
|
1415
1530
|
return "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1531
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE:
|
|
1532
|
+
return "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1533
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2:
|
|
1534
|
+
return "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2";
|
|
1535
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT:
|
|
1536
|
+
return "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT";
|
|
1416
1537
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1417
1538
|
default:
|
|
1418
1539
|
return "UNRECOGNIZED";
|
|
@@ -1757,6 +1878,89 @@ function logEntry_LogLevelToJSON(object) {
|
|
|
1757
1878
|
return "UNRECOGNIZED";
|
|
1758
1879
|
}
|
|
1759
1880
|
}
|
|
1881
|
+
/** Kernel log level. */
|
|
1882
|
+
var KernelLogEntry_KernelLogLevel;
|
|
1883
|
+
(function (KernelLogEntry_KernelLogLevel) {
|
|
1884
|
+
/** KERNEL_LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
1885
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_UNSPECIFIED"] = 0] = "KERNEL_LOG_LEVEL_UNSPECIFIED";
|
|
1886
|
+
/** KERNEL_LOG_LEVEL_EMERG - Emergency log level. */
|
|
1887
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_EMERG"] = 1] = "KERNEL_LOG_LEVEL_EMERG";
|
|
1888
|
+
/** KERNEL_LOG_LEVEL_ALERT - Alert log level. */
|
|
1889
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_ALERT"] = 2] = "KERNEL_LOG_LEVEL_ALERT";
|
|
1890
|
+
/** KERNEL_LOG_LEVEL_CRIT - Critical log level. */
|
|
1891
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_CRIT"] = 3] = "KERNEL_LOG_LEVEL_CRIT";
|
|
1892
|
+
/** KERNEL_LOG_LEVEL_ERR - Error log level. */
|
|
1893
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_ERR"] = 4] = "KERNEL_LOG_LEVEL_ERR";
|
|
1894
|
+
/** KERNEL_LOG_LEVEL_WARNING - Warning log level. */
|
|
1895
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_WARNING"] = 5] = "KERNEL_LOG_LEVEL_WARNING";
|
|
1896
|
+
/** KERNEL_LOG_LEVEL_NOTICE - Notice log level. */
|
|
1897
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_NOTICE"] = 6] = "KERNEL_LOG_LEVEL_NOTICE";
|
|
1898
|
+
/** KERNEL_LOG_LEVEL_INFO - Informational log level. */
|
|
1899
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_INFO"] = 7] = "KERNEL_LOG_LEVEL_INFO";
|
|
1900
|
+
/** KERNEL_LOG_LEVEL_DEBUG - Debug log level. */
|
|
1901
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_DEBUG"] = 8] = "KERNEL_LOG_LEVEL_DEBUG";
|
|
1902
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1903
|
+
})(KernelLogEntry_KernelLogLevel || (exports.KernelLogEntry_KernelLogLevel = KernelLogEntry_KernelLogLevel = {}));
|
|
1904
|
+
function kernelLogEntry_KernelLogLevelFromJSON(object) {
|
|
1905
|
+
switch (object) {
|
|
1906
|
+
case 0:
|
|
1907
|
+
case "KERNEL_LOG_LEVEL_UNSPECIFIED":
|
|
1908
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_UNSPECIFIED;
|
|
1909
|
+
case 1:
|
|
1910
|
+
case "KERNEL_LOG_LEVEL_EMERG":
|
|
1911
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_EMERG;
|
|
1912
|
+
case 2:
|
|
1913
|
+
case "KERNEL_LOG_LEVEL_ALERT":
|
|
1914
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ALERT;
|
|
1915
|
+
case 3:
|
|
1916
|
+
case "KERNEL_LOG_LEVEL_CRIT":
|
|
1917
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_CRIT;
|
|
1918
|
+
case 4:
|
|
1919
|
+
case "KERNEL_LOG_LEVEL_ERR":
|
|
1920
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ERR;
|
|
1921
|
+
case 5:
|
|
1922
|
+
case "KERNEL_LOG_LEVEL_WARNING":
|
|
1923
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_WARNING;
|
|
1924
|
+
case 6:
|
|
1925
|
+
case "KERNEL_LOG_LEVEL_NOTICE":
|
|
1926
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_NOTICE;
|
|
1927
|
+
case 7:
|
|
1928
|
+
case "KERNEL_LOG_LEVEL_INFO":
|
|
1929
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_INFO;
|
|
1930
|
+
case 8:
|
|
1931
|
+
case "KERNEL_LOG_LEVEL_DEBUG":
|
|
1932
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_DEBUG;
|
|
1933
|
+
case -1:
|
|
1934
|
+
case "UNRECOGNIZED":
|
|
1935
|
+
default:
|
|
1936
|
+
return KernelLogEntry_KernelLogLevel.UNRECOGNIZED;
|
|
1937
|
+
}
|
|
1938
|
+
}
|
|
1939
|
+
function kernelLogEntry_KernelLogLevelToJSON(object) {
|
|
1940
|
+
switch (object) {
|
|
1941
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_UNSPECIFIED:
|
|
1942
|
+
return "KERNEL_LOG_LEVEL_UNSPECIFIED";
|
|
1943
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_EMERG:
|
|
1944
|
+
return "KERNEL_LOG_LEVEL_EMERG";
|
|
1945
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ALERT:
|
|
1946
|
+
return "KERNEL_LOG_LEVEL_ALERT";
|
|
1947
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_CRIT:
|
|
1948
|
+
return "KERNEL_LOG_LEVEL_CRIT";
|
|
1949
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ERR:
|
|
1950
|
+
return "KERNEL_LOG_LEVEL_ERR";
|
|
1951
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_WARNING:
|
|
1952
|
+
return "KERNEL_LOG_LEVEL_WARNING";
|
|
1953
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_NOTICE:
|
|
1954
|
+
return "KERNEL_LOG_LEVEL_NOTICE";
|
|
1955
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_INFO:
|
|
1956
|
+
return "KERNEL_LOG_LEVEL_INFO";
|
|
1957
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_DEBUG:
|
|
1958
|
+
return "KERNEL_LOG_LEVEL_DEBUG";
|
|
1959
|
+
case KernelLogEntry_KernelLogLevel.UNRECOGNIZED:
|
|
1960
|
+
default:
|
|
1961
|
+
return "UNRECOGNIZED";
|
|
1962
|
+
}
|
|
1963
|
+
}
|
|
1760
1964
|
var PingerConfiguration_MountingDirection;
|
|
1761
1965
|
(function (PingerConfiguration_MountingDirection) {
|
|
1762
1966
|
/** MOUNTING_DIRECTION_UNSPECIFIED - Mounting direction is unspecified. */
|
|
@@ -1878,10 +2082,12 @@ var RemovableStorageDevice_Status;
|
|
|
1878
2082
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_UNSPECIFIED"] = 0] = "STATUS_UNSPECIFIED";
|
|
1879
2083
|
/** STATUS_READY - The storage device is valid and ready for use. */
|
|
1880
2084
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_READY"] = 1] = "STATUS_READY";
|
|
1881
|
-
/** STATUS_FORMATTING - The storage device is being formatted */
|
|
2085
|
+
/** STATUS_FORMATTING - The storage device is being formatted. */
|
|
1882
2086
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_FORMATTING"] = 2] = "STATUS_FORMATTING";
|
|
1883
2087
|
/** STATUS_ERROR - The storage device is in an error state. */
|
|
1884
2088
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_ERROR"] = 3] = "STATUS_ERROR";
|
|
2089
|
+
/** STATUS_UNPLUGGED - The storage device is not present. */
|
|
2090
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_UNPLUGGED"] = 4] = "STATUS_UNPLUGGED";
|
|
1885
2091
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1886
2092
|
})(RemovableStorageDevice_Status || (exports.RemovableStorageDevice_Status = RemovableStorageDevice_Status = {}));
|
|
1887
2093
|
function removableStorageDevice_StatusFromJSON(object) {
|
|
@@ -1898,6 +2104,9 @@ function removableStorageDevice_StatusFromJSON(object) {
|
|
|
1898
2104
|
case 3:
|
|
1899
2105
|
case "STATUS_ERROR":
|
|
1900
2106
|
return RemovableStorageDevice_Status.STATUS_ERROR;
|
|
2107
|
+
case 4:
|
|
2108
|
+
case "STATUS_UNPLUGGED":
|
|
2109
|
+
return RemovableStorageDevice_Status.STATUS_UNPLUGGED;
|
|
1901
2110
|
case -1:
|
|
1902
2111
|
case "UNRECOGNIZED":
|
|
1903
2112
|
default:
|
|
@@ -1914,6 +2123,8 @@ function removableStorageDevice_StatusToJSON(object) {
|
|
|
1914
2123
|
return "STATUS_FORMATTING";
|
|
1915
2124
|
case RemovableStorageDevice_Status.STATUS_ERROR:
|
|
1916
2125
|
return "STATUS_ERROR";
|
|
2126
|
+
case RemovableStorageDevice_Status.STATUS_UNPLUGGED:
|
|
2127
|
+
return "STATUS_UNPLUGGED";
|
|
1917
2128
|
case RemovableStorageDevice_Status.UNRECOGNIZED:
|
|
1918
2129
|
default:
|
|
1919
2130
|
return "UNRECOGNIZED";
|
|
@@ -2135,6 +2346,49 @@ function multibeamConfig_MaximumNumberOfBeamsToJSON(object) {
|
|
|
2135
2346
|
return "UNRECOGNIZED";
|
|
2136
2347
|
}
|
|
2137
2348
|
}
|
|
2349
|
+
var SurfaceUnitBatteryInfo_ChargeStatus;
|
|
2350
|
+
(function (SurfaceUnitBatteryInfo_ChargeStatus) {
|
|
2351
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_UNSPECIFIED"] = 0] = "CHARGE_STATUS_UNSPECIFIED";
|
|
2352
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_DISCHARGE"] = 1] = "CHARGE_STATUS_DISCHARGE";
|
|
2353
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE"] = 2] = "CHARGE_STATUS_CHARGE";
|
|
2354
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE_ERROR"] = 3] = "CHARGE_STATUS_CHARGE_ERROR";
|
|
2355
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2356
|
+
})(SurfaceUnitBatteryInfo_ChargeStatus || (exports.SurfaceUnitBatteryInfo_ChargeStatus = SurfaceUnitBatteryInfo_ChargeStatus = {}));
|
|
2357
|
+
function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object) {
|
|
2358
|
+
switch (object) {
|
|
2359
|
+
case 0:
|
|
2360
|
+
case "CHARGE_STATUS_UNSPECIFIED":
|
|
2361
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED;
|
|
2362
|
+
case 1:
|
|
2363
|
+
case "CHARGE_STATUS_DISCHARGE":
|
|
2364
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE;
|
|
2365
|
+
case 2:
|
|
2366
|
+
case "CHARGE_STATUS_CHARGE":
|
|
2367
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE;
|
|
2368
|
+
case 3:
|
|
2369
|
+
case "CHARGE_STATUS_CHARGE_ERROR":
|
|
2370
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR;
|
|
2371
|
+
case -1:
|
|
2372
|
+
case "UNRECOGNIZED":
|
|
2373
|
+
default:
|
|
2374
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED;
|
|
2375
|
+
}
|
|
2376
|
+
}
|
|
2377
|
+
function surfaceUnitBatteryInfo_ChargeStatusToJSON(object) {
|
|
2378
|
+
switch (object) {
|
|
2379
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED:
|
|
2380
|
+
return "CHARGE_STATUS_UNSPECIFIED";
|
|
2381
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE:
|
|
2382
|
+
return "CHARGE_STATUS_DISCHARGE";
|
|
2383
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE:
|
|
2384
|
+
return "CHARGE_STATUS_CHARGE";
|
|
2385
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR:
|
|
2386
|
+
return "CHARGE_STATUS_CHARGE_ERROR";
|
|
2387
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED:
|
|
2388
|
+
default:
|
|
2389
|
+
return "UNRECOGNIZED";
|
|
2390
|
+
}
|
|
2391
|
+
}
|
|
2138
2392
|
function createBaseBinlogRecord() {
|
|
2139
2393
|
return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
|
|
2140
2394
|
}
|
|
@@ -2363,6 +2617,189 @@ exports.LogEntry = {
|
|
|
2363
2617
|
return message;
|
|
2364
2618
|
},
|
|
2365
2619
|
};
|
|
2620
|
+
function createBaseKernelLogEntry() {
|
|
2621
|
+
return { level: 0, seqnum: 0, timestamp: undefined, messages: [], fields: [] };
|
|
2622
|
+
}
|
|
2623
|
+
exports.KernelLogEntry = {
|
|
2624
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2625
|
+
if (message.level !== 0) {
|
|
2626
|
+
writer.uint32(8).int32(message.level);
|
|
2627
|
+
}
|
|
2628
|
+
if (message.seqnum !== 0) {
|
|
2629
|
+
writer.uint32(16).uint32(message.seqnum);
|
|
2630
|
+
}
|
|
2631
|
+
if (message.timestamp !== undefined) {
|
|
2632
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(26).fork()).join();
|
|
2633
|
+
}
|
|
2634
|
+
for (const v of message.messages) {
|
|
2635
|
+
writer.uint32(34).string(v);
|
|
2636
|
+
}
|
|
2637
|
+
for (const v of message.fields) {
|
|
2638
|
+
exports.KernelLogEntry_KeyValuePair.encode(v, writer.uint32(42).fork()).join();
|
|
2639
|
+
}
|
|
2640
|
+
return writer;
|
|
2641
|
+
},
|
|
2642
|
+
decode(input, length) {
|
|
2643
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2644
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2645
|
+
const message = createBaseKernelLogEntry();
|
|
2646
|
+
while (reader.pos < end) {
|
|
2647
|
+
const tag = reader.uint32();
|
|
2648
|
+
switch (tag >>> 3) {
|
|
2649
|
+
case 1: {
|
|
2650
|
+
if (tag !== 8) {
|
|
2651
|
+
break;
|
|
2652
|
+
}
|
|
2653
|
+
message.level = reader.int32();
|
|
2654
|
+
continue;
|
|
2655
|
+
}
|
|
2656
|
+
case 2: {
|
|
2657
|
+
if (tag !== 16) {
|
|
2658
|
+
break;
|
|
2659
|
+
}
|
|
2660
|
+
message.seqnum = reader.uint32();
|
|
2661
|
+
continue;
|
|
2662
|
+
}
|
|
2663
|
+
case 3: {
|
|
2664
|
+
if (tag !== 26) {
|
|
2665
|
+
break;
|
|
2666
|
+
}
|
|
2667
|
+
message.timestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
2668
|
+
continue;
|
|
2669
|
+
}
|
|
2670
|
+
case 4: {
|
|
2671
|
+
if (tag !== 34) {
|
|
2672
|
+
break;
|
|
2673
|
+
}
|
|
2674
|
+
message.messages.push(reader.string());
|
|
2675
|
+
continue;
|
|
2676
|
+
}
|
|
2677
|
+
case 5: {
|
|
2678
|
+
if (tag !== 42) {
|
|
2679
|
+
break;
|
|
2680
|
+
}
|
|
2681
|
+
message.fields.push(exports.KernelLogEntry_KeyValuePair.decode(reader, reader.uint32()));
|
|
2682
|
+
continue;
|
|
2683
|
+
}
|
|
2684
|
+
}
|
|
2685
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2686
|
+
break;
|
|
2687
|
+
}
|
|
2688
|
+
reader.skip(tag & 7);
|
|
2689
|
+
}
|
|
2690
|
+
return message;
|
|
2691
|
+
},
|
|
2692
|
+
fromJSON(object) {
|
|
2693
|
+
return {
|
|
2694
|
+
level: isSet(object.level) ? kernelLogEntry_KernelLogLevelFromJSON(object.level) : 0,
|
|
2695
|
+
seqnum: isSet(object.seqnum) ? gt.Number(object.seqnum) : 0,
|
|
2696
|
+
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
|
2697
|
+
messages: gt.Array.isArray(object?.messages) ? object.messages.map((e) => gt.String(e)) : [],
|
|
2698
|
+
fields: gt.Array.isArray(object?.fields)
|
|
2699
|
+
? object.fields.map((e) => exports.KernelLogEntry_KeyValuePair.fromJSON(e))
|
|
2700
|
+
: [],
|
|
2701
|
+
};
|
|
2702
|
+
},
|
|
2703
|
+
toJSON(message) {
|
|
2704
|
+
const obj = {};
|
|
2705
|
+
if (message.level !== 0) {
|
|
2706
|
+
obj.level = kernelLogEntry_KernelLogLevelToJSON(message.level);
|
|
2707
|
+
}
|
|
2708
|
+
if (message.seqnum !== 0) {
|
|
2709
|
+
obj.seqnum = Math.round(message.seqnum);
|
|
2710
|
+
}
|
|
2711
|
+
if (message.timestamp !== undefined) {
|
|
2712
|
+
obj.timestamp = message.timestamp.toISOString();
|
|
2713
|
+
}
|
|
2714
|
+
if (message.messages?.length) {
|
|
2715
|
+
obj.messages = message.messages;
|
|
2716
|
+
}
|
|
2717
|
+
if (message.fields?.length) {
|
|
2718
|
+
obj.fields = message.fields.map((e) => exports.KernelLogEntry_KeyValuePair.toJSON(e));
|
|
2719
|
+
}
|
|
2720
|
+
return obj;
|
|
2721
|
+
},
|
|
2722
|
+
create(base) {
|
|
2723
|
+
return exports.KernelLogEntry.fromPartial(base ?? {});
|
|
2724
|
+
},
|
|
2725
|
+
fromPartial(object) {
|
|
2726
|
+
const message = createBaseKernelLogEntry();
|
|
2727
|
+
message.level = object.level ?? 0;
|
|
2728
|
+
message.seqnum = object.seqnum ?? 0;
|
|
2729
|
+
message.timestamp = object.timestamp ?? undefined;
|
|
2730
|
+
message.messages = object.messages?.map((e) => e) || [];
|
|
2731
|
+
message.fields = object.fields?.map((e) => exports.KernelLogEntry_KeyValuePair.fromPartial(e)) || [];
|
|
2732
|
+
return message;
|
|
2733
|
+
},
|
|
2734
|
+
};
|
|
2735
|
+
function createBaseKernelLogEntry_KeyValuePair() {
|
|
2736
|
+
return { key: "", value: "" };
|
|
2737
|
+
}
|
|
2738
|
+
exports.KernelLogEntry_KeyValuePair = {
|
|
2739
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2740
|
+
if (message.key !== "") {
|
|
2741
|
+
writer.uint32(10).string(message.key);
|
|
2742
|
+
}
|
|
2743
|
+
if (message.value !== "") {
|
|
2744
|
+
writer.uint32(18).string(message.value);
|
|
2745
|
+
}
|
|
2746
|
+
return writer;
|
|
2747
|
+
},
|
|
2748
|
+
decode(input, length) {
|
|
2749
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2750
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2751
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
2752
|
+
while (reader.pos < end) {
|
|
2753
|
+
const tag = reader.uint32();
|
|
2754
|
+
switch (tag >>> 3) {
|
|
2755
|
+
case 1: {
|
|
2756
|
+
if (tag !== 10) {
|
|
2757
|
+
break;
|
|
2758
|
+
}
|
|
2759
|
+
message.key = reader.string();
|
|
2760
|
+
continue;
|
|
2761
|
+
}
|
|
2762
|
+
case 2: {
|
|
2763
|
+
if (tag !== 18) {
|
|
2764
|
+
break;
|
|
2765
|
+
}
|
|
2766
|
+
message.value = reader.string();
|
|
2767
|
+
continue;
|
|
2768
|
+
}
|
|
2769
|
+
}
|
|
2770
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2771
|
+
break;
|
|
2772
|
+
}
|
|
2773
|
+
reader.skip(tag & 7);
|
|
2774
|
+
}
|
|
2775
|
+
return message;
|
|
2776
|
+
},
|
|
2777
|
+
fromJSON(object) {
|
|
2778
|
+
return {
|
|
2779
|
+
key: isSet(object.key) ? gt.String(object.key) : "",
|
|
2780
|
+
value: isSet(object.value) ? gt.String(object.value) : "",
|
|
2781
|
+
};
|
|
2782
|
+
},
|
|
2783
|
+
toJSON(message) {
|
|
2784
|
+
const obj = {};
|
|
2785
|
+
if (message.key !== "") {
|
|
2786
|
+
obj.key = message.key;
|
|
2787
|
+
}
|
|
2788
|
+
if (message.value !== "") {
|
|
2789
|
+
obj.value = message.value;
|
|
2790
|
+
}
|
|
2791
|
+
return obj;
|
|
2792
|
+
},
|
|
2793
|
+
create(base) {
|
|
2794
|
+
return exports.KernelLogEntry_KeyValuePair.fromPartial(base ?? {});
|
|
2795
|
+
},
|
|
2796
|
+
fromPartial(object) {
|
|
2797
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
2798
|
+
message.key = object.key ?? "";
|
|
2799
|
+
message.value = object.value ?? "";
|
|
2800
|
+
return message;
|
|
2801
|
+
},
|
|
2802
|
+
};
|
|
2366
2803
|
function createBaseMotionInput() {
|
|
2367
2804
|
return { surge: 0, sway: 0, heave: 0, roll: 0, pitch: 0, yaw: 0, slow: 0, boost: 0 };
|
|
2368
2805
|
}
|
|
@@ -3644,6 +4081,9 @@ function createBaseRecordState() {
|
|
|
3644
4081
|
multibeamIsRecording: false,
|
|
3645
4082
|
multibeamSeconds: 0,
|
|
3646
4083
|
multibeamFps: 0,
|
|
4084
|
+
mainStorageLocation: 0,
|
|
4085
|
+
guestportStorageLocation: 0,
|
|
4086
|
+
multibeamStorageLocation: 0,
|
|
3647
4087
|
};
|
|
3648
4088
|
}
|
|
3649
4089
|
exports.RecordState = {
|
|
@@ -3675,6 +4115,15 @@ exports.RecordState = {
|
|
|
3675
4115
|
if (message.multibeamFps !== 0) {
|
|
3676
4116
|
writer.uint32(77).float(message.multibeamFps);
|
|
3677
4117
|
}
|
|
4118
|
+
if (message.mainStorageLocation !== 0) {
|
|
4119
|
+
writer.uint32(80).int32(message.mainStorageLocation);
|
|
4120
|
+
}
|
|
4121
|
+
if (message.guestportStorageLocation !== 0) {
|
|
4122
|
+
writer.uint32(88).int32(message.guestportStorageLocation);
|
|
4123
|
+
}
|
|
4124
|
+
if (message.multibeamStorageLocation !== 0) {
|
|
4125
|
+
writer.uint32(96).int32(message.multibeamStorageLocation);
|
|
4126
|
+
}
|
|
3678
4127
|
return writer;
|
|
3679
4128
|
},
|
|
3680
4129
|
decode(input, length) {
|
|
@@ -3747,6 +4196,27 @@ exports.RecordState = {
|
|
|
3747
4196
|
message.multibeamFps = reader.float();
|
|
3748
4197
|
continue;
|
|
3749
4198
|
}
|
|
4199
|
+
case 10: {
|
|
4200
|
+
if (tag !== 80) {
|
|
4201
|
+
break;
|
|
4202
|
+
}
|
|
4203
|
+
message.mainStorageLocation = reader.int32();
|
|
4204
|
+
continue;
|
|
4205
|
+
}
|
|
4206
|
+
case 11: {
|
|
4207
|
+
if (tag !== 88) {
|
|
4208
|
+
break;
|
|
4209
|
+
}
|
|
4210
|
+
message.guestportStorageLocation = reader.int32();
|
|
4211
|
+
continue;
|
|
4212
|
+
}
|
|
4213
|
+
case 12: {
|
|
4214
|
+
if (tag !== 96) {
|
|
4215
|
+
break;
|
|
4216
|
+
}
|
|
4217
|
+
message.multibeamStorageLocation = reader.int32();
|
|
4218
|
+
continue;
|
|
4219
|
+
}
|
|
3750
4220
|
}
|
|
3751
4221
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3752
4222
|
break;
|
|
@@ -3766,6 +4236,13 @@ exports.RecordState = {
|
|
|
3766
4236
|
multibeamIsRecording: isSet(object.multibeamIsRecording) ? gt.Boolean(object.multibeamIsRecording) : false,
|
|
3767
4237
|
multibeamSeconds: isSet(object.multibeamSeconds) ? gt.Number(object.multibeamSeconds) : 0,
|
|
3768
4238
|
multibeamFps: isSet(object.multibeamFps) ? gt.Number(object.multibeamFps) : 0,
|
|
4239
|
+
mainStorageLocation: isSet(object.mainStorageLocation) ? storageLocationFromJSON(object.mainStorageLocation) : 0,
|
|
4240
|
+
guestportStorageLocation: isSet(object.guestportStorageLocation)
|
|
4241
|
+
? storageLocationFromJSON(object.guestportStorageLocation)
|
|
4242
|
+
: 0,
|
|
4243
|
+
multibeamStorageLocation: isSet(object.multibeamStorageLocation)
|
|
4244
|
+
? storageLocationFromJSON(object.multibeamStorageLocation)
|
|
4245
|
+
: 0,
|
|
3769
4246
|
};
|
|
3770
4247
|
},
|
|
3771
4248
|
toJSON(message) {
|
|
@@ -3797,6 +4274,15 @@ exports.RecordState = {
|
|
|
3797
4274
|
if (message.multibeamFps !== 0) {
|
|
3798
4275
|
obj.multibeamFps = message.multibeamFps;
|
|
3799
4276
|
}
|
|
4277
|
+
if (message.mainStorageLocation !== 0) {
|
|
4278
|
+
obj.mainStorageLocation = storageLocationToJSON(message.mainStorageLocation);
|
|
4279
|
+
}
|
|
4280
|
+
if (message.guestportStorageLocation !== 0) {
|
|
4281
|
+
obj.guestportStorageLocation = storageLocationToJSON(message.guestportStorageLocation);
|
|
4282
|
+
}
|
|
4283
|
+
if (message.multibeamStorageLocation !== 0) {
|
|
4284
|
+
obj.multibeamStorageLocation = storageLocationToJSON(message.multibeamStorageLocation);
|
|
4285
|
+
}
|
|
3800
4286
|
return obj;
|
|
3801
4287
|
},
|
|
3802
4288
|
create(base) {
|
|
@@ -3813,6 +4299,9 @@ exports.RecordState = {
|
|
|
3813
4299
|
message.multibeamIsRecording = object.multibeamIsRecording ?? false;
|
|
3814
4300
|
message.multibeamSeconds = object.multibeamSeconds ?? 0;
|
|
3815
4301
|
message.multibeamFps = object.multibeamFps ?? 0;
|
|
4302
|
+
message.mainStorageLocation = object.mainStorageLocation ?? 0;
|
|
4303
|
+
message.guestportStorageLocation = object.guestportStorageLocation ?? 0;
|
|
4304
|
+
message.multibeamStorageLocation = object.multibeamStorageLocation ?? 0;
|
|
3816
4305
|
return message;
|
|
3817
4306
|
},
|
|
3818
4307
|
};
|
|
@@ -7720,7 +8209,7 @@ exports.StorageSpace = {
|
|
|
7720
8209
|
},
|
|
7721
8210
|
};
|
|
7722
8211
|
function createBaseStoragePartition() {
|
|
7723
|
-
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "" };
|
|
8212
|
+
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "", label: "" };
|
|
7724
8213
|
}
|
|
7725
8214
|
exports.StoragePartition = {
|
|
7726
8215
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -7736,6 +8225,9 @@ exports.StoragePartition = {
|
|
|
7736
8225
|
if (message.mountPath !== "") {
|
|
7737
8226
|
writer.uint32(34).string(message.mountPath);
|
|
7738
8227
|
}
|
|
8228
|
+
if (message.label !== "") {
|
|
8229
|
+
writer.uint32(42).string(message.label);
|
|
8230
|
+
}
|
|
7739
8231
|
return writer;
|
|
7740
8232
|
},
|
|
7741
8233
|
decode(input, length) {
|
|
@@ -7773,6 +8265,13 @@ exports.StoragePartition = {
|
|
|
7773
8265
|
message.mountPath = reader.string();
|
|
7774
8266
|
continue;
|
|
7775
8267
|
}
|
|
8268
|
+
case 5: {
|
|
8269
|
+
if (tag !== 42) {
|
|
8270
|
+
break;
|
|
8271
|
+
}
|
|
8272
|
+
message.label = reader.string();
|
|
8273
|
+
continue;
|
|
8274
|
+
}
|
|
7776
8275
|
}
|
|
7777
8276
|
if ((tag & 7) === 4 || tag === 0) {
|
|
7778
8277
|
break;
|
|
@@ -7787,6 +8286,7 @@ exports.StoragePartition = {
|
|
|
7787
8286
|
fileSystemType: isSet(object.fileSystemType) ? gt.String(object.fileSystemType) : "",
|
|
7788
8287
|
devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
|
|
7789
8288
|
mountPath: isSet(object.mountPath) ? gt.String(object.mountPath) : "",
|
|
8289
|
+
label: isSet(object.label) ? gt.String(object.label) : "",
|
|
7790
8290
|
};
|
|
7791
8291
|
},
|
|
7792
8292
|
toJSON(message) {
|
|
@@ -7803,6 +8303,9 @@ exports.StoragePartition = {
|
|
|
7803
8303
|
if (message.mountPath !== "") {
|
|
7804
8304
|
obj.mountPath = message.mountPath;
|
|
7805
8305
|
}
|
|
8306
|
+
if (message.label !== "") {
|
|
8307
|
+
obj.label = message.label;
|
|
8308
|
+
}
|
|
7806
8309
|
return obj;
|
|
7807
8310
|
},
|
|
7808
8311
|
create(base) {
|
|
@@ -7816,6 +8319,7 @@ exports.StoragePartition = {
|
|
|
7816
8319
|
message.fileSystemType = object.fileSystemType ?? "";
|
|
7817
8320
|
message.devicePath = object.devicePath ?? "";
|
|
7818
8321
|
message.mountPath = object.mountPath ?? "";
|
|
8322
|
+
message.label = object.label ?? "";
|
|
7819
8323
|
return message;
|
|
7820
8324
|
},
|
|
7821
8325
|
};
|
|
@@ -9513,11 +10017,23 @@ function createBaseCameraParameters() {
|
|
|
9513
10017
|
whiteBalance: 0,
|
|
9514
10018
|
hue: 0,
|
|
9515
10019
|
gain: 0,
|
|
10020
|
+
brightness: 0,
|
|
10021
|
+
contrast: 0,
|
|
10022
|
+
saturation: 0,
|
|
10023
|
+
gamma: 0,
|
|
10024
|
+
sharpness: 0,
|
|
10025
|
+
backlightCompensation: 0,
|
|
10026
|
+
denoise: 0,
|
|
10027
|
+
ehdrEnabled: false,
|
|
10028
|
+
ehdrExposureMinNumber: 0,
|
|
10029
|
+
ehdrExposureMaxNumber: 0,
|
|
9516
10030
|
resolution: 0,
|
|
9517
10031
|
streamResolution: 0,
|
|
9518
10032
|
recordingResolution: 0,
|
|
10033
|
+
streamingProtocol: 0,
|
|
9519
10034
|
framerate: 0,
|
|
9520
10035
|
camera: 0,
|
|
10036
|
+
mtuSize: 0,
|
|
9521
10037
|
};
|
|
9522
10038
|
}
|
|
9523
10039
|
exports.CameraParameters = {
|
|
@@ -9540,6 +10056,36 @@ exports.CameraParameters = {
|
|
|
9540
10056
|
if (message.gain !== 0) {
|
|
9541
10057
|
writer.uint32(77).float(message.gain);
|
|
9542
10058
|
}
|
|
10059
|
+
if (message.brightness !== 0) {
|
|
10060
|
+
writer.uint32(96).int32(message.brightness);
|
|
10061
|
+
}
|
|
10062
|
+
if (message.contrast !== 0) {
|
|
10063
|
+
writer.uint32(104).int32(message.contrast);
|
|
10064
|
+
}
|
|
10065
|
+
if (message.saturation !== 0) {
|
|
10066
|
+
writer.uint32(112).int32(message.saturation);
|
|
10067
|
+
}
|
|
10068
|
+
if (message.gamma !== 0) {
|
|
10069
|
+
writer.uint32(120).int32(message.gamma);
|
|
10070
|
+
}
|
|
10071
|
+
if (message.sharpness !== 0) {
|
|
10072
|
+
writer.uint32(128).int32(message.sharpness);
|
|
10073
|
+
}
|
|
10074
|
+
if (message.backlightCompensation !== 0) {
|
|
10075
|
+
writer.uint32(136).int32(message.backlightCompensation);
|
|
10076
|
+
}
|
|
10077
|
+
if (message.denoise !== 0) {
|
|
10078
|
+
writer.uint32(144).int32(message.denoise);
|
|
10079
|
+
}
|
|
10080
|
+
if (message.ehdrEnabled !== false) {
|
|
10081
|
+
writer.uint32(168).bool(message.ehdrEnabled);
|
|
10082
|
+
}
|
|
10083
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10084
|
+
writer.uint32(176).int32(message.ehdrExposureMinNumber);
|
|
10085
|
+
}
|
|
10086
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10087
|
+
writer.uint32(184).int32(message.ehdrExposureMaxNumber);
|
|
10088
|
+
}
|
|
9543
10089
|
if (message.resolution !== 0) {
|
|
9544
10090
|
writer.uint32(48).int32(message.resolution);
|
|
9545
10091
|
}
|
|
@@ -9549,12 +10095,18 @@ exports.CameraParameters = {
|
|
|
9549
10095
|
if (message.recordingResolution !== 0) {
|
|
9550
10096
|
writer.uint32(88).int32(message.recordingResolution);
|
|
9551
10097
|
}
|
|
10098
|
+
if (message.streamingProtocol !== 0) {
|
|
10099
|
+
writer.uint32(160).int32(message.streamingProtocol);
|
|
10100
|
+
}
|
|
9552
10101
|
if (message.framerate !== 0) {
|
|
9553
10102
|
writer.uint32(56).int32(message.framerate);
|
|
9554
10103
|
}
|
|
9555
10104
|
if (message.camera !== 0) {
|
|
9556
10105
|
writer.uint32(64).int32(message.camera);
|
|
9557
10106
|
}
|
|
10107
|
+
if (message.mtuSize !== 0) {
|
|
10108
|
+
writer.uint32(192).uint32(message.mtuSize);
|
|
10109
|
+
}
|
|
9558
10110
|
return writer;
|
|
9559
10111
|
},
|
|
9560
10112
|
decode(input, length) {
|
|
@@ -9606,6 +10158,76 @@ exports.CameraParameters = {
|
|
|
9606
10158
|
message.gain = reader.float();
|
|
9607
10159
|
continue;
|
|
9608
10160
|
}
|
|
10161
|
+
case 12: {
|
|
10162
|
+
if (tag !== 96) {
|
|
10163
|
+
break;
|
|
10164
|
+
}
|
|
10165
|
+
message.brightness = reader.int32();
|
|
10166
|
+
continue;
|
|
10167
|
+
}
|
|
10168
|
+
case 13: {
|
|
10169
|
+
if (tag !== 104) {
|
|
10170
|
+
break;
|
|
10171
|
+
}
|
|
10172
|
+
message.contrast = reader.int32();
|
|
10173
|
+
continue;
|
|
10174
|
+
}
|
|
10175
|
+
case 14: {
|
|
10176
|
+
if (tag !== 112) {
|
|
10177
|
+
break;
|
|
10178
|
+
}
|
|
10179
|
+
message.saturation = reader.int32();
|
|
10180
|
+
continue;
|
|
10181
|
+
}
|
|
10182
|
+
case 15: {
|
|
10183
|
+
if (tag !== 120) {
|
|
10184
|
+
break;
|
|
10185
|
+
}
|
|
10186
|
+
message.gamma = reader.int32();
|
|
10187
|
+
continue;
|
|
10188
|
+
}
|
|
10189
|
+
case 16: {
|
|
10190
|
+
if (tag !== 128) {
|
|
10191
|
+
break;
|
|
10192
|
+
}
|
|
10193
|
+
message.sharpness = reader.int32();
|
|
10194
|
+
continue;
|
|
10195
|
+
}
|
|
10196
|
+
case 17: {
|
|
10197
|
+
if (tag !== 136) {
|
|
10198
|
+
break;
|
|
10199
|
+
}
|
|
10200
|
+
message.backlightCompensation = reader.int32();
|
|
10201
|
+
continue;
|
|
10202
|
+
}
|
|
10203
|
+
case 18: {
|
|
10204
|
+
if (tag !== 144) {
|
|
10205
|
+
break;
|
|
10206
|
+
}
|
|
10207
|
+
message.denoise = reader.int32();
|
|
10208
|
+
continue;
|
|
10209
|
+
}
|
|
10210
|
+
case 21: {
|
|
10211
|
+
if (tag !== 168) {
|
|
10212
|
+
break;
|
|
10213
|
+
}
|
|
10214
|
+
message.ehdrEnabled = reader.bool();
|
|
10215
|
+
continue;
|
|
10216
|
+
}
|
|
10217
|
+
case 22: {
|
|
10218
|
+
if (tag !== 176) {
|
|
10219
|
+
break;
|
|
10220
|
+
}
|
|
10221
|
+
message.ehdrExposureMinNumber = reader.int32();
|
|
10222
|
+
continue;
|
|
10223
|
+
}
|
|
10224
|
+
case 23: {
|
|
10225
|
+
if (tag !== 184) {
|
|
10226
|
+
break;
|
|
10227
|
+
}
|
|
10228
|
+
message.ehdrExposureMaxNumber = reader.int32();
|
|
10229
|
+
continue;
|
|
10230
|
+
}
|
|
9609
10231
|
case 6: {
|
|
9610
10232
|
if (tag !== 48) {
|
|
9611
10233
|
break;
|
|
@@ -9627,6 +10249,13 @@ exports.CameraParameters = {
|
|
|
9627
10249
|
message.recordingResolution = reader.int32();
|
|
9628
10250
|
continue;
|
|
9629
10251
|
}
|
|
10252
|
+
case 20: {
|
|
10253
|
+
if (tag !== 160) {
|
|
10254
|
+
break;
|
|
10255
|
+
}
|
|
10256
|
+
message.streamingProtocol = reader.int32();
|
|
10257
|
+
continue;
|
|
10258
|
+
}
|
|
9630
10259
|
case 7: {
|
|
9631
10260
|
if (tag !== 56) {
|
|
9632
10261
|
break;
|
|
@@ -9641,6 +10270,13 @@ exports.CameraParameters = {
|
|
|
9641
10270
|
message.camera = reader.int32();
|
|
9642
10271
|
continue;
|
|
9643
10272
|
}
|
|
10273
|
+
case 24: {
|
|
10274
|
+
if (tag !== 192) {
|
|
10275
|
+
break;
|
|
10276
|
+
}
|
|
10277
|
+
message.mtuSize = reader.uint32();
|
|
10278
|
+
continue;
|
|
10279
|
+
}
|
|
9644
10280
|
}
|
|
9645
10281
|
if ((tag & 7) === 4 || tag === 0) {
|
|
9646
10282
|
break;
|
|
@@ -9657,11 +10293,23 @@ exports.CameraParameters = {
|
|
|
9657
10293
|
whiteBalance: isSet(object.whiteBalance) ? gt.Number(object.whiteBalance) : 0,
|
|
9658
10294
|
hue: isSet(object.hue) ? gt.Number(object.hue) : 0,
|
|
9659
10295
|
gain: isSet(object.gain) ? gt.Number(object.gain) : 0,
|
|
10296
|
+
brightness: isSet(object.brightness) ? gt.Number(object.brightness) : 0,
|
|
10297
|
+
contrast: isSet(object.contrast) ? gt.Number(object.contrast) : 0,
|
|
10298
|
+
saturation: isSet(object.saturation) ? gt.Number(object.saturation) : 0,
|
|
10299
|
+
gamma: isSet(object.gamma) ? gt.Number(object.gamma) : 0,
|
|
10300
|
+
sharpness: isSet(object.sharpness) ? gt.Number(object.sharpness) : 0,
|
|
10301
|
+
backlightCompensation: isSet(object.backlightCompensation) ? gt.Number(object.backlightCompensation) : 0,
|
|
10302
|
+
denoise: isSet(object.denoise) ? gt.Number(object.denoise) : 0,
|
|
10303
|
+
ehdrEnabled: isSet(object.ehdrEnabled) ? gt.Boolean(object.ehdrEnabled) : false,
|
|
10304
|
+
ehdrExposureMinNumber: isSet(object.ehdrExposureMinNumber) ? gt.Number(object.ehdrExposureMinNumber) : 0,
|
|
10305
|
+
ehdrExposureMaxNumber: isSet(object.ehdrExposureMaxNumber) ? gt.Number(object.ehdrExposureMaxNumber) : 0,
|
|
9660
10306
|
resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
|
|
9661
10307
|
streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
|
|
9662
10308
|
recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
|
|
10309
|
+
streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
|
|
9663
10310
|
framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
|
|
9664
10311
|
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
10312
|
+
mtuSize: isSet(object.mtuSize) ? gt.Number(object.mtuSize) : 0,
|
|
9665
10313
|
};
|
|
9666
10314
|
},
|
|
9667
10315
|
toJSON(message) {
|
|
@@ -9684,6 +10332,36 @@ exports.CameraParameters = {
|
|
|
9684
10332
|
if (message.gain !== 0) {
|
|
9685
10333
|
obj.gain = message.gain;
|
|
9686
10334
|
}
|
|
10335
|
+
if (message.brightness !== 0) {
|
|
10336
|
+
obj.brightness = Math.round(message.brightness);
|
|
10337
|
+
}
|
|
10338
|
+
if (message.contrast !== 0) {
|
|
10339
|
+
obj.contrast = Math.round(message.contrast);
|
|
10340
|
+
}
|
|
10341
|
+
if (message.saturation !== 0) {
|
|
10342
|
+
obj.saturation = Math.round(message.saturation);
|
|
10343
|
+
}
|
|
10344
|
+
if (message.gamma !== 0) {
|
|
10345
|
+
obj.gamma = Math.round(message.gamma);
|
|
10346
|
+
}
|
|
10347
|
+
if (message.sharpness !== 0) {
|
|
10348
|
+
obj.sharpness = Math.round(message.sharpness);
|
|
10349
|
+
}
|
|
10350
|
+
if (message.backlightCompensation !== 0) {
|
|
10351
|
+
obj.backlightCompensation = Math.round(message.backlightCompensation);
|
|
10352
|
+
}
|
|
10353
|
+
if (message.denoise !== 0) {
|
|
10354
|
+
obj.denoise = Math.round(message.denoise);
|
|
10355
|
+
}
|
|
10356
|
+
if (message.ehdrEnabled !== false) {
|
|
10357
|
+
obj.ehdrEnabled = message.ehdrEnabled;
|
|
10358
|
+
}
|
|
10359
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10360
|
+
obj.ehdrExposureMinNumber = Math.round(message.ehdrExposureMinNumber);
|
|
10361
|
+
}
|
|
10362
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10363
|
+
obj.ehdrExposureMaxNumber = Math.round(message.ehdrExposureMaxNumber);
|
|
10364
|
+
}
|
|
9687
10365
|
if (message.resolution !== 0) {
|
|
9688
10366
|
obj.resolution = resolutionToJSON(message.resolution);
|
|
9689
10367
|
}
|
|
@@ -9693,12 +10371,18 @@ exports.CameraParameters = {
|
|
|
9693
10371
|
if (message.recordingResolution !== 0) {
|
|
9694
10372
|
obj.recordingResolution = resolutionToJSON(message.recordingResolution);
|
|
9695
10373
|
}
|
|
10374
|
+
if (message.streamingProtocol !== 0) {
|
|
10375
|
+
obj.streamingProtocol = streamingProtocolToJSON(message.streamingProtocol);
|
|
10376
|
+
}
|
|
9696
10377
|
if (message.framerate !== 0) {
|
|
9697
10378
|
obj.framerate = framerateToJSON(message.framerate);
|
|
9698
10379
|
}
|
|
9699
10380
|
if (message.camera !== 0) {
|
|
9700
10381
|
obj.camera = cameraToJSON(message.camera);
|
|
9701
10382
|
}
|
|
10383
|
+
if (message.mtuSize !== 0) {
|
|
10384
|
+
obj.mtuSize = Math.round(message.mtuSize);
|
|
10385
|
+
}
|
|
9702
10386
|
return obj;
|
|
9703
10387
|
},
|
|
9704
10388
|
create(base) {
|
|
@@ -9712,11 +10396,23 @@ exports.CameraParameters = {
|
|
|
9712
10396
|
message.whiteBalance = object.whiteBalance ?? 0;
|
|
9713
10397
|
message.hue = object.hue ?? 0;
|
|
9714
10398
|
message.gain = object.gain ?? 0;
|
|
10399
|
+
message.brightness = object.brightness ?? 0;
|
|
10400
|
+
message.contrast = object.contrast ?? 0;
|
|
10401
|
+
message.saturation = object.saturation ?? 0;
|
|
10402
|
+
message.gamma = object.gamma ?? 0;
|
|
10403
|
+
message.sharpness = object.sharpness ?? 0;
|
|
10404
|
+
message.backlightCompensation = object.backlightCompensation ?? 0;
|
|
10405
|
+
message.denoise = object.denoise ?? 0;
|
|
10406
|
+
message.ehdrEnabled = object.ehdrEnabled ?? false;
|
|
10407
|
+
message.ehdrExposureMinNumber = object.ehdrExposureMinNumber ?? 0;
|
|
10408
|
+
message.ehdrExposureMaxNumber = object.ehdrExposureMaxNumber ?? 0;
|
|
9715
10409
|
message.resolution = object.resolution ?? 0;
|
|
9716
10410
|
message.streamResolution = object.streamResolution ?? 0;
|
|
9717
10411
|
message.recordingResolution = object.recordingResolution ?? 0;
|
|
10412
|
+
message.streamingProtocol = object.streamingProtocol ?? 0;
|
|
9718
10413
|
message.framerate = object.framerate ?? 0;
|
|
9719
10414
|
message.camera = object.camera ?? 0;
|
|
10415
|
+
message.mtuSize = object.mtuSize ?? 0;
|
|
9720
10416
|
return message;
|
|
9721
10417
|
},
|
|
9722
10418
|
};
|
|
@@ -12460,7 +13156,7 @@ exports.PersistentStorageSettings = {
|
|
|
12460
13156
|
},
|
|
12461
13157
|
};
|
|
12462
13158
|
function createBaseCPUInfo() {
|
|
12463
|
-
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0 };
|
|
13159
|
+
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0, commQueueLoad: 0 };
|
|
12464
13160
|
}
|
|
12465
13161
|
exports.CPUInfo = {
|
|
12466
13162
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -12476,6 +13172,9 @@ exports.CPUInfo = {
|
|
|
12476
13172
|
if (message.guestportQueueLoad !== 0) {
|
|
12477
13173
|
writer.uint32(37).float(message.guestportQueueLoad);
|
|
12478
13174
|
}
|
|
13175
|
+
if (message.commQueueLoad !== 0) {
|
|
13176
|
+
writer.uint32(45).float(message.commQueueLoad);
|
|
13177
|
+
}
|
|
12479
13178
|
return writer;
|
|
12480
13179
|
},
|
|
12481
13180
|
decode(input, length) {
|
|
@@ -12513,6 +13212,13 @@ exports.CPUInfo = {
|
|
|
12513
13212
|
message.guestportQueueLoad = reader.float();
|
|
12514
13213
|
continue;
|
|
12515
13214
|
}
|
|
13215
|
+
case 5: {
|
|
13216
|
+
if (tag !== 45) {
|
|
13217
|
+
break;
|
|
13218
|
+
}
|
|
13219
|
+
message.commQueueLoad = reader.float();
|
|
13220
|
+
continue;
|
|
13221
|
+
}
|
|
12516
13222
|
}
|
|
12517
13223
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12518
13224
|
break;
|
|
@@ -12527,6 +13233,7 @@ exports.CPUInfo = {
|
|
|
12527
13233
|
memoryBusLoad: isSet(object.memoryBusLoad) ? gt.Number(object.memoryBusLoad) : 0,
|
|
12528
13234
|
mainQueueLoad: isSet(object.mainQueueLoad) ? gt.Number(object.mainQueueLoad) : 0,
|
|
12529
13235
|
guestportQueueLoad: isSet(object.guestportQueueLoad) ? gt.Number(object.guestportQueueLoad) : 0,
|
|
13236
|
+
commQueueLoad: isSet(object.commQueueLoad) ? gt.Number(object.commQueueLoad) : 0,
|
|
12530
13237
|
};
|
|
12531
13238
|
},
|
|
12532
13239
|
toJSON(message) {
|
|
@@ -12543,6 +13250,9 @@ exports.CPUInfo = {
|
|
|
12543
13250
|
if (message.guestportQueueLoad !== 0) {
|
|
12544
13251
|
obj.guestportQueueLoad = message.guestportQueueLoad;
|
|
12545
13252
|
}
|
|
13253
|
+
if (message.commQueueLoad !== 0) {
|
|
13254
|
+
obj.commQueueLoad = message.commQueueLoad;
|
|
13255
|
+
}
|
|
12546
13256
|
return obj;
|
|
12547
13257
|
},
|
|
12548
13258
|
create(base) {
|
|
@@ -12554,6 +13264,126 @@ exports.CPUInfo = {
|
|
|
12554
13264
|
message.memoryBusLoad = object.memoryBusLoad ?? 0;
|
|
12555
13265
|
message.mainQueueLoad = object.mainQueueLoad ?? 0;
|
|
12556
13266
|
message.guestportQueueLoad = object.guestportQueueLoad ?? 0;
|
|
13267
|
+
message.commQueueLoad = object.commQueueLoad ?? 0;
|
|
13268
|
+
return message;
|
|
13269
|
+
},
|
|
13270
|
+
};
|
|
13271
|
+
function createBaseSurfaceUnitBatteryInfo() {
|
|
13272
|
+
return { status: 0, level: 0 };
|
|
13273
|
+
}
|
|
13274
|
+
exports.SurfaceUnitBatteryInfo = {
|
|
13275
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13276
|
+
if (message.status !== 0) {
|
|
13277
|
+
writer.uint32(8).int32(message.status);
|
|
13278
|
+
}
|
|
13279
|
+
if (message.level !== 0) {
|
|
13280
|
+
writer.uint32(21).float(message.level);
|
|
13281
|
+
}
|
|
13282
|
+
return writer;
|
|
13283
|
+
},
|
|
13284
|
+
decode(input, length) {
|
|
13285
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13286
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13287
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
13288
|
+
while (reader.pos < end) {
|
|
13289
|
+
const tag = reader.uint32();
|
|
13290
|
+
switch (tag >>> 3) {
|
|
13291
|
+
case 1: {
|
|
13292
|
+
if (tag !== 8) {
|
|
13293
|
+
break;
|
|
13294
|
+
}
|
|
13295
|
+
message.status = reader.int32();
|
|
13296
|
+
continue;
|
|
13297
|
+
}
|
|
13298
|
+
case 2: {
|
|
13299
|
+
if (tag !== 21) {
|
|
13300
|
+
break;
|
|
13301
|
+
}
|
|
13302
|
+
message.level = reader.float();
|
|
13303
|
+
continue;
|
|
13304
|
+
}
|
|
13305
|
+
}
|
|
13306
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13307
|
+
break;
|
|
13308
|
+
}
|
|
13309
|
+
reader.skip(tag & 7);
|
|
13310
|
+
}
|
|
13311
|
+
return message;
|
|
13312
|
+
},
|
|
13313
|
+
fromJSON(object) {
|
|
13314
|
+
return {
|
|
13315
|
+
status: isSet(object.status) ? surfaceUnitBatteryInfo_ChargeStatusFromJSON(object.status) : 0,
|
|
13316
|
+
level: isSet(object.level) ? gt.Number(object.level) : 0,
|
|
13317
|
+
};
|
|
13318
|
+
},
|
|
13319
|
+
toJSON(message) {
|
|
13320
|
+
const obj = {};
|
|
13321
|
+
if (message.status !== 0) {
|
|
13322
|
+
obj.status = surfaceUnitBatteryInfo_ChargeStatusToJSON(message.status);
|
|
13323
|
+
}
|
|
13324
|
+
if (message.level !== 0) {
|
|
13325
|
+
obj.level = message.level;
|
|
13326
|
+
}
|
|
13327
|
+
return obj;
|
|
13328
|
+
},
|
|
13329
|
+
create(base) {
|
|
13330
|
+
return exports.SurfaceUnitBatteryInfo.fromPartial(base ?? {});
|
|
13331
|
+
},
|
|
13332
|
+
fromPartial(object) {
|
|
13333
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
13334
|
+
message.status = object.status ?? 0;
|
|
13335
|
+
message.level = object.level ?? 0;
|
|
13336
|
+
return message;
|
|
13337
|
+
},
|
|
13338
|
+
};
|
|
13339
|
+
function createBaseSurfaceUnitVersionInfo() {
|
|
13340
|
+
return { version: "" };
|
|
13341
|
+
}
|
|
13342
|
+
exports.SurfaceUnitVersionInfo = {
|
|
13343
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13344
|
+
if (message.version !== "") {
|
|
13345
|
+
writer.uint32(10).string(message.version);
|
|
13346
|
+
}
|
|
13347
|
+
return writer;
|
|
13348
|
+
},
|
|
13349
|
+
decode(input, length) {
|
|
13350
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13351
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13352
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
13353
|
+
while (reader.pos < end) {
|
|
13354
|
+
const tag = reader.uint32();
|
|
13355
|
+
switch (tag >>> 3) {
|
|
13356
|
+
case 1: {
|
|
13357
|
+
if (tag !== 10) {
|
|
13358
|
+
break;
|
|
13359
|
+
}
|
|
13360
|
+
message.version = reader.string();
|
|
13361
|
+
continue;
|
|
13362
|
+
}
|
|
13363
|
+
}
|
|
13364
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13365
|
+
break;
|
|
13366
|
+
}
|
|
13367
|
+
reader.skip(tag & 7);
|
|
13368
|
+
}
|
|
13369
|
+
return message;
|
|
13370
|
+
},
|
|
13371
|
+
fromJSON(object) {
|
|
13372
|
+
return { version: isSet(object.version) ? gt.String(object.version) : "" };
|
|
13373
|
+
},
|
|
13374
|
+
toJSON(message) {
|
|
13375
|
+
const obj = {};
|
|
13376
|
+
if (message.version !== "") {
|
|
13377
|
+
obj.version = message.version;
|
|
13378
|
+
}
|
|
13379
|
+
return obj;
|
|
13380
|
+
},
|
|
13381
|
+
create(base) {
|
|
13382
|
+
return exports.SurfaceUnitVersionInfo.fromPartial(base ?? {});
|
|
13383
|
+
},
|
|
13384
|
+
fromPartial(object) {
|
|
13385
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
13386
|
+
message.version = object.version ?? "";
|
|
12557
13387
|
return message;
|
|
12558
13388
|
},
|
|
12559
13389
|
};
|