@blueyerobotics/protocol-definitions 3.2.0-35603a2b → 3.2.0-3beb942b
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/control.d.ts +12 -2
- package/dist/control.js +95 -9
- package/dist/message_formats.d.ts +171 -13
- package/dist/message_formats.js +899 -16
- package/dist/req_rep.d.ts +22 -0
- package/dist/req_rep.js +191 -1
- package/dist/telemetry.d.ts +43 -1
- package/dist/telemetry.js +340 -5
- package/package.json +8 -6
package/dist/message_formats.js
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
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.FilterMessage = 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) {
|
|
@@ -604,6 +657,8 @@ var Model;
|
|
|
604
657
|
Model[Model["MODEL_X3"] = 3] = "MODEL_X3";
|
|
605
658
|
/** MODEL_X3_ULTRA - Blueye X3 Ultra. */
|
|
606
659
|
Model[Model["MODEL_X3_ULTRA"] = 6] = "MODEL_X3_ULTRA";
|
|
660
|
+
/** MODEL_X7 - Blueye X7. */
|
|
661
|
+
Model[Model["MODEL_X7"] = 7] = "MODEL_X7";
|
|
607
662
|
/** MODEL_NEXT - Blueye ? */
|
|
608
663
|
Model[Model["MODEL_NEXT"] = 5] = "MODEL_NEXT";
|
|
609
664
|
Model[Model["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
@@ -628,6 +683,9 @@ function modelFromJSON(object) {
|
|
|
628
683
|
case 6:
|
|
629
684
|
case "MODEL_X3_ULTRA":
|
|
630
685
|
return Model.MODEL_X3_ULTRA;
|
|
686
|
+
case 7:
|
|
687
|
+
case "MODEL_X7":
|
|
688
|
+
return Model.MODEL_X7;
|
|
631
689
|
case 5:
|
|
632
690
|
case "MODEL_NEXT":
|
|
633
691
|
return Model.MODEL_NEXT;
|
|
@@ -651,6 +709,8 @@ function modelToJSON(object) {
|
|
|
651
709
|
return "MODEL_X3";
|
|
652
710
|
case Model.MODEL_X3_ULTRA:
|
|
653
711
|
return "MODEL_X3_ULTRA";
|
|
712
|
+
case Model.MODEL_X7:
|
|
713
|
+
return "MODEL_X7";
|
|
654
714
|
case Model.MODEL_NEXT:
|
|
655
715
|
return "MODEL_NEXT";
|
|
656
716
|
case Model.UNRECOGNIZED:
|
|
@@ -718,11 +778,13 @@ var Resolution;
|
|
|
718
778
|
(function (Resolution) {
|
|
719
779
|
/** RESOLUTION_UNSPECIFIED - Resolution not specified. */
|
|
720
780
|
Resolution[Resolution["RESOLUTION_UNSPECIFIED"] = 0] = "RESOLUTION_UNSPECIFIED";
|
|
721
|
-
/**
|
|
722
|
-
Resolution[Resolution["
|
|
723
|
-
/** RESOLUTION_HD_720P - 720p HD
|
|
781
|
+
/** RESOLUTION_VGA_480P - VGA (640x480). */
|
|
782
|
+
Resolution[Resolution["RESOLUTION_VGA_480P"] = 4] = "RESOLUTION_VGA_480P";
|
|
783
|
+
/** RESOLUTION_HD_720P - 720p HD (1280x720). */
|
|
724
784
|
Resolution[Resolution["RESOLUTION_HD_720P"] = 2] = "RESOLUTION_HD_720P";
|
|
725
|
-
/**
|
|
785
|
+
/** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
|
|
786
|
+
Resolution[Resolution["RESOLUTION_FULLHD_1080P"] = 1] = "RESOLUTION_FULLHD_1080P";
|
|
787
|
+
/** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160, Only supported on X3 Ultra). */
|
|
726
788
|
Resolution[Resolution["RESOLUTION_UHD_4K"] = 3] = "RESOLUTION_UHD_4K";
|
|
727
789
|
Resolution[Resolution["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
728
790
|
})(Resolution || (exports.Resolution = Resolution = {}));
|
|
@@ -731,12 +793,15 @@ function resolutionFromJSON(object) {
|
|
|
731
793
|
case 0:
|
|
732
794
|
case "RESOLUTION_UNSPECIFIED":
|
|
733
795
|
return Resolution.RESOLUTION_UNSPECIFIED;
|
|
734
|
-
case
|
|
735
|
-
case "
|
|
736
|
-
return Resolution.
|
|
796
|
+
case 4:
|
|
797
|
+
case "RESOLUTION_VGA_480P":
|
|
798
|
+
return Resolution.RESOLUTION_VGA_480P;
|
|
737
799
|
case 2:
|
|
738
800
|
case "RESOLUTION_HD_720P":
|
|
739
801
|
return Resolution.RESOLUTION_HD_720P;
|
|
802
|
+
case 1:
|
|
803
|
+
case "RESOLUTION_FULLHD_1080P":
|
|
804
|
+
return Resolution.RESOLUTION_FULLHD_1080P;
|
|
740
805
|
case 3:
|
|
741
806
|
case "RESOLUTION_UHD_4K":
|
|
742
807
|
return Resolution.RESOLUTION_UHD_4K;
|
|
@@ -750,10 +815,12 @@ function resolutionToJSON(object) {
|
|
|
750
815
|
switch (object) {
|
|
751
816
|
case Resolution.RESOLUTION_UNSPECIFIED:
|
|
752
817
|
return "RESOLUTION_UNSPECIFIED";
|
|
753
|
-
case Resolution.
|
|
754
|
-
return "
|
|
818
|
+
case Resolution.RESOLUTION_VGA_480P:
|
|
819
|
+
return "RESOLUTION_VGA_480P";
|
|
755
820
|
case Resolution.RESOLUTION_HD_720P:
|
|
756
821
|
return "RESOLUTION_HD_720P";
|
|
822
|
+
case Resolution.RESOLUTION_FULLHD_1080P:
|
|
823
|
+
return "RESOLUTION_FULLHD_1080P";
|
|
757
824
|
case Resolution.RESOLUTION_UHD_4K:
|
|
758
825
|
return "RESOLUTION_UHD_4K";
|
|
759
826
|
case Resolution.UNRECOGNIZED:
|
|
@@ -768,7 +835,7 @@ var Framerate;
|
|
|
768
835
|
Framerate[Framerate["FRAMERATE_UNSPECIFIED"] = 0] = "FRAMERATE_UNSPECIFIED";
|
|
769
836
|
/** FRAMERATE_FPS_30 - 30 frames per second. */
|
|
770
837
|
Framerate[Framerate["FRAMERATE_FPS_30"] = 1] = "FRAMERATE_FPS_30";
|
|
771
|
-
/** FRAMERATE_FPS_25 - 25 frames per second. */
|
|
838
|
+
/** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
|
|
772
839
|
Framerate[Framerate["FRAMERATE_FPS_25"] = 2] = "FRAMERATE_FPS_25";
|
|
773
840
|
Framerate[Framerate["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
774
841
|
})(Framerate || (exports.Framerate = Framerate = {}));
|
|
@@ -843,6 +910,46 @@ function cameraToJSON(object) {
|
|
|
843
910
|
return "UNRECOGNIZED";
|
|
844
911
|
}
|
|
845
912
|
}
|
|
913
|
+
var StreamingProtocol;
|
|
914
|
+
(function (StreamingProtocol) {
|
|
915
|
+
/** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
|
|
916
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_UNSPECIFIED"] = 0] = "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
917
|
+
/** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
|
|
918
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_H264"] = 1] = "STREAMING_PROTOCOL_RTSP_H264";
|
|
919
|
+
/** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. No recording when activated. */
|
|
920
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_MJPEG"] = 2] = "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
921
|
+
StreamingProtocol[StreamingProtocol["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
922
|
+
})(StreamingProtocol || (exports.StreamingProtocol = StreamingProtocol = {}));
|
|
923
|
+
function streamingProtocolFromJSON(object) {
|
|
924
|
+
switch (object) {
|
|
925
|
+
case 0:
|
|
926
|
+
case "STREAMING_PROTOCOL_UNSPECIFIED":
|
|
927
|
+
return StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED;
|
|
928
|
+
case 1:
|
|
929
|
+
case "STREAMING_PROTOCOL_RTSP_H264":
|
|
930
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264;
|
|
931
|
+
case 2:
|
|
932
|
+
case "STREAMING_PROTOCOL_RTSP_MJPEG":
|
|
933
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG;
|
|
934
|
+
case -1:
|
|
935
|
+
case "UNRECOGNIZED":
|
|
936
|
+
default:
|
|
937
|
+
return StreamingProtocol.UNRECOGNIZED;
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
function streamingProtocolToJSON(object) {
|
|
941
|
+
switch (object) {
|
|
942
|
+
case StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED:
|
|
943
|
+
return "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
944
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264:
|
|
945
|
+
return "STREAMING_PROTOCOL_RTSP_H264";
|
|
946
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG:
|
|
947
|
+
return "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
948
|
+
case StreamingProtocol.UNRECOGNIZED:
|
|
949
|
+
default:
|
|
950
|
+
return "UNRECOGNIZED";
|
|
951
|
+
}
|
|
952
|
+
}
|
|
846
953
|
/** Available temperature units. */
|
|
847
954
|
var TemperatureUnit;
|
|
848
955
|
(function (TemperatureUnit) {
|
|
@@ -1176,8 +1283,12 @@ var GuestPortDeviceID;
|
|
|
1176
1283
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15"] = 43] = "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1177
1284
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
1178
1285
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650"] = 44] = "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1179
|
-
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
|
|
1286
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage. */
|
|
1180
1287
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE"] = 45] = "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1288
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2 - Blueye Multibeam Skid Servo V2. */
|
|
1289
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2"] = 46] = "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2";
|
|
1290
|
+
/** GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT - Cerulean Omniscan 450 Compact. */
|
|
1291
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT"] = 47] = "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT";
|
|
1181
1292
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1182
1293
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1183
1294
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1320,6 +1431,12 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1320
1431
|
case 45:
|
|
1321
1432
|
case "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE":
|
|
1322
1433
|
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE;
|
|
1434
|
+
case 46:
|
|
1435
|
+
case "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2":
|
|
1436
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2;
|
|
1437
|
+
case 47:
|
|
1438
|
+
case "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT":
|
|
1439
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT;
|
|
1323
1440
|
case -1:
|
|
1324
1441
|
case "UNRECOGNIZED":
|
|
1325
1442
|
default:
|
|
@@ -1420,6 +1537,10 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1420
1537
|
return "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1421
1538
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE:
|
|
1422
1539
|
return "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1540
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2:
|
|
1541
|
+
return "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2";
|
|
1542
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT:
|
|
1543
|
+
return "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT";
|
|
1423
1544
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1424
1545
|
default:
|
|
1425
1546
|
return "UNRECOGNIZED";
|
|
@@ -1764,6 +1885,89 @@ function logEntry_LogLevelToJSON(object) {
|
|
|
1764
1885
|
return "UNRECOGNIZED";
|
|
1765
1886
|
}
|
|
1766
1887
|
}
|
|
1888
|
+
/** Kernel log level. */
|
|
1889
|
+
var KernelLogEntry_KernelLogLevel;
|
|
1890
|
+
(function (KernelLogEntry_KernelLogLevel) {
|
|
1891
|
+
/** KERNEL_LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
1892
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_UNSPECIFIED"] = 0] = "KERNEL_LOG_LEVEL_UNSPECIFIED";
|
|
1893
|
+
/** KERNEL_LOG_LEVEL_EMERG - Emergency log level. */
|
|
1894
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_EMERG"] = 1] = "KERNEL_LOG_LEVEL_EMERG";
|
|
1895
|
+
/** KERNEL_LOG_LEVEL_ALERT - Alert log level. */
|
|
1896
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_ALERT"] = 2] = "KERNEL_LOG_LEVEL_ALERT";
|
|
1897
|
+
/** KERNEL_LOG_LEVEL_CRIT - Critical log level. */
|
|
1898
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_CRIT"] = 3] = "KERNEL_LOG_LEVEL_CRIT";
|
|
1899
|
+
/** KERNEL_LOG_LEVEL_ERR - Error log level. */
|
|
1900
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_ERR"] = 4] = "KERNEL_LOG_LEVEL_ERR";
|
|
1901
|
+
/** KERNEL_LOG_LEVEL_WARNING - Warning log level. */
|
|
1902
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_WARNING"] = 5] = "KERNEL_LOG_LEVEL_WARNING";
|
|
1903
|
+
/** KERNEL_LOG_LEVEL_NOTICE - Notice log level. */
|
|
1904
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_NOTICE"] = 6] = "KERNEL_LOG_LEVEL_NOTICE";
|
|
1905
|
+
/** KERNEL_LOG_LEVEL_INFO - Informational log level. */
|
|
1906
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_INFO"] = 7] = "KERNEL_LOG_LEVEL_INFO";
|
|
1907
|
+
/** KERNEL_LOG_LEVEL_DEBUG - Debug log level. */
|
|
1908
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_DEBUG"] = 8] = "KERNEL_LOG_LEVEL_DEBUG";
|
|
1909
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1910
|
+
})(KernelLogEntry_KernelLogLevel || (exports.KernelLogEntry_KernelLogLevel = KernelLogEntry_KernelLogLevel = {}));
|
|
1911
|
+
function kernelLogEntry_KernelLogLevelFromJSON(object) {
|
|
1912
|
+
switch (object) {
|
|
1913
|
+
case 0:
|
|
1914
|
+
case "KERNEL_LOG_LEVEL_UNSPECIFIED":
|
|
1915
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_UNSPECIFIED;
|
|
1916
|
+
case 1:
|
|
1917
|
+
case "KERNEL_LOG_LEVEL_EMERG":
|
|
1918
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_EMERG;
|
|
1919
|
+
case 2:
|
|
1920
|
+
case "KERNEL_LOG_LEVEL_ALERT":
|
|
1921
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ALERT;
|
|
1922
|
+
case 3:
|
|
1923
|
+
case "KERNEL_LOG_LEVEL_CRIT":
|
|
1924
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_CRIT;
|
|
1925
|
+
case 4:
|
|
1926
|
+
case "KERNEL_LOG_LEVEL_ERR":
|
|
1927
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ERR;
|
|
1928
|
+
case 5:
|
|
1929
|
+
case "KERNEL_LOG_LEVEL_WARNING":
|
|
1930
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_WARNING;
|
|
1931
|
+
case 6:
|
|
1932
|
+
case "KERNEL_LOG_LEVEL_NOTICE":
|
|
1933
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_NOTICE;
|
|
1934
|
+
case 7:
|
|
1935
|
+
case "KERNEL_LOG_LEVEL_INFO":
|
|
1936
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_INFO;
|
|
1937
|
+
case 8:
|
|
1938
|
+
case "KERNEL_LOG_LEVEL_DEBUG":
|
|
1939
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_DEBUG;
|
|
1940
|
+
case -1:
|
|
1941
|
+
case "UNRECOGNIZED":
|
|
1942
|
+
default:
|
|
1943
|
+
return KernelLogEntry_KernelLogLevel.UNRECOGNIZED;
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1946
|
+
function kernelLogEntry_KernelLogLevelToJSON(object) {
|
|
1947
|
+
switch (object) {
|
|
1948
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_UNSPECIFIED:
|
|
1949
|
+
return "KERNEL_LOG_LEVEL_UNSPECIFIED";
|
|
1950
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_EMERG:
|
|
1951
|
+
return "KERNEL_LOG_LEVEL_EMERG";
|
|
1952
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ALERT:
|
|
1953
|
+
return "KERNEL_LOG_LEVEL_ALERT";
|
|
1954
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_CRIT:
|
|
1955
|
+
return "KERNEL_LOG_LEVEL_CRIT";
|
|
1956
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ERR:
|
|
1957
|
+
return "KERNEL_LOG_LEVEL_ERR";
|
|
1958
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_WARNING:
|
|
1959
|
+
return "KERNEL_LOG_LEVEL_WARNING";
|
|
1960
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_NOTICE:
|
|
1961
|
+
return "KERNEL_LOG_LEVEL_NOTICE";
|
|
1962
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_INFO:
|
|
1963
|
+
return "KERNEL_LOG_LEVEL_INFO";
|
|
1964
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_DEBUG:
|
|
1965
|
+
return "KERNEL_LOG_LEVEL_DEBUG";
|
|
1966
|
+
case KernelLogEntry_KernelLogLevel.UNRECOGNIZED:
|
|
1967
|
+
default:
|
|
1968
|
+
return "UNRECOGNIZED";
|
|
1969
|
+
}
|
|
1970
|
+
}
|
|
1767
1971
|
var PingerConfiguration_MountingDirection;
|
|
1768
1972
|
(function (PingerConfiguration_MountingDirection) {
|
|
1769
1973
|
/** MOUNTING_DIRECTION_UNSPECIFIED - Mounting direction is unspecified. */
|
|
@@ -1885,10 +2089,12 @@ var RemovableStorageDevice_Status;
|
|
|
1885
2089
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_UNSPECIFIED"] = 0] = "STATUS_UNSPECIFIED";
|
|
1886
2090
|
/** STATUS_READY - The storage device is valid and ready for use. */
|
|
1887
2091
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_READY"] = 1] = "STATUS_READY";
|
|
1888
|
-
/** STATUS_FORMATTING - The storage device is being formatted */
|
|
2092
|
+
/** STATUS_FORMATTING - The storage device is being formatted. */
|
|
1889
2093
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_FORMATTING"] = 2] = "STATUS_FORMATTING";
|
|
1890
2094
|
/** STATUS_ERROR - The storage device is in an error state. */
|
|
1891
2095
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_ERROR"] = 3] = "STATUS_ERROR";
|
|
2096
|
+
/** STATUS_UNPLUGGED - The storage device is not present. */
|
|
2097
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_UNPLUGGED"] = 4] = "STATUS_UNPLUGGED";
|
|
1892
2098
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1893
2099
|
})(RemovableStorageDevice_Status || (exports.RemovableStorageDevice_Status = RemovableStorageDevice_Status = {}));
|
|
1894
2100
|
function removableStorageDevice_StatusFromJSON(object) {
|
|
@@ -1905,6 +2111,9 @@ function removableStorageDevice_StatusFromJSON(object) {
|
|
|
1905
2111
|
case 3:
|
|
1906
2112
|
case "STATUS_ERROR":
|
|
1907
2113
|
return RemovableStorageDevice_Status.STATUS_ERROR;
|
|
2114
|
+
case 4:
|
|
2115
|
+
case "STATUS_UNPLUGGED":
|
|
2116
|
+
return RemovableStorageDevice_Status.STATUS_UNPLUGGED;
|
|
1908
2117
|
case -1:
|
|
1909
2118
|
case "UNRECOGNIZED":
|
|
1910
2119
|
default:
|
|
@@ -1921,6 +2130,8 @@ function removableStorageDevice_StatusToJSON(object) {
|
|
|
1921
2130
|
return "STATUS_FORMATTING";
|
|
1922
2131
|
case RemovableStorageDevice_Status.STATUS_ERROR:
|
|
1923
2132
|
return "STATUS_ERROR";
|
|
2133
|
+
case RemovableStorageDevice_Status.STATUS_UNPLUGGED:
|
|
2134
|
+
return "STATUS_UNPLUGGED";
|
|
1924
2135
|
case RemovableStorageDevice_Status.UNRECOGNIZED:
|
|
1925
2136
|
default:
|
|
1926
2137
|
return "UNRECOGNIZED";
|
|
@@ -2142,6 +2353,49 @@ function multibeamConfig_MaximumNumberOfBeamsToJSON(object) {
|
|
|
2142
2353
|
return "UNRECOGNIZED";
|
|
2143
2354
|
}
|
|
2144
2355
|
}
|
|
2356
|
+
var SurfaceUnitBatteryInfo_ChargeStatus;
|
|
2357
|
+
(function (SurfaceUnitBatteryInfo_ChargeStatus) {
|
|
2358
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_UNSPECIFIED"] = 0] = "CHARGE_STATUS_UNSPECIFIED";
|
|
2359
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_DISCHARGE"] = 1] = "CHARGE_STATUS_DISCHARGE";
|
|
2360
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE"] = 2] = "CHARGE_STATUS_CHARGE";
|
|
2361
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE_ERROR"] = 3] = "CHARGE_STATUS_CHARGE_ERROR";
|
|
2362
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2363
|
+
})(SurfaceUnitBatteryInfo_ChargeStatus || (exports.SurfaceUnitBatteryInfo_ChargeStatus = SurfaceUnitBatteryInfo_ChargeStatus = {}));
|
|
2364
|
+
function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object) {
|
|
2365
|
+
switch (object) {
|
|
2366
|
+
case 0:
|
|
2367
|
+
case "CHARGE_STATUS_UNSPECIFIED":
|
|
2368
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED;
|
|
2369
|
+
case 1:
|
|
2370
|
+
case "CHARGE_STATUS_DISCHARGE":
|
|
2371
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE;
|
|
2372
|
+
case 2:
|
|
2373
|
+
case "CHARGE_STATUS_CHARGE":
|
|
2374
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE;
|
|
2375
|
+
case 3:
|
|
2376
|
+
case "CHARGE_STATUS_CHARGE_ERROR":
|
|
2377
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR;
|
|
2378
|
+
case -1:
|
|
2379
|
+
case "UNRECOGNIZED":
|
|
2380
|
+
default:
|
|
2381
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED;
|
|
2382
|
+
}
|
|
2383
|
+
}
|
|
2384
|
+
function surfaceUnitBatteryInfo_ChargeStatusToJSON(object) {
|
|
2385
|
+
switch (object) {
|
|
2386
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED:
|
|
2387
|
+
return "CHARGE_STATUS_UNSPECIFIED";
|
|
2388
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE:
|
|
2389
|
+
return "CHARGE_STATUS_DISCHARGE";
|
|
2390
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE:
|
|
2391
|
+
return "CHARGE_STATUS_CHARGE";
|
|
2392
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR:
|
|
2393
|
+
return "CHARGE_STATUS_CHARGE_ERROR";
|
|
2394
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED:
|
|
2395
|
+
default:
|
|
2396
|
+
return "UNRECOGNIZED";
|
|
2397
|
+
}
|
|
2398
|
+
}
|
|
2145
2399
|
function createBaseBinlogRecord() {
|
|
2146
2400
|
return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
|
|
2147
2401
|
}
|
|
@@ -2370,6 +2624,189 @@ exports.LogEntry = {
|
|
|
2370
2624
|
return message;
|
|
2371
2625
|
},
|
|
2372
2626
|
};
|
|
2627
|
+
function createBaseKernelLogEntry() {
|
|
2628
|
+
return { level: 0, seqnum: 0, timestamp: undefined, messages: [], fields: [] };
|
|
2629
|
+
}
|
|
2630
|
+
exports.KernelLogEntry = {
|
|
2631
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2632
|
+
if (message.level !== 0) {
|
|
2633
|
+
writer.uint32(8).int32(message.level);
|
|
2634
|
+
}
|
|
2635
|
+
if (message.seqnum !== 0) {
|
|
2636
|
+
writer.uint32(16).uint32(message.seqnum);
|
|
2637
|
+
}
|
|
2638
|
+
if (message.timestamp !== undefined) {
|
|
2639
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(26).fork()).join();
|
|
2640
|
+
}
|
|
2641
|
+
for (const v of message.messages) {
|
|
2642
|
+
writer.uint32(34).string(v);
|
|
2643
|
+
}
|
|
2644
|
+
for (const v of message.fields) {
|
|
2645
|
+
exports.KernelLogEntry_KeyValuePair.encode(v, writer.uint32(42).fork()).join();
|
|
2646
|
+
}
|
|
2647
|
+
return writer;
|
|
2648
|
+
},
|
|
2649
|
+
decode(input, length) {
|
|
2650
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2651
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2652
|
+
const message = createBaseKernelLogEntry();
|
|
2653
|
+
while (reader.pos < end) {
|
|
2654
|
+
const tag = reader.uint32();
|
|
2655
|
+
switch (tag >>> 3) {
|
|
2656
|
+
case 1: {
|
|
2657
|
+
if (tag !== 8) {
|
|
2658
|
+
break;
|
|
2659
|
+
}
|
|
2660
|
+
message.level = reader.int32();
|
|
2661
|
+
continue;
|
|
2662
|
+
}
|
|
2663
|
+
case 2: {
|
|
2664
|
+
if (tag !== 16) {
|
|
2665
|
+
break;
|
|
2666
|
+
}
|
|
2667
|
+
message.seqnum = reader.uint32();
|
|
2668
|
+
continue;
|
|
2669
|
+
}
|
|
2670
|
+
case 3: {
|
|
2671
|
+
if (tag !== 26) {
|
|
2672
|
+
break;
|
|
2673
|
+
}
|
|
2674
|
+
message.timestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
2675
|
+
continue;
|
|
2676
|
+
}
|
|
2677
|
+
case 4: {
|
|
2678
|
+
if (tag !== 34) {
|
|
2679
|
+
break;
|
|
2680
|
+
}
|
|
2681
|
+
message.messages.push(reader.string());
|
|
2682
|
+
continue;
|
|
2683
|
+
}
|
|
2684
|
+
case 5: {
|
|
2685
|
+
if (tag !== 42) {
|
|
2686
|
+
break;
|
|
2687
|
+
}
|
|
2688
|
+
message.fields.push(exports.KernelLogEntry_KeyValuePair.decode(reader, reader.uint32()));
|
|
2689
|
+
continue;
|
|
2690
|
+
}
|
|
2691
|
+
}
|
|
2692
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2693
|
+
break;
|
|
2694
|
+
}
|
|
2695
|
+
reader.skip(tag & 7);
|
|
2696
|
+
}
|
|
2697
|
+
return message;
|
|
2698
|
+
},
|
|
2699
|
+
fromJSON(object) {
|
|
2700
|
+
return {
|
|
2701
|
+
level: isSet(object.level) ? kernelLogEntry_KernelLogLevelFromJSON(object.level) : 0,
|
|
2702
|
+
seqnum: isSet(object.seqnum) ? gt.Number(object.seqnum) : 0,
|
|
2703
|
+
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
|
2704
|
+
messages: gt.Array.isArray(object?.messages) ? object.messages.map((e) => gt.String(e)) : [],
|
|
2705
|
+
fields: gt.Array.isArray(object?.fields)
|
|
2706
|
+
? object.fields.map((e) => exports.KernelLogEntry_KeyValuePair.fromJSON(e))
|
|
2707
|
+
: [],
|
|
2708
|
+
};
|
|
2709
|
+
},
|
|
2710
|
+
toJSON(message) {
|
|
2711
|
+
const obj = {};
|
|
2712
|
+
if (message.level !== 0) {
|
|
2713
|
+
obj.level = kernelLogEntry_KernelLogLevelToJSON(message.level);
|
|
2714
|
+
}
|
|
2715
|
+
if (message.seqnum !== 0) {
|
|
2716
|
+
obj.seqnum = Math.round(message.seqnum);
|
|
2717
|
+
}
|
|
2718
|
+
if (message.timestamp !== undefined) {
|
|
2719
|
+
obj.timestamp = message.timestamp.toISOString();
|
|
2720
|
+
}
|
|
2721
|
+
if (message.messages?.length) {
|
|
2722
|
+
obj.messages = message.messages;
|
|
2723
|
+
}
|
|
2724
|
+
if (message.fields?.length) {
|
|
2725
|
+
obj.fields = message.fields.map((e) => exports.KernelLogEntry_KeyValuePair.toJSON(e));
|
|
2726
|
+
}
|
|
2727
|
+
return obj;
|
|
2728
|
+
},
|
|
2729
|
+
create(base) {
|
|
2730
|
+
return exports.KernelLogEntry.fromPartial(base ?? {});
|
|
2731
|
+
},
|
|
2732
|
+
fromPartial(object) {
|
|
2733
|
+
const message = createBaseKernelLogEntry();
|
|
2734
|
+
message.level = object.level ?? 0;
|
|
2735
|
+
message.seqnum = object.seqnum ?? 0;
|
|
2736
|
+
message.timestamp = object.timestamp ?? undefined;
|
|
2737
|
+
message.messages = object.messages?.map((e) => e) || [];
|
|
2738
|
+
message.fields = object.fields?.map((e) => exports.KernelLogEntry_KeyValuePair.fromPartial(e)) || [];
|
|
2739
|
+
return message;
|
|
2740
|
+
},
|
|
2741
|
+
};
|
|
2742
|
+
function createBaseKernelLogEntry_KeyValuePair() {
|
|
2743
|
+
return { key: "", value: "" };
|
|
2744
|
+
}
|
|
2745
|
+
exports.KernelLogEntry_KeyValuePair = {
|
|
2746
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2747
|
+
if (message.key !== "") {
|
|
2748
|
+
writer.uint32(10).string(message.key);
|
|
2749
|
+
}
|
|
2750
|
+
if (message.value !== "") {
|
|
2751
|
+
writer.uint32(18).string(message.value);
|
|
2752
|
+
}
|
|
2753
|
+
return writer;
|
|
2754
|
+
},
|
|
2755
|
+
decode(input, length) {
|
|
2756
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2757
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2758
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
2759
|
+
while (reader.pos < end) {
|
|
2760
|
+
const tag = reader.uint32();
|
|
2761
|
+
switch (tag >>> 3) {
|
|
2762
|
+
case 1: {
|
|
2763
|
+
if (tag !== 10) {
|
|
2764
|
+
break;
|
|
2765
|
+
}
|
|
2766
|
+
message.key = reader.string();
|
|
2767
|
+
continue;
|
|
2768
|
+
}
|
|
2769
|
+
case 2: {
|
|
2770
|
+
if (tag !== 18) {
|
|
2771
|
+
break;
|
|
2772
|
+
}
|
|
2773
|
+
message.value = reader.string();
|
|
2774
|
+
continue;
|
|
2775
|
+
}
|
|
2776
|
+
}
|
|
2777
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2778
|
+
break;
|
|
2779
|
+
}
|
|
2780
|
+
reader.skip(tag & 7);
|
|
2781
|
+
}
|
|
2782
|
+
return message;
|
|
2783
|
+
},
|
|
2784
|
+
fromJSON(object) {
|
|
2785
|
+
return {
|
|
2786
|
+
key: isSet(object.key) ? gt.String(object.key) : "",
|
|
2787
|
+
value: isSet(object.value) ? gt.String(object.value) : "",
|
|
2788
|
+
};
|
|
2789
|
+
},
|
|
2790
|
+
toJSON(message) {
|
|
2791
|
+
const obj = {};
|
|
2792
|
+
if (message.key !== "") {
|
|
2793
|
+
obj.key = message.key;
|
|
2794
|
+
}
|
|
2795
|
+
if (message.value !== "") {
|
|
2796
|
+
obj.value = message.value;
|
|
2797
|
+
}
|
|
2798
|
+
return obj;
|
|
2799
|
+
},
|
|
2800
|
+
create(base) {
|
|
2801
|
+
return exports.KernelLogEntry_KeyValuePair.fromPartial(base ?? {});
|
|
2802
|
+
},
|
|
2803
|
+
fromPartial(object) {
|
|
2804
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
2805
|
+
message.key = object.key ?? "";
|
|
2806
|
+
message.value = object.value ?? "";
|
|
2807
|
+
return message;
|
|
2808
|
+
},
|
|
2809
|
+
};
|
|
2373
2810
|
function createBaseMotionInput() {
|
|
2374
2811
|
return { surge: 0, sway: 0, heave: 0, roll: 0, pitch: 0, yaw: 0, slow: 0, boost: 0 };
|
|
2375
2812
|
}
|
|
@@ -3651,6 +4088,9 @@ function createBaseRecordState() {
|
|
|
3651
4088
|
multibeamIsRecording: false,
|
|
3652
4089
|
multibeamSeconds: 0,
|
|
3653
4090
|
multibeamFps: 0,
|
|
4091
|
+
mainStorageLocation: 0,
|
|
4092
|
+
guestportStorageLocation: 0,
|
|
4093
|
+
multibeamStorageLocation: 0,
|
|
3654
4094
|
};
|
|
3655
4095
|
}
|
|
3656
4096
|
exports.RecordState = {
|
|
@@ -3682,6 +4122,15 @@ exports.RecordState = {
|
|
|
3682
4122
|
if (message.multibeamFps !== 0) {
|
|
3683
4123
|
writer.uint32(77).float(message.multibeamFps);
|
|
3684
4124
|
}
|
|
4125
|
+
if (message.mainStorageLocation !== 0) {
|
|
4126
|
+
writer.uint32(80).int32(message.mainStorageLocation);
|
|
4127
|
+
}
|
|
4128
|
+
if (message.guestportStorageLocation !== 0) {
|
|
4129
|
+
writer.uint32(88).int32(message.guestportStorageLocation);
|
|
4130
|
+
}
|
|
4131
|
+
if (message.multibeamStorageLocation !== 0) {
|
|
4132
|
+
writer.uint32(96).int32(message.multibeamStorageLocation);
|
|
4133
|
+
}
|
|
3685
4134
|
return writer;
|
|
3686
4135
|
},
|
|
3687
4136
|
decode(input, length) {
|
|
@@ -3754,6 +4203,27 @@ exports.RecordState = {
|
|
|
3754
4203
|
message.multibeamFps = reader.float();
|
|
3755
4204
|
continue;
|
|
3756
4205
|
}
|
|
4206
|
+
case 10: {
|
|
4207
|
+
if (tag !== 80) {
|
|
4208
|
+
break;
|
|
4209
|
+
}
|
|
4210
|
+
message.mainStorageLocation = reader.int32();
|
|
4211
|
+
continue;
|
|
4212
|
+
}
|
|
4213
|
+
case 11: {
|
|
4214
|
+
if (tag !== 88) {
|
|
4215
|
+
break;
|
|
4216
|
+
}
|
|
4217
|
+
message.guestportStorageLocation = reader.int32();
|
|
4218
|
+
continue;
|
|
4219
|
+
}
|
|
4220
|
+
case 12: {
|
|
4221
|
+
if (tag !== 96) {
|
|
4222
|
+
break;
|
|
4223
|
+
}
|
|
4224
|
+
message.multibeamStorageLocation = reader.int32();
|
|
4225
|
+
continue;
|
|
4226
|
+
}
|
|
3757
4227
|
}
|
|
3758
4228
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3759
4229
|
break;
|
|
@@ -3773,6 +4243,13 @@ exports.RecordState = {
|
|
|
3773
4243
|
multibeamIsRecording: isSet(object.multibeamIsRecording) ? gt.Boolean(object.multibeamIsRecording) : false,
|
|
3774
4244
|
multibeamSeconds: isSet(object.multibeamSeconds) ? gt.Number(object.multibeamSeconds) : 0,
|
|
3775
4245
|
multibeamFps: isSet(object.multibeamFps) ? gt.Number(object.multibeamFps) : 0,
|
|
4246
|
+
mainStorageLocation: isSet(object.mainStorageLocation) ? storageLocationFromJSON(object.mainStorageLocation) : 0,
|
|
4247
|
+
guestportStorageLocation: isSet(object.guestportStorageLocation)
|
|
4248
|
+
? storageLocationFromJSON(object.guestportStorageLocation)
|
|
4249
|
+
: 0,
|
|
4250
|
+
multibeamStorageLocation: isSet(object.multibeamStorageLocation)
|
|
4251
|
+
? storageLocationFromJSON(object.multibeamStorageLocation)
|
|
4252
|
+
: 0,
|
|
3776
4253
|
};
|
|
3777
4254
|
},
|
|
3778
4255
|
toJSON(message) {
|
|
@@ -3804,6 +4281,15 @@ exports.RecordState = {
|
|
|
3804
4281
|
if (message.multibeamFps !== 0) {
|
|
3805
4282
|
obj.multibeamFps = message.multibeamFps;
|
|
3806
4283
|
}
|
|
4284
|
+
if (message.mainStorageLocation !== 0) {
|
|
4285
|
+
obj.mainStorageLocation = storageLocationToJSON(message.mainStorageLocation);
|
|
4286
|
+
}
|
|
4287
|
+
if (message.guestportStorageLocation !== 0) {
|
|
4288
|
+
obj.guestportStorageLocation = storageLocationToJSON(message.guestportStorageLocation);
|
|
4289
|
+
}
|
|
4290
|
+
if (message.multibeamStorageLocation !== 0) {
|
|
4291
|
+
obj.multibeamStorageLocation = storageLocationToJSON(message.multibeamStorageLocation);
|
|
4292
|
+
}
|
|
3807
4293
|
return obj;
|
|
3808
4294
|
},
|
|
3809
4295
|
create(base) {
|
|
@@ -3820,6 +4306,9 @@ exports.RecordState = {
|
|
|
3820
4306
|
message.multibeamIsRecording = object.multibeamIsRecording ?? false;
|
|
3821
4307
|
message.multibeamSeconds = object.multibeamSeconds ?? 0;
|
|
3822
4308
|
message.multibeamFps = object.multibeamFps ?? 0;
|
|
4309
|
+
message.mainStorageLocation = object.mainStorageLocation ?? 0;
|
|
4310
|
+
message.guestportStorageLocation = object.guestportStorageLocation ?? 0;
|
|
4311
|
+
message.multibeamStorageLocation = object.multibeamStorageLocation ?? 0;
|
|
3823
4312
|
return message;
|
|
3824
4313
|
},
|
|
3825
4314
|
};
|
|
@@ -7727,7 +8216,7 @@ exports.StorageSpace = {
|
|
|
7727
8216
|
},
|
|
7728
8217
|
};
|
|
7729
8218
|
function createBaseStoragePartition() {
|
|
7730
|
-
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "" };
|
|
8219
|
+
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "", label: "" };
|
|
7731
8220
|
}
|
|
7732
8221
|
exports.StoragePartition = {
|
|
7733
8222
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -7743,6 +8232,9 @@ exports.StoragePartition = {
|
|
|
7743
8232
|
if (message.mountPath !== "") {
|
|
7744
8233
|
writer.uint32(34).string(message.mountPath);
|
|
7745
8234
|
}
|
|
8235
|
+
if (message.label !== "") {
|
|
8236
|
+
writer.uint32(42).string(message.label);
|
|
8237
|
+
}
|
|
7746
8238
|
return writer;
|
|
7747
8239
|
},
|
|
7748
8240
|
decode(input, length) {
|
|
@@ -7780,6 +8272,13 @@ exports.StoragePartition = {
|
|
|
7780
8272
|
message.mountPath = reader.string();
|
|
7781
8273
|
continue;
|
|
7782
8274
|
}
|
|
8275
|
+
case 5: {
|
|
8276
|
+
if (tag !== 42) {
|
|
8277
|
+
break;
|
|
8278
|
+
}
|
|
8279
|
+
message.label = reader.string();
|
|
8280
|
+
continue;
|
|
8281
|
+
}
|
|
7783
8282
|
}
|
|
7784
8283
|
if ((tag & 7) === 4 || tag === 0) {
|
|
7785
8284
|
break;
|
|
@@ -7794,6 +8293,7 @@ exports.StoragePartition = {
|
|
|
7794
8293
|
fileSystemType: isSet(object.fileSystemType) ? gt.String(object.fileSystemType) : "",
|
|
7795
8294
|
devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
|
|
7796
8295
|
mountPath: isSet(object.mountPath) ? gt.String(object.mountPath) : "",
|
|
8296
|
+
label: isSet(object.label) ? gt.String(object.label) : "",
|
|
7797
8297
|
};
|
|
7798
8298
|
},
|
|
7799
8299
|
toJSON(message) {
|
|
@@ -7810,6 +8310,9 @@ exports.StoragePartition = {
|
|
|
7810
8310
|
if (message.mountPath !== "") {
|
|
7811
8311
|
obj.mountPath = message.mountPath;
|
|
7812
8312
|
}
|
|
8313
|
+
if (message.label !== "") {
|
|
8314
|
+
obj.label = message.label;
|
|
8315
|
+
}
|
|
7813
8316
|
return obj;
|
|
7814
8317
|
},
|
|
7815
8318
|
create(base) {
|
|
@@ -7823,6 +8326,7 @@ exports.StoragePartition = {
|
|
|
7823
8326
|
message.fileSystemType = object.fileSystemType ?? "";
|
|
7824
8327
|
message.devicePath = object.devicePath ?? "";
|
|
7825
8328
|
message.mountPath = object.mountPath ?? "";
|
|
8329
|
+
message.label = object.label ?? "";
|
|
7826
8330
|
return message;
|
|
7827
8331
|
},
|
|
7828
8332
|
};
|
|
@@ -9520,11 +10024,23 @@ function createBaseCameraParameters() {
|
|
|
9520
10024
|
whiteBalance: 0,
|
|
9521
10025
|
hue: 0,
|
|
9522
10026
|
gain: 0,
|
|
10027
|
+
brightness: 0,
|
|
10028
|
+
contrast: 0,
|
|
10029
|
+
saturation: 0,
|
|
10030
|
+
gamma: 0,
|
|
10031
|
+
sharpness: 0,
|
|
10032
|
+
backlightCompensation: 0,
|
|
10033
|
+
denoise: 0,
|
|
10034
|
+
ehdrEnabled: false,
|
|
10035
|
+
ehdrExposureMinNumber: 0,
|
|
10036
|
+
ehdrExposureMaxNumber: 0,
|
|
9523
10037
|
resolution: 0,
|
|
9524
10038
|
streamResolution: 0,
|
|
9525
10039
|
recordingResolution: 0,
|
|
10040
|
+
streamingProtocol: 0,
|
|
9526
10041
|
framerate: 0,
|
|
9527
10042
|
camera: 0,
|
|
10043
|
+
mtuSize: 0,
|
|
9528
10044
|
};
|
|
9529
10045
|
}
|
|
9530
10046
|
exports.CameraParameters = {
|
|
@@ -9547,6 +10063,36 @@ exports.CameraParameters = {
|
|
|
9547
10063
|
if (message.gain !== 0) {
|
|
9548
10064
|
writer.uint32(77).float(message.gain);
|
|
9549
10065
|
}
|
|
10066
|
+
if (message.brightness !== 0) {
|
|
10067
|
+
writer.uint32(96).int32(message.brightness);
|
|
10068
|
+
}
|
|
10069
|
+
if (message.contrast !== 0) {
|
|
10070
|
+
writer.uint32(104).int32(message.contrast);
|
|
10071
|
+
}
|
|
10072
|
+
if (message.saturation !== 0) {
|
|
10073
|
+
writer.uint32(112).int32(message.saturation);
|
|
10074
|
+
}
|
|
10075
|
+
if (message.gamma !== 0) {
|
|
10076
|
+
writer.uint32(120).int32(message.gamma);
|
|
10077
|
+
}
|
|
10078
|
+
if (message.sharpness !== 0) {
|
|
10079
|
+
writer.uint32(128).int32(message.sharpness);
|
|
10080
|
+
}
|
|
10081
|
+
if (message.backlightCompensation !== 0) {
|
|
10082
|
+
writer.uint32(136).int32(message.backlightCompensation);
|
|
10083
|
+
}
|
|
10084
|
+
if (message.denoise !== 0) {
|
|
10085
|
+
writer.uint32(144).int32(message.denoise);
|
|
10086
|
+
}
|
|
10087
|
+
if (message.ehdrEnabled !== false) {
|
|
10088
|
+
writer.uint32(168).bool(message.ehdrEnabled);
|
|
10089
|
+
}
|
|
10090
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10091
|
+
writer.uint32(176).int32(message.ehdrExposureMinNumber);
|
|
10092
|
+
}
|
|
10093
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10094
|
+
writer.uint32(184).int32(message.ehdrExposureMaxNumber);
|
|
10095
|
+
}
|
|
9550
10096
|
if (message.resolution !== 0) {
|
|
9551
10097
|
writer.uint32(48).int32(message.resolution);
|
|
9552
10098
|
}
|
|
@@ -9556,12 +10102,18 @@ exports.CameraParameters = {
|
|
|
9556
10102
|
if (message.recordingResolution !== 0) {
|
|
9557
10103
|
writer.uint32(88).int32(message.recordingResolution);
|
|
9558
10104
|
}
|
|
10105
|
+
if (message.streamingProtocol !== 0) {
|
|
10106
|
+
writer.uint32(160).int32(message.streamingProtocol);
|
|
10107
|
+
}
|
|
9559
10108
|
if (message.framerate !== 0) {
|
|
9560
10109
|
writer.uint32(56).int32(message.framerate);
|
|
9561
10110
|
}
|
|
9562
10111
|
if (message.camera !== 0) {
|
|
9563
10112
|
writer.uint32(64).int32(message.camera);
|
|
9564
10113
|
}
|
|
10114
|
+
if (message.mtuSize !== 0) {
|
|
10115
|
+
writer.uint32(192).uint32(message.mtuSize);
|
|
10116
|
+
}
|
|
9565
10117
|
return writer;
|
|
9566
10118
|
},
|
|
9567
10119
|
decode(input, length) {
|
|
@@ -9613,6 +10165,76 @@ exports.CameraParameters = {
|
|
|
9613
10165
|
message.gain = reader.float();
|
|
9614
10166
|
continue;
|
|
9615
10167
|
}
|
|
10168
|
+
case 12: {
|
|
10169
|
+
if (tag !== 96) {
|
|
10170
|
+
break;
|
|
10171
|
+
}
|
|
10172
|
+
message.brightness = reader.int32();
|
|
10173
|
+
continue;
|
|
10174
|
+
}
|
|
10175
|
+
case 13: {
|
|
10176
|
+
if (tag !== 104) {
|
|
10177
|
+
break;
|
|
10178
|
+
}
|
|
10179
|
+
message.contrast = reader.int32();
|
|
10180
|
+
continue;
|
|
10181
|
+
}
|
|
10182
|
+
case 14: {
|
|
10183
|
+
if (tag !== 112) {
|
|
10184
|
+
break;
|
|
10185
|
+
}
|
|
10186
|
+
message.saturation = reader.int32();
|
|
10187
|
+
continue;
|
|
10188
|
+
}
|
|
10189
|
+
case 15: {
|
|
10190
|
+
if (tag !== 120) {
|
|
10191
|
+
break;
|
|
10192
|
+
}
|
|
10193
|
+
message.gamma = reader.int32();
|
|
10194
|
+
continue;
|
|
10195
|
+
}
|
|
10196
|
+
case 16: {
|
|
10197
|
+
if (tag !== 128) {
|
|
10198
|
+
break;
|
|
10199
|
+
}
|
|
10200
|
+
message.sharpness = reader.int32();
|
|
10201
|
+
continue;
|
|
10202
|
+
}
|
|
10203
|
+
case 17: {
|
|
10204
|
+
if (tag !== 136) {
|
|
10205
|
+
break;
|
|
10206
|
+
}
|
|
10207
|
+
message.backlightCompensation = reader.int32();
|
|
10208
|
+
continue;
|
|
10209
|
+
}
|
|
10210
|
+
case 18: {
|
|
10211
|
+
if (tag !== 144) {
|
|
10212
|
+
break;
|
|
10213
|
+
}
|
|
10214
|
+
message.denoise = reader.int32();
|
|
10215
|
+
continue;
|
|
10216
|
+
}
|
|
10217
|
+
case 21: {
|
|
10218
|
+
if (tag !== 168) {
|
|
10219
|
+
break;
|
|
10220
|
+
}
|
|
10221
|
+
message.ehdrEnabled = reader.bool();
|
|
10222
|
+
continue;
|
|
10223
|
+
}
|
|
10224
|
+
case 22: {
|
|
10225
|
+
if (tag !== 176) {
|
|
10226
|
+
break;
|
|
10227
|
+
}
|
|
10228
|
+
message.ehdrExposureMinNumber = reader.int32();
|
|
10229
|
+
continue;
|
|
10230
|
+
}
|
|
10231
|
+
case 23: {
|
|
10232
|
+
if (tag !== 184) {
|
|
10233
|
+
break;
|
|
10234
|
+
}
|
|
10235
|
+
message.ehdrExposureMaxNumber = reader.int32();
|
|
10236
|
+
continue;
|
|
10237
|
+
}
|
|
9616
10238
|
case 6: {
|
|
9617
10239
|
if (tag !== 48) {
|
|
9618
10240
|
break;
|
|
@@ -9634,6 +10256,13 @@ exports.CameraParameters = {
|
|
|
9634
10256
|
message.recordingResolution = reader.int32();
|
|
9635
10257
|
continue;
|
|
9636
10258
|
}
|
|
10259
|
+
case 20: {
|
|
10260
|
+
if (tag !== 160) {
|
|
10261
|
+
break;
|
|
10262
|
+
}
|
|
10263
|
+
message.streamingProtocol = reader.int32();
|
|
10264
|
+
continue;
|
|
10265
|
+
}
|
|
9637
10266
|
case 7: {
|
|
9638
10267
|
if (tag !== 56) {
|
|
9639
10268
|
break;
|
|
@@ -9648,6 +10277,13 @@ exports.CameraParameters = {
|
|
|
9648
10277
|
message.camera = reader.int32();
|
|
9649
10278
|
continue;
|
|
9650
10279
|
}
|
|
10280
|
+
case 24: {
|
|
10281
|
+
if (tag !== 192) {
|
|
10282
|
+
break;
|
|
10283
|
+
}
|
|
10284
|
+
message.mtuSize = reader.uint32();
|
|
10285
|
+
continue;
|
|
10286
|
+
}
|
|
9651
10287
|
}
|
|
9652
10288
|
if ((tag & 7) === 4 || tag === 0) {
|
|
9653
10289
|
break;
|
|
@@ -9664,11 +10300,23 @@ exports.CameraParameters = {
|
|
|
9664
10300
|
whiteBalance: isSet(object.whiteBalance) ? gt.Number(object.whiteBalance) : 0,
|
|
9665
10301
|
hue: isSet(object.hue) ? gt.Number(object.hue) : 0,
|
|
9666
10302
|
gain: isSet(object.gain) ? gt.Number(object.gain) : 0,
|
|
10303
|
+
brightness: isSet(object.brightness) ? gt.Number(object.brightness) : 0,
|
|
10304
|
+
contrast: isSet(object.contrast) ? gt.Number(object.contrast) : 0,
|
|
10305
|
+
saturation: isSet(object.saturation) ? gt.Number(object.saturation) : 0,
|
|
10306
|
+
gamma: isSet(object.gamma) ? gt.Number(object.gamma) : 0,
|
|
10307
|
+
sharpness: isSet(object.sharpness) ? gt.Number(object.sharpness) : 0,
|
|
10308
|
+
backlightCompensation: isSet(object.backlightCompensation) ? gt.Number(object.backlightCompensation) : 0,
|
|
10309
|
+
denoise: isSet(object.denoise) ? gt.Number(object.denoise) : 0,
|
|
10310
|
+
ehdrEnabled: isSet(object.ehdrEnabled) ? gt.Boolean(object.ehdrEnabled) : false,
|
|
10311
|
+
ehdrExposureMinNumber: isSet(object.ehdrExposureMinNumber) ? gt.Number(object.ehdrExposureMinNumber) : 0,
|
|
10312
|
+
ehdrExposureMaxNumber: isSet(object.ehdrExposureMaxNumber) ? gt.Number(object.ehdrExposureMaxNumber) : 0,
|
|
9667
10313
|
resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
|
|
9668
10314
|
streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
|
|
9669
10315
|
recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
|
|
10316
|
+
streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
|
|
9670
10317
|
framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
|
|
9671
10318
|
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
10319
|
+
mtuSize: isSet(object.mtuSize) ? gt.Number(object.mtuSize) : 0,
|
|
9672
10320
|
};
|
|
9673
10321
|
},
|
|
9674
10322
|
toJSON(message) {
|
|
@@ -9691,6 +10339,36 @@ exports.CameraParameters = {
|
|
|
9691
10339
|
if (message.gain !== 0) {
|
|
9692
10340
|
obj.gain = message.gain;
|
|
9693
10341
|
}
|
|
10342
|
+
if (message.brightness !== 0) {
|
|
10343
|
+
obj.brightness = Math.round(message.brightness);
|
|
10344
|
+
}
|
|
10345
|
+
if (message.contrast !== 0) {
|
|
10346
|
+
obj.contrast = Math.round(message.contrast);
|
|
10347
|
+
}
|
|
10348
|
+
if (message.saturation !== 0) {
|
|
10349
|
+
obj.saturation = Math.round(message.saturation);
|
|
10350
|
+
}
|
|
10351
|
+
if (message.gamma !== 0) {
|
|
10352
|
+
obj.gamma = Math.round(message.gamma);
|
|
10353
|
+
}
|
|
10354
|
+
if (message.sharpness !== 0) {
|
|
10355
|
+
obj.sharpness = Math.round(message.sharpness);
|
|
10356
|
+
}
|
|
10357
|
+
if (message.backlightCompensation !== 0) {
|
|
10358
|
+
obj.backlightCompensation = Math.round(message.backlightCompensation);
|
|
10359
|
+
}
|
|
10360
|
+
if (message.denoise !== 0) {
|
|
10361
|
+
obj.denoise = Math.round(message.denoise);
|
|
10362
|
+
}
|
|
10363
|
+
if (message.ehdrEnabled !== false) {
|
|
10364
|
+
obj.ehdrEnabled = message.ehdrEnabled;
|
|
10365
|
+
}
|
|
10366
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10367
|
+
obj.ehdrExposureMinNumber = Math.round(message.ehdrExposureMinNumber);
|
|
10368
|
+
}
|
|
10369
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10370
|
+
obj.ehdrExposureMaxNumber = Math.round(message.ehdrExposureMaxNumber);
|
|
10371
|
+
}
|
|
9694
10372
|
if (message.resolution !== 0) {
|
|
9695
10373
|
obj.resolution = resolutionToJSON(message.resolution);
|
|
9696
10374
|
}
|
|
@@ -9700,12 +10378,18 @@ exports.CameraParameters = {
|
|
|
9700
10378
|
if (message.recordingResolution !== 0) {
|
|
9701
10379
|
obj.recordingResolution = resolutionToJSON(message.recordingResolution);
|
|
9702
10380
|
}
|
|
10381
|
+
if (message.streamingProtocol !== 0) {
|
|
10382
|
+
obj.streamingProtocol = streamingProtocolToJSON(message.streamingProtocol);
|
|
10383
|
+
}
|
|
9703
10384
|
if (message.framerate !== 0) {
|
|
9704
10385
|
obj.framerate = framerateToJSON(message.framerate);
|
|
9705
10386
|
}
|
|
9706
10387
|
if (message.camera !== 0) {
|
|
9707
10388
|
obj.camera = cameraToJSON(message.camera);
|
|
9708
10389
|
}
|
|
10390
|
+
if (message.mtuSize !== 0) {
|
|
10391
|
+
obj.mtuSize = Math.round(message.mtuSize);
|
|
10392
|
+
}
|
|
9709
10393
|
return obj;
|
|
9710
10394
|
},
|
|
9711
10395
|
create(base) {
|
|
@@ -9719,11 +10403,23 @@ exports.CameraParameters = {
|
|
|
9719
10403
|
message.whiteBalance = object.whiteBalance ?? 0;
|
|
9720
10404
|
message.hue = object.hue ?? 0;
|
|
9721
10405
|
message.gain = object.gain ?? 0;
|
|
10406
|
+
message.brightness = object.brightness ?? 0;
|
|
10407
|
+
message.contrast = object.contrast ?? 0;
|
|
10408
|
+
message.saturation = object.saturation ?? 0;
|
|
10409
|
+
message.gamma = object.gamma ?? 0;
|
|
10410
|
+
message.sharpness = object.sharpness ?? 0;
|
|
10411
|
+
message.backlightCompensation = object.backlightCompensation ?? 0;
|
|
10412
|
+
message.denoise = object.denoise ?? 0;
|
|
10413
|
+
message.ehdrEnabled = object.ehdrEnabled ?? false;
|
|
10414
|
+
message.ehdrExposureMinNumber = object.ehdrExposureMinNumber ?? 0;
|
|
10415
|
+
message.ehdrExposureMaxNumber = object.ehdrExposureMaxNumber ?? 0;
|
|
9722
10416
|
message.resolution = object.resolution ?? 0;
|
|
9723
10417
|
message.streamResolution = object.streamResolution ?? 0;
|
|
9724
10418
|
message.recordingResolution = object.recordingResolution ?? 0;
|
|
10419
|
+
message.streamingProtocol = object.streamingProtocol ?? 0;
|
|
9725
10420
|
message.framerate = object.framerate ?? 0;
|
|
9726
10421
|
message.camera = object.camera ?? 0;
|
|
10422
|
+
message.mtuSize = object.mtuSize ?? 0;
|
|
9727
10423
|
return message;
|
|
9728
10424
|
},
|
|
9729
10425
|
};
|
|
@@ -12579,6 +13275,193 @@ exports.CPUInfo = {
|
|
|
12579
13275
|
return message;
|
|
12580
13276
|
},
|
|
12581
13277
|
};
|
|
13278
|
+
function createBaseSurfaceUnitBatteryInfo() {
|
|
13279
|
+
return { status: 0, level: 0 };
|
|
13280
|
+
}
|
|
13281
|
+
exports.SurfaceUnitBatteryInfo = {
|
|
13282
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13283
|
+
if (message.status !== 0) {
|
|
13284
|
+
writer.uint32(8).int32(message.status);
|
|
13285
|
+
}
|
|
13286
|
+
if (message.level !== 0) {
|
|
13287
|
+
writer.uint32(21).float(message.level);
|
|
13288
|
+
}
|
|
13289
|
+
return writer;
|
|
13290
|
+
},
|
|
13291
|
+
decode(input, length) {
|
|
13292
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13293
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13294
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
13295
|
+
while (reader.pos < end) {
|
|
13296
|
+
const tag = reader.uint32();
|
|
13297
|
+
switch (tag >>> 3) {
|
|
13298
|
+
case 1: {
|
|
13299
|
+
if (tag !== 8) {
|
|
13300
|
+
break;
|
|
13301
|
+
}
|
|
13302
|
+
message.status = reader.int32();
|
|
13303
|
+
continue;
|
|
13304
|
+
}
|
|
13305
|
+
case 2: {
|
|
13306
|
+
if (tag !== 21) {
|
|
13307
|
+
break;
|
|
13308
|
+
}
|
|
13309
|
+
message.level = reader.float();
|
|
13310
|
+
continue;
|
|
13311
|
+
}
|
|
13312
|
+
}
|
|
13313
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13314
|
+
break;
|
|
13315
|
+
}
|
|
13316
|
+
reader.skip(tag & 7);
|
|
13317
|
+
}
|
|
13318
|
+
return message;
|
|
13319
|
+
},
|
|
13320
|
+
fromJSON(object) {
|
|
13321
|
+
return {
|
|
13322
|
+
status: isSet(object.status) ? surfaceUnitBatteryInfo_ChargeStatusFromJSON(object.status) : 0,
|
|
13323
|
+
level: isSet(object.level) ? gt.Number(object.level) : 0,
|
|
13324
|
+
};
|
|
13325
|
+
},
|
|
13326
|
+
toJSON(message) {
|
|
13327
|
+
const obj = {};
|
|
13328
|
+
if (message.status !== 0) {
|
|
13329
|
+
obj.status = surfaceUnitBatteryInfo_ChargeStatusToJSON(message.status);
|
|
13330
|
+
}
|
|
13331
|
+
if (message.level !== 0) {
|
|
13332
|
+
obj.level = message.level;
|
|
13333
|
+
}
|
|
13334
|
+
return obj;
|
|
13335
|
+
},
|
|
13336
|
+
create(base) {
|
|
13337
|
+
return exports.SurfaceUnitBatteryInfo.fromPartial(base ?? {});
|
|
13338
|
+
},
|
|
13339
|
+
fromPartial(object) {
|
|
13340
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
13341
|
+
message.status = object.status ?? 0;
|
|
13342
|
+
message.level = object.level ?? 0;
|
|
13343
|
+
return message;
|
|
13344
|
+
},
|
|
13345
|
+
};
|
|
13346
|
+
function createBaseSurfaceUnitVersionInfo() {
|
|
13347
|
+
return { version: "" };
|
|
13348
|
+
}
|
|
13349
|
+
exports.SurfaceUnitVersionInfo = {
|
|
13350
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13351
|
+
if (message.version !== "") {
|
|
13352
|
+
writer.uint32(10).string(message.version);
|
|
13353
|
+
}
|
|
13354
|
+
return writer;
|
|
13355
|
+
},
|
|
13356
|
+
decode(input, length) {
|
|
13357
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13358
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13359
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
13360
|
+
while (reader.pos < end) {
|
|
13361
|
+
const tag = reader.uint32();
|
|
13362
|
+
switch (tag >>> 3) {
|
|
13363
|
+
case 1: {
|
|
13364
|
+
if (tag !== 10) {
|
|
13365
|
+
break;
|
|
13366
|
+
}
|
|
13367
|
+
message.version = reader.string();
|
|
13368
|
+
continue;
|
|
13369
|
+
}
|
|
13370
|
+
}
|
|
13371
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13372
|
+
break;
|
|
13373
|
+
}
|
|
13374
|
+
reader.skip(tag & 7);
|
|
13375
|
+
}
|
|
13376
|
+
return message;
|
|
13377
|
+
},
|
|
13378
|
+
fromJSON(object) {
|
|
13379
|
+
return { version: isSet(object.version) ? gt.String(object.version) : "" };
|
|
13380
|
+
},
|
|
13381
|
+
toJSON(message) {
|
|
13382
|
+
const obj = {};
|
|
13383
|
+
if (message.version !== "") {
|
|
13384
|
+
obj.version = message.version;
|
|
13385
|
+
}
|
|
13386
|
+
return obj;
|
|
13387
|
+
},
|
|
13388
|
+
create(base) {
|
|
13389
|
+
return exports.SurfaceUnitVersionInfo.fromPartial(base ?? {});
|
|
13390
|
+
},
|
|
13391
|
+
fromPartial(object) {
|
|
13392
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
13393
|
+
message.version = object.version ?? "";
|
|
13394
|
+
return message;
|
|
13395
|
+
},
|
|
13396
|
+
};
|
|
13397
|
+
function createBaseFilterMessage() {
|
|
13398
|
+
return { enabled: false, intensity: 0 };
|
|
13399
|
+
}
|
|
13400
|
+
exports.FilterMessage = {
|
|
13401
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13402
|
+
if (message.enabled !== false) {
|
|
13403
|
+
writer.uint32(8).bool(message.enabled);
|
|
13404
|
+
}
|
|
13405
|
+
if (message.intensity !== 0) {
|
|
13406
|
+
writer.uint32(21).float(message.intensity);
|
|
13407
|
+
}
|
|
13408
|
+
return writer;
|
|
13409
|
+
},
|
|
13410
|
+
decode(input, length) {
|
|
13411
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13412
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13413
|
+
const message = createBaseFilterMessage();
|
|
13414
|
+
while (reader.pos < end) {
|
|
13415
|
+
const tag = reader.uint32();
|
|
13416
|
+
switch (tag >>> 3) {
|
|
13417
|
+
case 1: {
|
|
13418
|
+
if (tag !== 8) {
|
|
13419
|
+
break;
|
|
13420
|
+
}
|
|
13421
|
+
message.enabled = reader.bool();
|
|
13422
|
+
continue;
|
|
13423
|
+
}
|
|
13424
|
+
case 2: {
|
|
13425
|
+
if (tag !== 21) {
|
|
13426
|
+
break;
|
|
13427
|
+
}
|
|
13428
|
+
message.intensity = reader.float();
|
|
13429
|
+
continue;
|
|
13430
|
+
}
|
|
13431
|
+
}
|
|
13432
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13433
|
+
break;
|
|
13434
|
+
}
|
|
13435
|
+
reader.skip(tag & 7);
|
|
13436
|
+
}
|
|
13437
|
+
return message;
|
|
13438
|
+
},
|
|
13439
|
+
fromJSON(object) {
|
|
13440
|
+
return {
|
|
13441
|
+
enabled: isSet(object.enabled) ? gt.Boolean(object.enabled) : false,
|
|
13442
|
+
intensity: isSet(object.intensity) ? gt.Number(object.intensity) : 0,
|
|
13443
|
+
};
|
|
13444
|
+
},
|
|
13445
|
+
toJSON(message) {
|
|
13446
|
+
const obj = {};
|
|
13447
|
+
if (message.enabled !== false) {
|
|
13448
|
+
obj.enabled = message.enabled;
|
|
13449
|
+
}
|
|
13450
|
+
if (message.intensity !== 0) {
|
|
13451
|
+
obj.intensity = message.intensity;
|
|
13452
|
+
}
|
|
13453
|
+
return obj;
|
|
13454
|
+
},
|
|
13455
|
+
create(base) {
|
|
13456
|
+
return exports.FilterMessage.fromPartial(base ?? {});
|
|
13457
|
+
},
|
|
13458
|
+
fromPartial(object) {
|
|
13459
|
+
const message = createBaseFilterMessage();
|
|
13460
|
+
message.enabled = object.enabled ?? false;
|
|
13461
|
+
message.intensity = object.intensity ?? 0;
|
|
13462
|
+
return message;
|
|
13463
|
+
},
|
|
13464
|
+
};
|
|
12582
13465
|
const gt = (() => {
|
|
12583
13466
|
if (typeof globalThis !== "undefined") {
|
|
12584
13467
|
return globalThis;
|