pymammotion 0.5.69__py3-none-any.whl
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.
- pymammotion/__init__.py +53 -0
- pymammotion/agora/__init__.py +0 -0
- pymammotion/agora/agora_api.py +755 -0
- pymammotion/agora/agora_rtc_capabilities.py +748 -0
- pymammotion/agora/agora_websockets.py +1175 -0
- pymammotion/aliyun/__init__.py +1 -0
- pymammotion/aliyun/client.py +235 -0
- pymammotion/aliyun/cloud_gateway.py +982 -0
- pymammotion/aliyun/model/aep_response.py +21 -0
- pymammotion/aliyun/model/connect_response.py +51 -0
- pymammotion/aliyun/model/dev_by_account_response.py +195 -0
- pymammotion/aliyun/model/login_by_oauth_response.py +64 -0
- pymammotion/aliyun/model/regions_response.py +29 -0
- pymammotion/aliyun/model/session_by_authcode_response.py +19 -0
- pymammotion/aliyun/model/thing_response.py +12 -0
- pymammotion/aliyun/regions.py +62 -0
- pymammotion/aliyun/tea/core.py +297 -0
- pymammotion/aliyun/tmp_constant.py +171 -0
- pymammotion/bluetooth/__init__.py +1 -0
- pymammotion/bluetooth/ble.py +62 -0
- pymammotion/bluetooth/ble_message.py +676 -0
- pymammotion/bluetooth/const.py +27 -0
- pymammotion/bluetooth/data/__init__.py +0 -0
- pymammotion/bluetooth/data/convert.py +25 -0
- pymammotion/bluetooth/data/framectrldata.py +40 -0
- pymammotion/bluetooth/data/notifydata.py +62 -0
- pymammotion/bluetooth/model/__init__.py +0 -0
- pymammotion/bluetooth/model/atomic_integer.py +54 -0
- pymammotion/const.py +13 -0
- pymammotion/data/__init__.py +0 -0
- pymammotion/data/model/__init__.py +8 -0
- pymammotion/data/model/account.py +8 -0
- pymammotion/data/model/device.py +192 -0
- pymammotion/data/model/device_config.py +72 -0
- pymammotion/data/model/device_info.py +60 -0
- pymammotion/data/model/device_limits.py +49 -0
- pymammotion/data/model/enums.py +77 -0
- pymammotion/data/model/errors.py +12 -0
- pymammotion/data/model/events.py +14 -0
- pymammotion/data/model/generate_geojson.py +565 -0
- pymammotion/data/model/generate_route_information.py +26 -0
- pymammotion/data/model/hash_list.py +475 -0
- pymammotion/data/model/location.py +36 -0
- pymammotion/data/model/mowing_modes.py +77 -0
- pymammotion/data/model/rapid_state.py +45 -0
- pymammotion/data/model/raw_data.py +215 -0
- pymammotion/data/model/region_data.py +102 -0
- pymammotion/data/model/report_info.py +182 -0
- pymammotion/data/model/work.py +27 -0
- pymammotion/data/mower_state_manager.py +369 -0
- pymammotion/data/mqtt/__init__.py +1 -0
- pymammotion/data/mqtt/event.py +227 -0
- pymammotion/data/mqtt/mammotion_properties.py +276 -0
- pymammotion/data/mqtt/properties.py +203 -0
- pymammotion/data/mqtt/status.py +57 -0
- pymammotion/event/__init__.py +6 -0
- pymammotion/event/event.py +96 -0
- pymammotion/homeassistant/__init__.py +3 -0
- pymammotion/homeassistant/mower_api.py +514 -0
- pymammotion/homeassistant/rtk_api.py +54 -0
- pymammotion/http/__init__.py +0 -0
- pymammotion/http/encryption.py +220 -0
- pymammotion/http/http.py +673 -0
- pymammotion/http/model/__init__.py +0 -0
- pymammotion/http/model/camera_stream.py +31 -0
- pymammotion/http/model/http.py +249 -0
- pymammotion/http/model/response_factory.py +61 -0
- pymammotion/http/model/rtk.py +16 -0
- pymammotion/mammotion/__init__.py +0 -0
- pymammotion/mammotion/commands/__init__.py +0 -0
- pymammotion/mammotion/commands/abstract_message.py +24 -0
- pymammotion/mammotion/commands/mammotion_command.py +81 -0
- pymammotion/mammotion/commands/messages/__init__.py +0 -0
- pymammotion/mammotion/commands/messages/basestation.py +43 -0
- pymammotion/mammotion/commands/messages/driver.py +122 -0
- pymammotion/mammotion/commands/messages/media.py +87 -0
- pymammotion/mammotion/commands/messages/navigation.py +564 -0
- pymammotion/mammotion/commands/messages/network.py +205 -0
- pymammotion/mammotion/commands/messages/ota.py +38 -0
- pymammotion/mammotion/commands/messages/system.py +330 -0
- pymammotion/mammotion/commands/messages/video.py +33 -0
- pymammotion/mammotion/control/__init__.py +0 -0
- pymammotion/mammotion/control/joystick.py +145 -0
- pymammotion/mammotion/devices/__init__.py +29 -0
- pymammotion/mammotion/devices/base.py +163 -0
- pymammotion/mammotion/devices/mammotion.py +571 -0
- pymammotion/mammotion/devices/mammotion_bluetooth.py +496 -0
- pymammotion/mammotion/devices/mammotion_cloud.py +355 -0
- pymammotion/mammotion/devices/mammotion_mower_ble.py +48 -0
- pymammotion/mammotion/devices/mammotion_mower_cloud.py +39 -0
- pymammotion/mammotion/devices/managers/managers.py +81 -0
- pymammotion/mammotion/devices/mower_device.py +120 -0
- pymammotion/mammotion/devices/mower_manager.py +107 -0
- pymammotion/mammotion/devices/rtk_ble.py +89 -0
- pymammotion/mammotion/devices/rtk_cloud.py +115 -0
- pymammotion/mammotion/devices/rtk_device.py +50 -0
- pymammotion/mammotion/devices/rtk_manager.py +125 -0
- pymammotion/mqtt/__init__.py +6 -0
- pymammotion/mqtt/aliyun_mqtt.py +237 -0
- pymammotion/mqtt/linkkit/__init__.py +5 -0
- pymammotion/mqtt/linkkit/h2client.py +585 -0
- pymammotion/mqtt/linkkit/linkkit.py +3025 -0
- pymammotion/mqtt/mammotion_future.py +26 -0
- pymammotion/mqtt/mammotion_mqtt.py +214 -0
- pymammotion/mqtt/mqtt_models.py +66 -0
- pymammotion/proto/__init__.py +4841 -0
- pymammotion/proto/basestation.proto +51 -0
- pymammotion/proto/basestation_pb2.py +35 -0
- pymammotion/proto/basestation_pb2.pyi +89 -0
- pymammotion/proto/common.proto +7 -0
- pymammotion/proto/common_pb2.py +25 -0
- pymammotion/proto/common_pb2.pyi +13 -0
- pymammotion/proto/dev_net.proto +321 -0
- pymammotion/proto/dev_net_pb2.py +111 -0
- pymammotion/proto/dev_net_pb2.pyi +515 -0
- pymammotion/proto/luba_msg.proto +76 -0
- pymammotion/proto/luba_msg_pb2.py +41 -0
- pymammotion/proto/luba_msg_pb2.pyi +97 -0
- pymammotion/proto/luba_mul.proto +129 -0
- pymammotion/proto/luba_mul_pb2.py +61 -0
- pymammotion/proto/luba_mul_pb2.pyi +178 -0
- pymammotion/proto/mctrl_driver.proto +107 -0
- pymammotion/proto/mctrl_driver_pb2.py +57 -0
- pymammotion/proto/mctrl_driver_pb2.pyi +167 -0
- pymammotion/proto/mctrl_nav.proto +591 -0
- pymammotion/proto/mctrl_nav_pb2.py +136 -0
- pymammotion/proto/mctrl_nav_pb2.pyi +1067 -0
- pymammotion/proto/mctrl_ota.proto +80 -0
- pymammotion/proto/mctrl_ota_pb2.py +45 -0
- pymammotion/proto/mctrl_ota_pb2.pyi +128 -0
- pymammotion/proto/mctrl_pept.proto +34 -0
- pymammotion/proto/mctrl_pept_pb2.py +33 -0
- pymammotion/proto/mctrl_pept_pb2.pyi +58 -0
- pymammotion/proto/mctrl_sys.proto +741 -0
- pymammotion/proto/mctrl_sys_pb2.py +206 -0
- pymammotion/proto/mctrl_sys_pb2.pyi +1213 -0
- pymammotion/proto/message_pool.py +3 -0
- pymammotion/proto/py.typed +0 -0
- pymammotion/py.typed +0 -0
- pymammotion/utility/constant/__init__.py +3 -0
- pymammotion/utility/constant/device_constant.py +315 -0
- pymammotion/utility/conversions.py +5 -0
- pymammotion/utility/datatype_converter.py +124 -0
- pymammotion/utility/device_config.py +755 -0
- pymammotion/utility/device_type.py +489 -0
- pymammotion/utility/map.py +259 -0
- pymammotion/utility/movement.py +18 -0
- pymammotion/utility/mur_mur_hash.py +159 -0
- pymammotion/utility/periodic.py +106 -0
- pymammotion/utility/rocker_util.py +194 -0
- pymammotion-0.5.69.dist-info/METADATA +93 -0
- pymammotion-0.5.69.dist-info/RECORD +154 -0
- pymammotion-0.5.69.dist-info/WHEEL +4 -0
- pymammotion-0.5.69.dist-info/licenses/LICENSE +674 -0
|
@@ -0,0 +1,741 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
import "pymammotion/proto/dev_net.proto";
|
|
4
|
+
|
|
5
|
+
enum Operation {
|
|
6
|
+
WRITE = 0;
|
|
7
|
+
READ = 1;
|
|
8
|
+
ERASE = 2;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
enum OffPartId {
|
|
12
|
+
OFF_PART_DL_IMG = 0;
|
|
13
|
+
OFF_PART_UPDINFO_BACK = 1;
|
|
14
|
+
OFF_PART_UPDINFO = 2;
|
|
15
|
+
OFF_PART_NAKEDB = 3;
|
|
16
|
+
OFF_PART_FLASHDB = 4;
|
|
17
|
+
OFF_PART_UPD_APP_IMG = 5;
|
|
18
|
+
OFF_PART_UPD_BMS_IMG = 6;
|
|
19
|
+
OFF_PART_UPD_TMP_IMG = 7;
|
|
20
|
+
OFF_PART_DEV_INFO = 8;
|
|
21
|
+
OFF_PART_NAKEDB_BACK = 9;
|
|
22
|
+
OFF_PART_MAX = 10;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
enum QCAppTestId {
|
|
26
|
+
QC_APP_ITEM_ON_CHARGESATSTION = 0;
|
|
27
|
+
QC_APP_TEST_X3_SPEAKER = 1;
|
|
28
|
+
QC_APP_TEST_STATIC_OBSTACLE_DETECTION = 2;
|
|
29
|
+
QC_APP_TEST_CHARGESTATION_TEMP = 3;
|
|
30
|
+
QC_APP_ITEM_KEY = 4;
|
|
31
|
+
QC_APP_TEST_BUMPER_FRONTLEFT = 5;
|
|
32
|
+
QC_APP_TEST_BUMPER_FRONTRIGHT = 6;
|
|
33
|
+
QC_APP_TEST_STOP = 7;
|
|
34
|
+
QC_APP_TEST_UNLOCK = 8;
|
|
35
|
+
QC_APP_TEST_BUZZ = 9;
|
|
36
|
+
QC_APP_TEST_LIFT = 10;
|
|
37
|
+
QC_APP_ITEM_SENEOR = 11;
|
|
38
|
+
QC_APP_TEST_ROLL_LEFT = 12;
|
|
39
|
+
QC_APP_TEST_ROLL_RIGHT = 13;
|
|
40
|
+
QC_APP_TEST_ULTRA_UNCOVER = 14;
|
|
41
|
+
QC_APP_TEST_ULTRA0_COVER = 15;
|
|
42
|
+
QC_APP_TEST_ULTRA1_COVER = 16;
|
|
43
|
+
QC_APP_TEST_ULTRA2_COVER = 17;
|
|
44
|
+
QC_APP_TEST_RAIN = 18;
|
|
45
|
+
QC_APP_ITEM_SQ = 19;
|
|
46
|
+
QC_APP_TEST_BLE_RSSI = 20;
|
|
47
|
+
QC_APP_TEST_SATELLITES_ROVER = 21;
|
|
48
|
+
QC_APP_TEST_SATELLITES_REF_STATION_L1 = 22;
|
|
49
|
+
QC_APP_TEST_SATELLITES_REF_STATION_L2 = 23;
|
|
50
|
+
QC_APP_TEST_SATELLITES_COMMON_VIEW = 24;
|
|
51
|
+
QC_APP_TEST_CNO_ROVER = 25;
|
|
52
|
+
QC_APP_TEST_CNO_REF_STATION = 26;
|
|
53
|
+
QC_APP_TEST_REF_STATION_LINK_STATUS = 27;
|
|
54
|
+
QC_APP_TEST_LOCATION_STATE = 28;
|
|
55
|
+
QC_APP_TEST_CHARGE_STATUS = 29;
|
|
56
|
+
QC_APP_TEST_PPS_EXTI_COUNT = 30;
|
|
57
|
+
QC_APP_TEST_SAFE_KEY = 50;
|
|
58
|
+
QC_APP_TEST_LORA_RSSI = 60;
|
|
59
|
+
QC_APP_TEST_WIPER_TEST = 80;
|
|
60
|
+
QC_APP_TEST_HEADLAMP_TEST = 81;
|
|
61
|
+
QC_APP_TEST_COMPLETE_SIGNAL = 99;
|
|
62
|
+
QC_APP_TEST_MAX = 100;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
enum rtk_used_type {
|
|
66
|
+
RTK_USED_LORA = 0;
|
|
67
|
+
RTK_USED_INTERNET = 1;
|
|
68
|
+
RTK_USED_NRTK = 2;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
enum net_used_type {
|
|
72
|
+
NET_USED_TYPE_NONE = 0;
|
|
73
|
+
NET_USED_TYPE_WIFI = 1;
|
|
74
|
+
NET_USED_TYPE_MNET = 2;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
enum rpt_info_type {
|
|
78
|
+
RIT_CONNECT = 0;
|
|
79
|
+
RIT_DEV_STA = 1;
|
|
80
|
+
RIT_RTK = 2;
|
|
81
|
+
RIT_DEV_LOCAL = 3;
|
|
82
|
+
RIT_WORK = 4;
|
|
83
|
+
RIT_FW_INFO = 5;
|
|
84
|
+
RIT_MAINTAIN = 6;
|
|
85
|
+
RIT_VISION_POINT = 7;
|
|
86
|
+
RIT_VIO = 8;
|
|
87
|
+
RIT_VISION_STATISTIC = 9;
|
|
88
|
+
RIT_BASESTATION_INFO = 10;
|
|
89
|
+
RIT_CUTTER_INFO = 11;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
enum rpt_act {
|
|
93
|
+
RPT_START = 0;
|
|
94
|
+
RPT_STOP = 1;
|
|
95
|
+
RPT_KEEP = 2;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
enum Command_Result {
|
|
99
|
+
RS_OK = 0;
|
|
100
|
+
RS_FAIL_MAGIC = 1;
|
|
101
|
+
RS_FAIL_OTA = 2;
|
|
102
|
+
RS_FAIL_SLOPE = 3;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
message SysBatUp {
|
|
106
|
+
int32 batVal = 1;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
message SysWorkState {
|
|
110
|
+
int32 deviceState = 1;
|
|
111
|
+
int32 chargeState = 2;
|
|
112
|
+
int64 cmHash = 3;
|
|
113
|
+
int64 pathHash = 4;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
message SysSetTimeZone {
|
|
117
|
+
int32 timeStamp = 1;
|
|
118
|
+
int32 timeArea = 2;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
message SysSetDateTime {
|
|
122
|
+
int32 Year = 1;
|
|
123
|
+
int32 Month = 2;
|
|
124
|
+
int32 Date = 3;
|
|
125
|
+
int32 Week = 4;
|
|
126
|
+
int32 Hours = 5;
|
|
127
|
+
int32 Minutes = 6;
|
|
128
|
+
int32 Seconds = 7;
|
|
129
|
+
int32 timeZone = 8;
|
|
130
|
+
int32 daylight = 9;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
message SysJobPlan {
|
|
134
|
+
int64 jobId = 1;
|
|
135
|
+
int32 jobMode = 2;
|
|
136
|
+
int32 rainTactics = 3;
|
|
137
|
+
int32 knifeHeight = 4;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
message SysDevErrCode {
|
|
141
|
+
int32 errorCode = 1;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
message SysBoardType {
|
|
145
|
+
int32 boardType = 1;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
message SysSwVersion {
|
|
149
|
+
int32 boardType = 1;
|
|
150
|
+
int32 versionLen = 2;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
message SysDelJobPlan {
|
|
154
|
+
string deviceId = 1;
|
|
155
|
+
string planId = 2;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
message SysJobPlanTime {
|
|
159
|
+
int64 planId = 1;
|
|
160
|
+
int32 start_job_time = 2;
|
|
161
|
+
int32 end_job_time = 3;
|
|
162
|
+
int32 time_in_day = 4;
|
|
163
|
+
int32 job_plan_mode = 5;
|
|
164
|
+
int32 job_plan_enable = 6;
|
|
165
|
+
repeated int32 weekDay = 7;
|
|
166
|
+
repeated int32 timeInWeekDay = 8;
|
|
167
|
+
int32 everyDay = 9;
|
|
168
|
+
SysJobPlan job_plan = 10;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
message SysMowInfo {
|
|
172
|
+
int32 deviceState = 1;
|
|
173
|
+
int32 batVal = 2;
|
|
174
|
+
int32 knifeHeight = 3;
|
|
175
|
+
int32 RTKstatus = 4;
|
|
176
|
+
int32 RTKstars = 5;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
message SysOptiLineAck {
|
|
180
|
+
int32 responesCmd = 1;
|
|
181
|
+
int32 currentFrame = 2;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
message SysCommCmd {
|
|
185
|
+
int32 rw = 1;
|
|
186
|
+
int32 id = 2;
|
|
187
|
+
int32 context = 3;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
message SysUploadFileProgress {
|
|
191
|
+
string bizId = 1;
|
|
192
|
+
int32 result = 2;
|
|
193
|
+
int32 progress = 3;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
message SysErrorCode {
|
|
197
|
+
int32 code_no = 1;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
message SysBorder {
|
|
201
|
+
int32 borderval = 1;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
message SysPlanJobStatus {
|
|
205
|
+
int32 planjob_status = 1;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
message SysKnifeControl {
|
|
209
|
+
int32 knife_status = 1;
|
|
210
|
+
int32 knife_height = 2;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
message SysResetSystemStatus {
|
|
214
|
+
int32 reset_staus = 1;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
message SysResetBladeUsedTimeStatus {
|
|
218
|
+
int32 reset_blade_used_time_status = 1;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
message TimeCtrlLight {
|
|
222
|
+
int32 operate = 1;
|
|
223
|
+
int32 enable = 2;
|
|
224
|
+
int32 start_hour = 3;
|
|
225
|
+
int32 start_min = 4;
|
|
226
|
+
int32 end_hour = 5;
|
|
227
|
+
int32 end_min = 6;
|
|
228
|
+
int32 action = 7;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
message vision_point_msg {
|
|
232
|
+
float x = 1;
|
|
233
|
+
float y = 2;
|
|
234
|
+
float z = 3;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
message vision_point_info_msg {
|
|
238
|
+
int32 label = 1;
|
|
239
|
+
int32 num = 2;
|
|
240
|
+
repeated vision_point_msg vision_point = 3;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
message vio_to_app_info_msg {
|
|
244
|
+
double x = 1;
|
|
245
|
+
double y = 2;
|
|
246
|
+
double heading = 3;
|
|
247
|
+
int32 vio_state = 4;
|
|
248
|
+
int32 brightness = 5;
|
|
249
|
+
int32 detect_feature_num = 6;
|
|
250
|
+
int32 track_feature_num = 7;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
message vision_statistic_msg {
|
|
254
|
+
float mean = 1;
|
|
255
|
+
float var = 2;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
message vision_statistic_info_msg {
|
|
259
|
+
double timestamp = 1;
|
|
260
|
+
int32 num = 2;
|
|
261
|
+
repeated vision_statistic_msg vision_statistics = 3;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
message systemRapidStateTunnel_msg {
|
|
265
|
+
repeated int64 rapid_state_data = 1;
|
|
266
|
+
repeated vision_point_info_msg vision_point_info = 2;
|
|
267
|
+
vio_to_app_info_msg vio_to_app_info = 3;
|
|
268
|
+
vision_statistic_info_msg vision_statistic_info = 4;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
message systemTardStateTunnel_msg {
|
|
272
|
+
repeated int64 tard_state_data = 1;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
message systemUpdateBuf_msg {
|
|
276
|
+
repeated int64 update_buf_data = 1;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
message SysOffChipFlash {
|
|
280
|
+
Operation op = 1;
|
|
281
|
+
OffPartId id = 2;
|
|
282
|
+
uint32 start_addr = 3;
|
|
283
|
+
uint32 offset = 4;
|
|
284
|
+
int32 length = 5;
|
|
285
|
+
bytes data = 6;
|
|
286
|
+
int32 code = 7;
|
|
287
|
+
string msg = 8;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
message systemTmpCycleTx_msg {
|
|
291
|
+
repeated int64 cycle_tx_data = 1;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
message LoraCfgReq {
|
|
295
|
+
int32 op = 1;
|
|
296
|
+
string cfg = 2;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
message LoraCfgRsp {
|
|
300
|
+
int32 result = 1;
|
|
301
|
+
int32 op = 2;
|
|
302
|
+
string cfg = 3;
|
|
303
|
+
bytes fac_cfg = 4;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
message mod_fw_info {
|
|
307
|
+
int32 type = 1;
|
|
308
|
+
string identify = 2;
|
|
309
|
+
string version = 3;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
message device_fw_info {
|
|
313
|
+
int32 result = 1;
|
|
314
|
+
string version = 2;
|
|
315
|
+
repeated mod_fw_info mod = 3;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
message mow_to_app_info_t {
|
|
319
|
+
int32 type = 1;
|
|
320
|
+
int32 cmd = 2;
|
|
321
|
+
repeated int32 mow_data = 3;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
message device_product_type_info_t {
|
|
325
|
+
int32 result = 1;
|
|
326
|
+
string main_product_type = 2;
|
|
327
|
+
string sub_product_type = 3;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
message QCAppTestExcept {
|
|
331
|
+
string except_type = 1;
|
|
332
|
+
repeated QCAppTestConditions conditions = 2;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
message QCAppTestConditions {
|
|
336
|
+
string cond_type = 1;
|
|
337
|
+
int32 int_val = 2;
|
|
338
|
+
float float_val = 3;
|
|
339
|
+
double double_val = 4;
|
|
340
|
+
string string_val = 5;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
message mow_to_app_qctools_info_t {
|
|
344
|
+
QCAppTestId type = 1;
|
|
345
|
+
int32 timeOfDuration = 2;
|
|
346
|
+
int32 result = 3;
|
|
347
|
+
string result_details = 4;
|
|
348
|
+
repeated QCAppTestExcept except = 5;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
message mCtrlSimulationCmdData {
|
|
352
|
+
int32 subCmd = 1;
|
|
353
|
+
int32 param_id = 2;
|
|
354
|
+
repeated int32 param_value = 3;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
message app_to_dev_get_mqtt_config_t {
|
|
358
|
+
int32 get_mqtt_config = 1;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
message dev_to_app_get_mqtt_config_t {
|
|
362
|
+
int32 rtk_status = 1;
|
|
363
|
+
string rtk_base_num = 2;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
message app_to_dev_set_mqtt_rtk_t {
|
|
367
|
+
rtk_used_type set_rtk_mode = 1;
|
|
368
|
+
int32 stop_nrtk_flag = 2;
|
|
369
|
+
int32 set_nrtk_net_mode = 3;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
message dev_to_app_set_mqtt_rtk_t {
|
|
373
|
+
int32 set_rtk_mode_error = 1;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
message rpt_lora {
|
|
377
|
+
int32 pair_code_scan = 1;
|
|
378
|
+
int32 pair_code_channel = 2;
|
|
379
|
+
int32 pair_code_locid = 3;
|
|
380
|
+
int32 pair_code_netid = 4;
|
|
381
|
+
int32 lora_connection_status = 5;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
message mqtt_rtk_connect {
|
|
385
|
+
rtk_used_type rtk_switch = 1;
|
|
386
|
+
int32 rtk_channel = 2;
|
|
387
|
+
string rtk_base_num = 3;
|
|
388
|
+
double latitude = 4;
|
|
389
|
+
double longitude = 5;
|
|
390
|
+
int32 nrtk_map_convert_status = 6;
|
|
391
|
+
int32 nrtk_net_mode = 7;
|
|
392
|
+
int32 new_rtk_mode = 8;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
message pos_score {
|
|
396
|
+
uint32 rover_score = 1;
|
|
397
|
+
uint32 rover_level = 2;
|
|
398
|
+
uint32 base_score = 3;
|
|
399
|
+
uint32 base_level = 4;
|
|
400
|
+
uint32 base_moved = 5;
|
|
401
|
+
uint32 base_moving = 6;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
message rpt_rtk {
|
|
405
|
+
int32 status = 1;
|
|
406
|
+
int32 pos_level = 2;
|
|
407
|
+
int32 gps_stars = 3;
|
|
408
|
+
int32 age = 4;
|
|
409
|
+
int32 lat_std = 5;
|
|
410
|
+
int32 lon_std = 6;
|
|
411
|
+
int32 l2_stars = 7;
|
|
412
|
+
int64 dis_status = 8;
|
|
413
|
+
int64 top4_total_mean = 9;
|
|
414
|
+
int32 co_view_stars = 10;
|
|
415
|
+
int32 reset = 11;
|
|
416
|
+
rpt_lora lora_info = 12;
|
|
417
|
+
mqtt_rtk_connect mqtt_rtk_info = 13;
|
|
418
|
+
pos_score score_info = 14;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
message rpt_dev_location {
|
|
422
|
+
int32 real_pos_x = 1;
|
|
423
|
+
int32 real_pos_y = 2;
|
|
424
|
+
int32 real_toward = 3;
|
|
425
|
+
int32 pos_type = 4;
|
|
426
|
+
int64 zone_hash = 5;
|
|
427
|
+
int64 bol_hash = 6;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
message vio_survival_info_t {
|
|
431
|
+
float vio_survival_distance = 1;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
message collector_status_t {
|
|
435
|
+
int32 collector_installation_status = 1;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
message lock_state_t {
|
|
439
|
+
uint32 lock_state = 1;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
message rpt_dev_status {
|
|
443
|
+
int32 sys_status = 1;
|
|
444
|
+
int32 charge_state = 2;
|
|
445
|
+
int32 battery_val = 3;
|
|
446
|
+
int32 sensor_status = 4;
|
|
447
|
+
int32 last_status = 5;
|
|
448
|
+
int64 sys_time_stamp = 6;
|
|
449
|
+
int32 vslam_status = 7;
|
|
450
|
+
MnetInfo mnet_info = 8;
|
|
451
|
+
vio_survival_info_t vio_survival_info = 9;
|
|
452
|
+
collector_status_t collector_status = 10;
|
|
453
|
+
lock_state_t lock_state = 11;
|
|
454
|
+
uint32 self_check_status = 12;
|
|
455
|
+
fpv_to_app_info_t fpv_info = 13;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
message net_speed {
|
|
459
|
+
uint32 download = 1;
|
|
460
|
+
uint32 upload = 2;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
message rpt_connect_status {
|
|
464
|
+
int32 connect_type = 1;
|
|
465
|
+
int32 ble_rssi = 2;
|
|
466
|
+
int32 wifi_rssi = 3;
|
|
467
|
+
int32 link_type = 4;
|
|
468
|
+
int32 mnet_rssi = 5;
|
|
469
|
+
int32 mnet_inet = 6;
|
|
470
|
+
net_used_type used_net = 7;
|
|
471
|
+
MnetCfg mnet_cfg = 8;
|
|
472
|
+
net_speed dev_net_speed = 9;
|
|
473
|
+
bool iot_wifi_report = 10;
|
|
474
|
+
int32 iot_con_status = 11;
|
|
475
|
+
int32 wifi_con_status = 12;
|
|
476
|
+
int32 wifi_is_available = 13;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
message nav_heading_state_t {
|
|
480
|
+
uint32 heading_state = 1;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
message rpt_work {
|
|
484
|
+
int32 plan = 1;
|
|
485
|
+
int64 path_hash = 2;
|
|
486
|
+
int32 progress = 3;
|
|
487
|
+
int32 area = 4;
|
|
488
|
+
int32 bp_info = 5;
|
|
489
|
+
int64 bp_hash = 6;
|
|
490
|
+
int32 bp_pos_x = 7;
|
|
491
|
+
int32 bp_pos_y = 8;
|
|
492
|
+
int64 real_path_num = 9;
|
|
493
|
+
int32 path_pos_x = 10;
|
|
494
|
+
int32 path_pos_y = 11;
|
|
495
|
+
int64 ub_zone_hash = 12;
|
|
496
|
+
int64 ub_path_hash = 13;
|
|
497
|
+
int64 init_cfg_hash = 14;
|
|
498
|
+
int64 ub_ecode_hash = 15;
|
|
499
|
+
int32 nav_run_mode = 16;
|
|
500
|
+
int64 test_mode_status = 17;
|
|
501
|
+
int32 man_run_speed = 18;
|
|
502
|
+
int32 nav_edit_status = 19;
|
|
503
|
+
int32 knife_height = 20;
|
|
504
|
+
nav_heading_state_t nav_heading_state = 21;
|
|
505
|
+
float cutter_offset = 22;
|
|
506
|
+
float cutter_width = 23;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
message blade_used {
|
|
510
|
+
int32 blade_used_time = 1;
|
|
511
|
+
int32 blade_used_warn_time = 2;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
message user_set_blade_used_warn_time {
|
|
515
|
+
int32 blade_used_warn_time = 1;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
message rpt_maintain {
|
|
519
|
+
int64 mileage = 1;
|
|
520
|
+
int32 work_time = 2;
|
|
521
|
+
int32 bat_cycles = 3;
|
|
522
|
+
blade_used blade_used_time = 4;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
message fpv_to_app_info_t {
|
|
526
|
+
int32 fpv_flag = 1;
|
|
527
|
+
int32 wifi_available = 2;
|
|
528
|
+
int32 mobile_net_available = 3;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
message rpt_basestation_info {
|
|
532
|
+
uint32 ver_major = 1;
|
|
533
|
+
uint32 ver_minor = 2;
|
|
534
|
+
uint32 ver_patch = 3;
|
|
535
|
+
uint32 ver_build = 4;
|
|
536
|
+
uint32 basestation_status = 5;
|
|
537
|
+
uint32 connect_status_since_poweron = 6;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
message report_info_cfg {
|
|
541
|
+
rpt_act act = 1;
|
|
542
|
+
int32 timeout = 2;
|
|
543
|
+
int32 period = 3;
|
|
544
|
+
int32 no_change_period = 4;
|
|
545
|
+
int32 count = 5;
|
|
546
|
+
repeated rpt_info_type sub = 6;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
message report_info_data {
|
|
550
|
+
rpt_connect_status connect = 1;
|
|
551
|
+
rpt_dev_status dev = 2;
|
|
552
|
+
rpt_rtk rtk = 3;
|
|
553
|
+
repeated rpt_dev_location locations = 4;
|
|
554
|
+
rpt_work work = 5;
|
|
555
|
+
device_fw_info fw_info = 6;
|
|
556
|
+
rpt_maintain maintain = 7;
|
|
557
|
+
repeated vision_point_info_msg vision_point_info = 8;
|
|
558
|
+
vio_to_app_info_msg vio_to_app_info = 9;
|
|
559
|
+
vision_statistic_info_msg vision_statistic_info = 10;
|
|
560
|
+
rpt_basestation_info basestation_info = 11;
|
|
561
|
+
rpt_cutter_rpm cutter_work_mode_info = 12;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
message debug_common_report_t {
|
|
565
|
+
string m_name = 1;
|
|
566
|
+
string key = 2;
|
|
567
|
+
string value = 3;
|
|
568
|
+
int64 gen_time = 4;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
message debug_errocode_report_t {
|
|
572
|
+
int32 code = 1;
|
|
573
|
+
string mname = 2;
|
|
574
|
+
string value = 3;
|
|
575
|
+
int64 gen_time = 4;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
message debug_enable_t {
|
|
579
|
+
int32 enbale = 1;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
message debug_res_cfg_ability_t {
|
|
583
|
+
int32 total_keys = 1;
|
|
584
|
+
int32 cur_key_id = 2;
|
|
585
|
+
string keys = 3;
|
|
586
|
+
string value = 4;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
message debug_cfg_read_t {
|
|
590
|
+
string key = 1;
|
|
591
|
+
string value = 2;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
message debug_cfg_write_t {
|
|
595
|
+
string key = 1;
|
|
596
|
+
string value = 2;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
message msgbus_pkt {
|
|
600
|
+
int32 type = 1;
|
|
601
|
+
int32 typeCommand = 2;
|
|
602
|
+
int32 recvDeviceId = 3;
|
|
603
|
+
int32 sendDeviceId = 4;
|
|
604
|
+
int32 dataLength = 5;
|
|
605
|
+
string data = 6;
|
|
606
|
+
int32 ctrl = 7;
|
|
607
|
+
int32 flag = 8;
|
|
608
|
+
int32 seqs = 9;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
message response_set_mode_t {
|
|
612
|
+
int32 statue = 1;
|
|
613
|
+
int32 set_work_mode = 2;
|
|
614
|
+
int32 cur_work_mode = 3;
|
|
615
|
+
int64 start_work_time = 4;
|
|
616
|
+
int64 end_work_time = 5;
|
|
617
|
+
int32 interruptflag = 6;
|
|
618
|
+
int32 cur_work_time = 7;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
message rpt_cutter_rpm {
|
|
622
|
+
int32 current_cutter_mode = 1;
|
|
623
|
+
int32 current_cutter_rpm = 2;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
message dev_statue_t {
|
|
627
|
+
int32 sys_status = 1;
|
|
628
|
+
int32 charge_status = 2;
|
|
629
|
+
int32 bat_val = 3;
|
|
630
|
+
int32 wheel_status = 4;
|
|
631
|
+
int32 pump_status = 5;
|
|
632
|
+
int32 work_mode = 6;
|
|
633
|
+
int32 model = 7;
|
|
634
|
+
int32 ble_rssi = 8;
|
|
635
|
+
int32 wifi_rssi = 9;
|
|
636
|
+
int32 wifi_connect_status = 10;
|
|
637
|
+
int32 iot_connect_status = 11;
|
|
638
|
+
int32 wifi_available = 12;
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
message report_info_t {
|
|
642
|
+
dev_statue_t dev_status = 1;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
message work_mode_t {
|
|
646
|
+
int32 work_mode = 1;
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
message special_mode_t {
|
|
650
|
+
int32 stair_mode = 1;
|
|
651
|
+
int32 violent_mode = 2;
|
|
652
|
+
int32 berthing_mode = 3;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
message set_peripherals_t {
|
|
656
|
+
int32 buzz_enable = 1;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
message debug_sun_time_t {
|
|
660
|
+
int32 subCmd = 1;
|
|
661
|
+
int32 sunRiseTime = 2;
|
|
662
|
+
int32 sunSetTime = 3;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
message remote_reset_req_t {
|
|
666
|
+
int32 magic = 1;
|
|
667
|
+
int64 bizid = 2;
|
|
668
|
+
int32 reset_mode = 3;
|
|
669
|
+
int32 force_reset = 4;
|
|
670
|
+
int64 account = 5;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
message remote_reset_rsp_t {
|
|
674
|
+
int32 magic = 1;
|
|
675
|
+
int64 bizid = 2;
|
|
676
|
+
Command_Result result = 3;
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
message MctlSys {
|
|
680
|
+
oneof SubSysMsg {
|
|
681
|
+
SysBatUp toapp_batinfo = 1;
|
|
682
|
+
SysWorkState toapp_work_state = 2;
|
|
683
|
+
SysSetTimeZone todev_time_zone = 3;
|
|
684
|
+
SysSetDateTime todev_data_time = 4;
|
|
685
|
+
SysJobPlan job_plan = 6;
|
|
686
|
+
SysDevErrCode toapp_err_code = 7;
|
|
687
|
+
SysJobPlanTime todev_job_plan_time = 10;
|
|
688
|
+
SysMowInfo toapp_mow_info = 11;
|
|
689
|
+
SysCommCmd bidire_comm_cmd = 12;
|
|
690
|
+
int64 plan_job_del = 14;
|
|
691
|
+
SysBorder border = 15;
|
|
692
|
+
SysPlanJobStatus toapp_plan_status = 18;
|
|
693
|
+
SysUploadFileProgress toapp_ul_fprogress = 19;
|
|
694
|
+
SysDelJobPlan todev_deljobplan = 20;
|
|
695
|
+
int32 todev_mow_info_up = 21;
|
|
696
|
+
SysKnifeControl todev_knife_ctrl = 22;
|
|
697
|
+
int32 todev_reset_system = 23;
|
|
698
|
+
SysResetSystemStatus todev_reset_system_status = 24;
|
|
699
|
+
systemRapidStateTunnel_msg systemRapidStateTunnel = 25;
|
|
700
|
+
systemTardStateTunnel_msg systemTardStateTunnel = 26;
|
|
701
|
+
systemUpdateBuf_msg systemUpdateBuf = 27;
|
|
702
|
+
TimeCtrlLight todev_time_ctrl_light = 28;
|
|
703
|
+
systemTmpCycleTx_msg systemTmpCycleTx = 29;
|
|
704
|
+
SysOffChipFlash todev_off_chip_flash = 30;
|
|
705
|
+
int32 todev_get_dev_fw_info = 31;
|
|
706
|
+
device_fw_info toapp_dev_fw_info = 32;
|
|
707
|
+
LoraCfgReq todev_lora_cfg_req = 33;
|
|
708
|
+
LoraCfgRsp toapp_lora_cfg_rsp = 34;
|
|
709
|
+
mow_to_app_info_t mow_to_app_info = 35;
|
|
710
|
+
device_product_type_info_t device_product_type_info = 36;
|
|
711
|
+
mow_to_app_qctools_info_t mow_to_app_qctools_info = 37;
|
|
712
|
+
report_info_cfg todev_report_cfg = 38;
|
|
713
|
+
report_info_data toapp_report_data = 39;
|
|
714
|
+
mCtrlSimulationCmdData simulation_cmd = 42;
|
|
715
|
+
app_to_dev_get_mqtt_config_t app_to_dev_get_mqtt_config_msg = 43;
|
|
716
|
+
dev_to_app_get_mqtt_config_t dev_to_app_get_mqtt_config_msg = 44;
|
|
717
|
+
app_to_dev_set_mqtt_rtk_t app_to_dev_set_mqtt_rtk_msg = 45;
|
|
718
|
+
dev_to_app_set_mqtt_rtk_t dev_to_app_set_mqtt_rtk_msg = 46;
|
|
719
|
+
int32 todev_reset_blade_used_time = 47;
|
|
720
|
+
SysResetBladeUsedTimeStatus todev_reset_blade_used_time_status = 48;
|
|
721
|
+
int32 todev_factor_reset_system = 49;
|
|
722
|
+
user_set_blade_used_warn_time blade_used_warn_time = 50;
|
|
723
|
+
debug_common_report_t debug_common_report = 51;
|
|
724
|
+
debug_errocode_report_t debug_errocode_report = 52;
|
|
725
|
+
debug_enable_t debug_enable = 53;
|
|
726
|
+
debug_cfg_read_t debug_cfg_read = 54;
|
|
727
|
+
debug_cfg_write_t debug_cfg_write = 55;
|
|
728
|
+
debug_res_cfg_ability_t debug_res_cfg_ability = 56;
|
|
729
|
+
msgbus_pkt to_dev_msgbus = 57;
|
|
730
|
+
msgbus_pkt to_app_msgbus = 58;
|
|
731
|
+
response_set_mode_t response_set_mode = 59;
|
|
732
|
+
report_info_t report_info = 60;
|
|
733
|
+
work_mode_t set_work_mode = 61;
|
|
734
|
+
special_mode_t set_special_mode = 62;
|
|
735
|
+
set_peripherals_t set_peripherals = 63;
|
|
736
|
+
debug_sun_time_t to_dev_set_sun_time = 64;
|
|
737
|
+
remote_reset_req_t to_dev_remote_reset = 65;
|
|
738
|
+
remote_reset_rsp_t to_app_remote_reset = 66;
|
|
739
|
+
rpt_cutter_rpm current_cutter_mode = 67;
|
|
740
|
+
}
|
|
741
|
+
}
|