pymammotion 0.0.37__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.

Potentially problematic release.


This version of pymammotion might be problematic. Click here for more details.

Files changed (106) hide show
  1. pymammotion/__init__.py +43 -0
  2. pymammotion/aliyun/cloud_gateway.py +549 -0
  3. pymammotion/aliyun/cloud_service.py +65 -0
  4. pymammotion/aliyun/dataclass/aep_response.py +18 -0
  5. pymammotion/aliyun/dataclass/connect_response.py +51 -0
  6. pymammotion/aliyun/dataclass/dev_by_account_response.py +43 -0
  7. pymammotion/aliyun/dataclass/login_by_oauth_response.py +65 -0
  8. pymammotion/aliyun/dataclass/regions_response.py +26 -0
  9. pymammotion/aliyun/dataclass/session_by_authcode_response.py +18 -0
  10. pymammotion/aliyun/tmp_constant.py +175 -0
  11. pymammotion/bluetooth/__init__.py +1 -0
  12. pymammotion/bluetooth/ble.py +74 -0
  13. pymammotion/bluetooth/ble_message.py +430 -0
  14. pymammotion/bluetooth/const.py +27 -0
  15. pymammotion/bluetooth/data/__init__.py +0 -0
  16. pymammotion/bluetooth/data/convert.py +26 -0
  17. pymammotion/bluetooth/data/framectrldata.py +40 -0
  18. pymammotion/bluetooth/data/notifydata.py +63 -0
  19. pymammotion/const.py +9 -0
  20. pymammotion/data/__init__.py +0 -0
  21. pymammotion/data/model/__init__.py +8 -0
  22. pymammotion/data/model/device.py +157 -0
  23. pymammotion/data/model/enums.py +67 -0
  24. pymammotion/data/model/excute_boarder_params.py +48 -0
  25. pymammotion/data/model/execute_boarder.py +36 -0
  26. pymammotion/data/model/generate_route_information.py +133 -0
  27. pymammotion/data/model/hash_list.py +17 -0
  28. pymammotion/data/model/mowing_modes.py +37 -0
  29. pymammotion/data/model/plan.py +58 -0
  30. pymammotion/data/model/rapid_state.py +45 -0
  31. pymammotion/data/model/region_data.py +99 -0
  32. pymammotion/data/mqtt/__init__.py +1 -0
  33. pymammotion/data/mqtt/event.py +90 -0
  34. pymammotion/data/mqtt/properties.py +140 -0
  35. pymammotion/data/mqtt/status.py +52 -0
  36. pymammotion/event/__init__.py +6 -0
  37. pymammotion/event/event.py +50 -0
  38. pymammotion/http/_init_.py +0 -0
  39. pymammotion/http/http.py +76 -0
  40. pymammotion/luba/_init_.py +0 -0
  41. pymammotion/luba/base.py +52 -0
  42. pymammotion/mammotion/__init__.py +0 -0
  43. pymammotion/mammotion/commands/__init__.py +0 -0
  44. pymammotion/mammotion/commands/abstract_message.py +7 -0
  45. pymammotion/mammotion/commands/mammotion_command.py +34 -0
  46. pymammotion/mammotion/commands/messages/__init__.py +0 -0
  47. pymammotion/mammotion/commands/messages/driver.py +108 -0
  48. pymammotion/mammotion/commands/messages/media.py +36 -0
  49. pymammotion/mammotion/commands/messages/navigation.py +535 -0
  50. pymammotion/mammotion/commands/messages/network.py +236 -0
  51. pymammotion/mammotion/commands/messages/ota.py +34 -0
  52. pymammotion/mammotion/commands/messages/system.py +266 -0
  53. pymammotion/mammotion/commands/messages/video.py +27 -0
  54. pymammotion/mammotion/control/__init__.py +0 -0
  55. pymammotion/mammotion/control/joystick.py +184 -0
  56. pymammotion/mammotion/devices/__init__.py +1 -0
  57. pymammotion/mammotion/devices/luba.py +564 -0
  58. pymammotion/mqtt/mqtt.py +230 -0
  59. pymammotion/proto/__init__.py +0 -0
  60. pymammotion/proto/common.proto +7 -0
  61. pymammotion/proto/common.py +12 -0
  62. pymammotion/proto/common_pb2.py +25 -0
  63. pymammotion/proto/common_pb2.pyi +13 -0
  64. pymammotion/proto/dev_net.proto +297 -0
  65. pymammotion/proto/dev_net.py +381 -0
  66. pymammotion/proto/dev_net_pb2.py +107 -0
  67. pymammotion/proto/dev_net_pb2.pyi +472 -0
  68. pymammotion/proto/luba_msg.proto +73 -0
  69. pymammotion/proto/luba_msg.py +80 -0
  70. pymammotion/proto/luba_msg_pb2.py +40 -0
  71. pymammotion/proto/luba_msg_pb2.pyi +93 -0
  72. pymammotion/proto/luba_mul.proto +68 -0
  73. pymammotion/proto/luba_mul.py +76 -0
  74. pymammotion/proto/luba_mul_pb2.py +45 -0
  75. pymammotion/proto/luba_mul_pb2.pyi +91 -0
  76. pymammotion/proto/mctrl_driver.proto +67 -0
  77. pymammotion/proto/mctrl_driver.py +100 -0
  78. pymammotion/proto/mctrl_driver_pb2.py +45 -0
  79. pymammotion/proto/mctrl_driver_pb2.pyi +112 -0
  80. pymammotion/proto/mctrl_nav.proto +485 -0
  81. pymammotion/proto/mctrl_nav.py +589 -0
  82. pymammotion/proto/mctrl_nav_pb2.py +116 -0
  83. pymammotion/proto/mctrl_nav_pb2.pyi +875 -0
  84. pymammotion/proto/mctrl_ota.proto +42 -0
  85. pymammotion/proto/mctrl_ota.py +48 -0
  86. pymammotion/proto/mctrl_ota_pb2.py +35 -0
  87. pymammotion/proto/mctrl_ota_pb2.pyi +65 -0
  88. pymammotion/proto/mctrl_pept.proto +29 -0
  89. pymammotion/proto/mctrl_pept.py +41 -0
  90. pymammotion/proto/mctrl_pept_pb2.py +31 -0
  91. pymammotion/proto/mctrl_pept_pb2.pyi +50 -0
  92. pymammotion/proto/mctrl_sys.proto +487 -0
  93. pymammotion/proto/mctrl_sys.py +574 -0
  94. pymammotion/proto/mctrl_sys_pb2.py +142 -0
  95. pymammotion/proto/mctrl_sys_pb2.pyi +787 -0
  96. pymammotion/py.typed +0 -0
  97. pymammotion/utility/constant/__init__.py +1 -0
  98. pymammotion/utility/constant/device_constant.py +238 -0
  99. pymammotion/utility/datatype_converter.py +80 -0
  100. pymammotion/utility/device_type.py +152 -0
  101. pymammotion/utility/periodic.py +41 -0
  102. pymammotion/utility/rocker_util.py +135 -0
  103. pymammotion-0.0.37.dist-info/LICENSE +674 -0
  104. pymammotion-0.0.37.dist-info/METADATA +92 -0
  105. pymammotion-0.0.37.dist-info/RECORD +106 -0
  106. pymammotion-0.0.37.dist-info/WHEEL +4 -0
@@ -0,0 +1,381 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # sources: pyluba/proto/dev_net.proto
3
+ # plugin: python-betterproto
4
+ from dataclasses import dataclass
5
+
6
+
7
+ import betterproto
8
+
9
+
10
+ class WifiConfType(betterproto.Enum):
11
+ DisconnectWifi = 0
12
+ ForgetWifi = 1
13
+ DirectConnectWifi = 2
14
+ ReconnectWifi = 3
15
+ set_enable = 4
16
+
17
+
18
+ class DrvUploadFileFileType(betterproto.Enum):
19
+ FILE_TYPE_ALL = 0
20
+ FILE_TYPE_SYSLOG = 1
21
+ FILE_TYPE_NAVLOG = 2
22
+ FILE_TYPE_RTKLOG = 3
23
+
24
+
25
+ class DrvDevInfoResult(betterproto.Enum):
26
+ DRV_RESULT_FAIL = 0
27
+ DRV_RESULT_SUC = 1
28
+ DRV_RESULT_NOTSUP = 2
29
+
30
+
31
+ class SimCardSta(betterproto.Enum):
32
+ SIM_NONE = 0
33
+ SIM_NO_CARD = 1
34
+ SIM_INVALID = 2
35
+ SIM_INPUT_PIN = 3
36
+ SIM_INPUT_PUK = 4
37
+ SIM_OK = 5
38
+
39
+
40
+ class MnetLinkType(betterproto.Enum):
41
+ MNET_LINK_NONE = 0
42
+ MNET_LINK_2G = 1
43
+ MNET_LINK_3G = 2
44
+ MNET_LINK_4G = 3
45
+
46
+
47
+ class ApnAuthType(betterproto.Enum):
48
+ APN_AUTH_NONE = 0
49
+ APN_AUTH_PAP = 1
50
+ APN_AUTH_CHAP = 2
51
+ APN_AUTH_PAP_CHAP = 3
52
+
53
+
54
+ class NetType(betterproto.Enum):
55
+ NET_TYPE_WIFI = 0
56
+ NET_TYPE_MNET = 1
57
+
58
+
59
+ class IotConctrlType(betterproto.Enum):
60
+ IOT_TYPE_OFFLINE = 0
61
+ IOT_TYPE_ONLINE = 1
62
+ IOT_TYPE_RESET = 2
63
+
64
+
65
+ @dataclass
66
+ class DrvWifiUpload(betterproto.Message):
67
+ wifi_msg_upload: int = betterproto.int32_field(1)
68
+
69
+
70
+ @dataclass
71
+ class DrvWifiList(betterproto.Message):
72
+ nvs_wifi_upload: int = betterproto.int32_field(1)
73
+
74
+
75
+ @dataclass
76
+ class DrvWifiSet(betterproto.Message):
77
+ config_param: int = betterproto.int32_field(1)
78
+ confssid: str = betterproto.string_field(2)
79
+ wifi_enable: bool = betterproto.bool_field(3)
80
+
81
+
82
+ @dataclass
83
+ class DrvWifiMsg(betterproto.Message):
84
+ status1: bool = betterproto.bool_field(1)
85
+ status2: bool = betterproto.bool_field(2)
86
+ ip: str = betterproto.string_field(3)
87
+ msgssid: str = betterproto.string_field(4)
88
+ password: str = betterproto.string_field(5)
89
+ rssi: int = betterproto.int32_field(6)
90
+ productkey: str = betterproto.string_field(7)
91
+ devicename: str = betterproto.string_field(8)
92
+ wifi_enable: bool = betterproto.bool_field(9)
93
+
94
+
95
+ @dataclass
96
+ class DrvWifiConf(betterproto.Message):
97
+ succ_flag: bool = betterproto.bool_field(1)
98
+ code: int = betterproto.int32_field(2)
99
+ confssid: str = betterproto.string_field(3)
100
+
101
+
102
+ @dataclass
103
+ class DrvListUpload(betterproto.Message):
104
+ sum: int = betterproto.int32_field(1)
105
+ current: int = betterproto.int32_field(2)
106
+ status: int = betterproto.int32_field(3)
107
+ memssid: str = betterproto.string_field(4)
108
+ rssi: int = betterproto.int32_field(5)
109
+
110
+
111
+ @dataclass
112
+ class DrvUploadFileReq(betterproto.Message):
113
+ biz_id: str = betterproto.string_field(1)
114
+ url: str = betterproto.string_field(2)
115
+ user_id: str = betterproto.string_field(3)
116
+ num: int = betterproto.int32_field(4)
117
+ type: int = betterproto.int32_field(5)
118
+
119
+
120
+ @dataclass
121
+ class DrvUploadFileCancel(betterproto.Message):
122
+ biz_id: str = betterproto.string_field(1)
123
+
124
+
125
+ @dataclass
126
+ class DrvUploadFileToAppReq(betterproto.Message):
127
+ biz_id: str = betterproto.string_field(1)
128
+ operation: int = betterproto.int32_field(2)
129
+ server_ip: float = betterproto.fixed32_field(3)
130
+ server_port: int = betterproto.int32_field(4)
131
+ num: int = betterproto.int32_field(5)
132
+ type: int = betterproto.int32_field(6)
133
+
134
+
135
+ @dataclass
136
+ class DrvUploadFileToAppRsp(betterproto.Message):
137
+ biz_id: str = betterproto.string_field(1)
138
+ operation: int = betterproto.int32_field(2)
139
+ result: int = betterproto.int32_field(3)
140
+
141
+
142
+ @dataclass
143
+ class DrvDevInfoReqId(betterproto.Message):
144
+ id: int = betterproto.int32_field(1)
145
+ type: int = betterproto.int32_field(2)
146
+
147
+
148
+ @dataclass
149
+ class DrvDevInfoRespId(betterproto.Message):
150
+ id: int = betterproto.int32_field(1)
151
+ type: int = betterproto.int32_field(2)
152
+ res: DrvDevInfoResult = betterproto.enum_field(3)
153
+ info: str = betterproto.string_field(4)
154
+
155
+
156
+ @dataclass
157
+ class DrvDevInfoReq(betterproto.Message):
158
+ req_ids: list["DrvDevInfoReqId"] = betterproto.message_field(1)
159
+
160
+
161
+ @dataclass
162
+ class DrvDevInfoResp(betterproto.Message):
163
+ resp_ids: list["DrvDevInfoRespId"] = betterproto.message_field(1)
164
+
165
+
166
+ @dataclass
167
+ class DrvUpgradeReport(betterproto.Message):
168
+ devname: str = betterproto.string_field(1)
169
+ otaid: str = betterproto.string_field(2)
170
+ version: str = betterproto.string_field(3)
171
+ progress: int = betterproto.int32_field(4)
172
+ result: int = betterproto.int32_field(5)
173
+ message: str = betterproto.string_field(6)
174
+ properties: str = betterproto.string_field(7)
175
+
176
+
177
+ @dataclass
178
+ class WifiIotStatusReport(betterproto.Message):
179
+ wifi_connected: bool = betterproto.bool_field(1)
180
+ iot_connected: bool = betterproto.bool_field(2)
181
+ productkey: str = betterproto.string_field(3)
182
+ devicename: str = betterproto.string_field(4)
183
+
184
+
185
+ @dataclass
186
+ class BleTestBytes(betterproto.Message):
187
+ seqs: int = betterproto.int32_field(1)
188
+ data: list[float] = betterproto.fixed32_field(2)
189
+
190
+
191
+ @dataclass
192
+ class GetNetworkInfoReq(betterproto.Message):
193
+ req_ids: int = betterproto.int32_field(1)
194
+
195
+
196
+ @dataclass
197
+ class GetNetworkInfoRsp(betterproto.Message):
198
+ req_ids: int = betterproto.int32_field(1)
199
+ wifi_ssid: str = betterproto.string_field(2)
200
+ wifi_mac: str = betterproto.string_field(3)
201
+ wifi_rssi: int = betterproto.int32_field(4)
202
+ ip: float = betterproto.fixed32_field(5)
203
+ mask: float = betterproto.fixed32_field(6)
204
+ gateway: float = betterproto.fixed32_field(7)
205
+
206
+
207
+ @dataclass
208
+ class MnetInetStatus(betterproto.Message):
209
+ connect: bool = betterproto.bool_field(1)
210
+ ip: float = betterproto.fixed32_field(2)
211
+ mask: float = betterproto.fixed32_field(3)
212
+ gateway: float = betterproto.fixed32_field(4)
213
+
214
+
215
+ @dataclass
216
+ class MnetInfo(betterproto.Message):
217
+ model: str = betterproto.string_field(1)
218
+ revision: str = betterproto.string_field(2)
219
+ imei: str = betterproto.string_field(3)
220
+ sim: "SimCardSta" = betterproto.enum_field(4)
221
+ imsi: str = betterproto.string_field(5)
222
+ link_type: "MnetLinkType" = betterproto.enum_field(6)
223
+ rssi: int = betterproto.int32_field(7)
224
+ inet: "MnetInetStatus" = betterproto.message_field(8)
225
+
226
+
227
+ @dataclass
228
+ class GetMnetInfoReq(betterproto.Message):
229
+ req_ids: int = betterproto.int32_field(1)
230
+
231
+
232
+ @dataclass
233
+ class GetMnetInfoRsp(betterproto.Message):
234
+ req_ids: int = betterproto.int32_field(1)
235
+ result: int = betterproto.int32_field(2)
236
+ mnet: MnetInfo = betterproto.message_field(3)
237
+
238
+
239
+ @dataclass
240
+ class MnetApn(betterproto.Message):
241
+ cid: int = betterproto.int32_field(1)
242
+ apn_alias: str = betterproto.string_field(2)
243
+ apn_name: str = betterproto.string_field(3)
244
+ auth: "ApnAuthType" = betterproto.enum_field(4)
245
+ username: str = betterproto.string_field(5)
246
+ password: str = betterproto.string_field(6)
247
+
248
+
249
+ @dataclass
250
+ class MnetApnCfg(betterproto.Message):
251
+ apn_used_idx: int = betterproto.int32_field(1)
252
+ apn: list["MnetApn"] = betterproto.message_field(2)
253
+
254
+
255
+ @dataclass
256
+ class MnetApnSetCfg(betterproto.Message):
257
+ use_default: bool = betterproto.bool_field(1)
258
+ cfg: "MnetApnCfg" = betterproto.message_field(2)
259
+
260
+
261
+ @dataclass
262
+ class MnetCfg(betterproto.Message):
263
+ mnet_enable: bool = betterproto.bool_field(1)
264
+ inet_enable: bool = betterproto.bool_field(2)
265
+ type: "NetType" = betterproto.enum_field(3)
266
+ apn: "MnetApnSetCfg" = betterproto.message_field(4)
267
+ auto_select: bool = betterproto.bool_field(5)
268
+
269
+
270
+ @dataclass
271
+ class GetMnetCfgReq(betterproto.Message):
272
+ req_ids: int = betterproto.int32_field(1)
273
+
274
+
275
+ @dataclass
276
+ class GetMnetCfgRsp(betterproto.Message):
277
+ req_ids: int = betterproto.int32_field(1)
278
+ result: int = betterproto.int32_field(2)
279
+ cfg: "MnetCfg" = betterproto.message_field(3)
280
+
281
+
282
+ @dataclass
283
+ class SetMnetCfgReq(betterproto.Message):
284
+ req_ids: int = betterproto.int32_field(1)
285
+ cfg: "MnetCfg" = betterproto.message_field(2)
286
+
287
+
288
+ @dataclass
289
+ class SetMnetCfgRsp(betterproto.Message):
290
+ req_ids: int = betterproto.int32_field(1)
291
+ result: int = betterproto.int32_field(2)
292
+
293
+
294
+ @dataclass
295
+ class DrvDebugDdsZmq(betterproto.Message):
296
+ is_enable: bool = betterproto.bool_field(1)
297
+ rx_topic_name: str = betterproto.string_field(2)
298
+ tx_zmq_url: str = betterproto.string_field(3)
299
+
300
+
301
+ @dataclass
302
+ class SetDrvBleMTU(betterproto.Message):
303
+ mtu_count: int = betterproto.int32_field(1)
304
+
305
+
306
+ @dataclass
307
+ class DevNet(betterproto.Message):
308
+ todev_ble_sync: int = betterproto.int32_field(1, group="NetSubType")
309
+ todev__conf_type: "WifiConfType" = betterproto.enum_field(2, group="NetSubType")
310
+ todev__wifi_msg_upload: "DrvWifiUpload" = betterproto.message_field(
311
+ 3, group="NetSubType"
312
+ )
313
+ todev__wifi_list_upload: "DrvWifiList" = betterproto.message_field(
314
+ 4, group="NetSubType"
315
+ )
316
+ todev__wifi__configuration: "DrvWifiSet" = betterproto.message_field(
317
+ 5, group="NetSubType"
318
+ )
319
+ toapp__wifi_msg: "DrvWifiMsg" = betterproto.message_field(6, group="NetSubType")
320
+ toapp__wifi_conf: "DrvWifiConf" = betterproto.message_field(7, group="NetSubType")
321
+ toapp__list_upload: "DrvListUpload" = betterproto.message_field(
322
+ 8, group="NetSubType"
323
+ )
324
+ todev_req_log_info: "DrvUploadFileReq" = betterproto.message_field(
325
+ 9, group="NetSubType"
326
+ )
327
+ todev_log_data_cancel: "DrvUploadFileCancel" = betterproto.message_field(
328
+ 10, group="NetSubType"
329
+ )
330
+ todev_devinfo_req: "DrvDevInfoReq" = betterproto.message_field(
331
+ 11, group="NetSubType"
332
+ )
333
+ toapp_devinfo_resp: "DrvDevInfoResp" = betterproto.message_field(
334
+ 12, group="NetSubType"
335
+ )
336
+ toapp_upgrade_report: "DrvUpgradeReport" = betterproto.message_field(
337
+ 13, group="NetSubType"
338
+ )
339
+ toapp_wifi_iot_status: "WifiIotStatusReport" = betterproto.message_field(
340
+ 14, group="NetSubType"
341
+ )
342
+ todev_uploadfile_req: "DrvUploadFileToAppReq" = betterproto.message_field(
343
+ 15, group="NetSubType"
344
+ )
345
+ toapp_uploadfile_rsp: "DrvUploadFileToAppRsp" = betterproto.message_field(
346
+ 16, group="NetSubType"
347
+ )
348
+ todev_networkinfo_req: "GetNetworkInfoReq" = betterproto.message_field(
349
+ 17, group="NetSubType"
350
+ )
351
+ toapp_networkinfo_rsp: "GetNetworkInfoRsp" = betterproto.message_field(
352
+ 18, group="NetSubType"
353
+ )
354
+ bir_testdata: "BleTestBytes" = betterproto.message_field(19, group="NetSubType")
355
+ todev_mnet_info_req: "GetMnetInfoReq" = betterproto.message_field(
356
+ 20, group="NetSubType"
357
+ )
358
+ toapp_mnet_info_rsp: "GetMnetInfoRsp" = betterproto.message_field(
359
+ 21, group="NetSubType"
360
+ )
361
+ todev_get_mnet_cfg_req: "GetMnetCfgReq" = betterproto.message_field(
362
+ 22, group="NetSubType"
363
+ )
364
+ toapp_get_mnet_cfg_rsp: "GetMnetCfgRsp" = betterproto.message_field(
365
+ 23, group="NetSubType"
366
+ )
367
+ todev_set_mnet_cfg_req: "SetMnetCfgReq" = betterproto.message_field(
368
+ 24, group="NetSubType"
369
+ )
370
+ toapp_set_mnet_cfg_rsp: "SetMnetCfgRsp" = betterproto.message_field(
371
+ 25, group="NetSubType"
372
+ )
373
+ todev_set_dds2zmq: "DrvDebugDdsZmq" = betterproto.message_field(
374
+ 26, group="NetSubType"
375
+ )
376
+ todev_set_ble_mtu: "SetDrvBleMTU" = betterproto.message_field(
377
+ 27, group="NetSubType"
378
+ )
379
+ todev_set_iot_offline_req: "IotConctrlType" = betterproto.enum_field(
380
+ 28, group="NetSubType"
381
+ )
@@ -0,0 +1,107 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: pyluba/proto/dev_net.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf.internal import builder as _builder
6
+ from google.protobuf import descriptor as _descriptor
7
+ from google.protobuf import descriptor_pool as _descriptor_pool
8
+ from google.protobuf import symbol_database as _symbol_database
9
+ # @@protoc_insertion_point(imports)
10
+
11
+ _sym_db = _symbol_database.Default()
12
+
13
+
14
+
15
+
16
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1apyluba/proto/dev_net.proto\"(\n\rDrvWifiUpload\x12\x17\n\x0fWifi_Msg_Upload\x18\x01 \x01(\x05\"&\n\x0b\x44rvWifiList\x12\x17\n\x0fNVS_Wifi_Upload\x18\x01 \x01(\x05\"H\n\nDrvWifiSet\x12\x13\n\x0b\x63onfigParam\x18\x01 \x01(\x05\x12\x10\n\x08\x43onfssid\x18\x02 \x01(\t\x12\x13\n\x0bwifi_enable\x18\x03 \x01(\x08\"\xa8\x01\n\nDrvWifiMsg\x12\x0f\n\x07status1\x18\x01 \x01(\x08\x12\x0f\n\x07status2\x18\x02 \x01(\x08\x12\n\n\x02IP\x18\x03 \x01(\t\x12\x0f\n\x07Msgssid\x18\x04 \x01(\t\x12\x10\n\x08password\x18\x05 \x01(\t\x12\x0c\n\x04rssi\x18\x06 \x01(\x05\x12\x12\n\nproductkey\x18\x07 \x01(\t\x12\x12\n\ndevicename\x18\x08 \x01(\t\x12\x13\n\x0bwifi_enable\x18\t \x01(\x08\"?\n\x0b\x44rvWifiConf\x12\x10\n\x08succFlag\x18\x01 \x01(\x08\x12\x0c\n\x04\x63ode\x18\x02 \x01(\x05\x12\x10\n\x08\x43onfssid\x18\x03 \x01(\t\"\\\n\rDrvListUpload\x12\x0b\n\x03sum\x18\x01 \x01(\x05\x12\x0f\n\x07\x63urrent\x18\x02 \x01(\x05\x12\x0e\n\x06status\x18\x03 \x01(\x05\x12\x0f\n\x07Memssid\x18\x04 \x01(\t\x12\x0c\n\x04rssi\x18\x05 \x01(\x05\"Y\n\x10\x44rvUploadFileReq\x12\r\n\x05\x62izId\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\x12\x0e\n\x06userId\x18\x03 \x01(\t\x12\x0b\n\x03num\x18\x04 \x01(\x05\x12\x0c\n\x04type\x18\x05 \x01(\x05\"$\n\x13\x44rvUploadFileCancel\x12\r\n\x05\x62izId\x18\x01 \x01(\t\"z\n\x15\x44rvUploadFileToAppReq\x12\r\n\x05\x62izId\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\x05\x12\x10\n\x08serverIp\x18\x03 \x01(\x07\x12\x12\n\nserverPort\x18\x04 \x01(\x05\x12\x0b\n\x03num\x18\x05 \x01(\x05\x12\x0c\n\x04type\x18\x06 \x01(\x05\"I\n\x15\x44rvUploadFileToAppRsp\x12\r\n\x05\x62izId\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\x05\x12\x0e\n\x06result\x18\x03 \x01(\x05\"+\n\x0f\x44rvDevInfoReqId\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0c\n\x04type\x18\x02 \x01(\x05\"Z\n\x10\x44rvDevInfoRespId\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0c\n\x04type\x18\x02 \x01(\x05\x12\x1e\n\x03res\x18\x03 \x01(\x0e\x32\x11.DrvDevInfoResult\x12\x0c\n\x04info\x18\x04 \x01(\t\"2\n\rDrvDevInfoReq\x12!\n\x07req_ids\x18\x01 \x03(\x0b\x32\x10.DrvDevInfoReqId\"5\n\x0e\x44rvDevInfoResp\x12#\n\x08resp_ids\x18\x01 \x03(\x0b\x32\x11.DrvDevInfoRespId\"\x8a\x01\n\x10\x44rvUpgradeReport\x12\x0f\n\x07\x64\x65vname\x18\x01 \x01(\t\x12\r\n\x05otaid\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t\x12\x10\n\x08progress\x18\x04 \x01(\x05\x12\x0e\n\x06result\x18\x05 \x01(\x05\x12\x0f\n\x07message\x18\x06 \x01(\t\x12\x12\n\nproperties\x18\x07 \x01(\t\"l\n\x13WifiIotStatusReport\x12\x16\n\x0ewifi_connected\x18\x01 \x01(\x08\x12\x15\n\riot_connected\x18\x02 \x01(\x08\x12\x12\n\nproductkey\x18\x03 \x01(\t\x12\x12\n\ndevicename\x18\x04 \x01(\t\"*\n\x0c\x42leTestBytes\x12\x0c\n\x04seqs\x18\x01 \x01(\x05\x12\x0c\n\x04\x64\x61ta\x18\x02 \x03(\x07\"$\n\x11GetNetworkInfoReq\x12\x0f\n\x07req_ids\x18\x01 \x01(\x05\"\x87\x01\n\x11GetNetworkInfoRsp\x12\x0f\n\x07req_ids\x18\x01 \x01(\x05\x12\x11\n\twifi_ssid\x18\x02 \x01(\t\x12\x10\n\x08wifi_mac\x18\x03 \x01(\t\x12\x11\n\twifi_rssi\x18\x04 \x01(\x05\x12\n\n\x02ip\x18\x05 \x01(\x07\x12\x0c\n\x04mask\x18\x06 \x01(\x07\x12\x0f\n\x07gateway\x18\x07 \x01(\x07\"N\n\x10mnet_inet_status\x12\x0f\n\x07\x63onnect\x18\x01 \x01(\x08\x12\n\n\x02ip\x18\x02 \x01(\x07\x12\x0c\n\x04mask\x18\x03 \x01(\x07\x12\x0f\n\x07gateway\x18\x04 \x01(\x07\"\xb6\x01\n\x08MnetInfo\x12\r\n\x05model\x18\x01 \x01(\t\x12\x10\n\x08revision\x18\x02 \x01(\t\x12\x0c\n\x04imei\x18\x03 \x01(\t\x12\x1a\n\x03sim\x18\x04 \x01(\x0e\x32\r.sim_card_sta\x12\x0c\n\x04imsi\x18\x05 \x01(\t\x12\"\n\tlink_type\x18\x06 \x01(\x0e\x32\x0f.mnet_link_type\x12\x0c\n\x04rssi\x18\x07 \x01(\x05\x12\x1f\n\x04inet\x18\x08 \x01(\x0b\x32\x11.mnet_inet_status\"!\n\x0eGetMnetInfoReq\x12\x0f\n\x07req_ids\x18\x01 \x01(\x05\"J\n\x0eGetMnetInfoRsp\x12\x0f\n\x07req_ids\x18\x01 \x01(\x05\x12\x0e\n\x06result\x18\x02 \x01(\x05\x12\x17\n\x04mnet\x18\x03 \x01(\x0b\x32\t.MnetInfo\"}\n\x07MnetApn\x12\x0b\n\x03\x63id\x18\x01 \x01(\x05\x12\x11\n\tapn_alias\x18\x02 \x01(\t\x12\x10\n\x08\x61pn_name\x18\x03 \x01(\t\x12\x1c\n\x04\x61uth\x18\x04 \x01(\x0e\x32\x0e.apn_auth_type\x12\x10\n\x08username\x18\x05 \x01(\t\x12\x10\n\x08password\x18\x06 \x01(\t\"9\n\nMnetApnCfg\x12\x14\n\x0c\x61pn_used_idx\x18\x01 \x01(\x05\x12\x15\n\x03\x61pn\x18\x02 \x03(\x0b\x32\x08.MnetApn\">\n\rMnetApnSetCfg\x12\x13\n\x0buse_default\x18\x01 \x01(\x08\x12\x18\n\x03\x63\x66g\x18\x02 \x01(\x0b\x32\x0b.MnetApnCfg\"~\n\x07MnetCfg\x12\x13\n\x0bmnet_enable\x18\x01 \x01(\x08\x12\x13\n\x0binet_enable\x18\x02 \x01(\x08\x12\x17\n\x04type\x18\x03 \x01(\x0e\x32\t.net_type\x12\x1b\n\x03\x61pn\x18\x04 \x01(\x0b\x32\x0e.MnetApnSetCfg\x12\x13\n\x0b\x61uto_select\x18\x05 \x01(\x08\" \n\rGetMnetCfgReq\x12\x0f\n\x07req_ids\x18\x01 \x01(\x05\"G\n\rGetMnetCfgRsp\x12\x0f\n\x07req_ids\x18\x01 \x01(\x05\x12\x0e\n\x06result\x18\x02 \x01(\x05\x12\x15\n\x03\x63\x66g\x18\x03 \x01(\x0b\x32\x08.MnetCfg\"7\n\rSetMnetCfgReq\x12\x0f\n\x07req_ids\x18\x01 \x01(\x05\x12\x15\n\x03\x63\x66g\x18\x02 \x01(\x0b\x32\x08.MnetCfg\"0\n\rSetMnetCfgRsp\x12\x0f\n\x07req_ids\x18\x01 \x01(\x05\x12\x0e\n\x06result\x18\x02 \x01(\x05\"N\n\x0e\x44rvDebugDdsZmq\x12\x11\n\tis_enable\x18\x01 \x01(\x08\x12\x15\n\rrx_topic_name\x18\x02 \x01(\t\x12\x12\n\ntx_zmq_url\x18\x03 \x01(\t\"!\n\x0cSetDrvBleMTU\x12\x11\n\tmtu_count\x18\x01 \x01(\x05\"\xca\n\n\x06\x44\x65vNet\x12\x18\n\x0etodev_ble_sync\x18\x01 \x01(\x05H\x00\x12\'\n\x0etodev_ConfType\x18\x02 \x01(\x0e\x32\r.WifiConfTypeH\x00\x12-\n\x13todev_WifiMsgUpload\x18\x03 \x01(\x0b\x32\x0e.DrvWifiUploadH\x00\x12,\n\x14todev_WifiListUpload\x18\x04 \x01(\x0b\x32\x0c.DrvWifiListH\x00\x12/\n\x18todev_Wifi_Configuration\x18\x05 \x01(\x0b\x32\x0b.DrvWifiSetH\x00\x12$\n\rtoapp_WifiMsg\x18\x06 \x01(\x0b\x32\x0b.DrvWifiMsgH\x00\x12&\n\x0etoapp_WifiConf\x18\x07 \x01(\x0b\x32\x0c.DrvWifiConfH\x00\x12*\n\x10toapp_ListUpload\x18\x08 \x01(\x0b\x32\x0e.DrvListUploadH\x00\x12/\n\x12todev_req_log_info\x18\t \x01(\x0b\x32\x11.DrvUploadFileReqH\x00\x12\x35\n\x15todev_log_data_cancel\x18\n \x01(\x0b\x32\x14.DrvUploadFileCancelH\x00\x12+\n\x11todev_devinfo_req\x18\x0b \x01(\x0b\x32\x0e.DrvDevInfoReqH\x00\x12-\n\x12toapp_devinfo_resp\x18\x0c \x01(\x0b\x32\x0f.DrvDevInfoRespH\x00\x12\x31\n\x14toapp_upgrade_report\x18\r \x01(\x0b\x32\x11.DrvUpgradeReportH\x00\x12\x35\n\x15toapp_wifi_iot_status\x18\x0e \x01(\x0b\x32\x14.WifiIotStatusReportH\x00\x12\x36\n\x14todev_uploadfile_req\x18\x0f \x01(\x0b\x32\x16.DrvUploadFileToAppReqH\x00\x12\x36\n\x14toapp_uploadfile_rsp\x18\x10 \x01(\x0b\x32\x16.DrvUploadFileToAppRspH\x00\x12\x33\n\x15todev_networkinfo_req\x18\x11 \x01(\x0b\x32\x12.GetNetworkInfoReqH\x00\x12\x33\n\x15toapp_networkinfo_rsp\x18\x12 \x01(\x0b\x32\x12.GetNetworkInfoRspH\x00\x12%\n\x0c\x62ir_testdata\x18\x13 \x01(\x0b\x32\r.BleTestBytesH\x00\x12.\n\x13todev_mnet_info_req\x18\x14 \x01(\x0b\x32\x0f.GetMnetInfoReqH\x00\x12.\n\x13toapp_mnet_info_rsp\x18\x15 \x01(\x0b\x32\x0f.GetMnetInfoRspH\x00\x12\x30\n\x16todev_get_mnet_cfg_req\x18\x16 \x01(\x0b\x32\x0e.GetMnetCfgReqH\x00\x12\x30\n\x16toapp_get_mnet_cfg_rsp\x18\x17 \x01(\x0b\x32\x0e.GetMnetCfgRspH\x00\x12\x30\n\x16todev_set_mnet_cfg_req\x18\x18 \x01(\x0b\x32\x0e.SetMnetCfgReqH\x00\x12\x30\n\x16toapp_set_mnet_cfg_rsp\x18\x19 \x01(\x0b\x32\x0e.SetMnetCfgRspH\x00\x12,\n\x11todev_set_dds2zmq\x18\x1a \x01(\x0b\x32\x0f.DrvDebugDdsZmqH\x00\x12*\n\x11todev_set_ble_mtu\x18\x1b \x01(\x0b\x32\r.SetDrvBleMTUH\x00\x12\x36\n\x19todev_set_iot_offline_req\x18\x1c \x01(\x0e\x32\x11.iot_conctrl_typeH\x00\x42\x0c\n\nNetSubType*l\n\x0cWifiConfType\x12\x12\n\x0e\x44isconnectWifi\x10\x00\x12\x0e\n\nForgetWifi\x10\x01\x12\x15\n\x11\x44irectConnectWifi\x10\x02\x12\x11\n\rReconnectWifi\x10\x03\x12\x0e\n\nset_enable\x10\x04*l\n\x15\x44rvUploadFileFileType\x12\x11\n\rFILE_TYPE_ALL\x10\x00\x12\x14\n\x10\x46ILE_TYPE_SYSLOG\x10\x01\x12\x14\n\x10\x46ILE_TYPE_NAVLOG\x10\x02\x12\x14\n\x10\x46ILE_TYPE_RTKLOG\x10\x03*R\n\x10\x44rvDevInfoResult\x12\x13\n\x0f\x44RV_RESULT_FAIL\x10\x00\x12\x12\n\x0e\x44RV_RESULT_SUC\x10\x01\x12\x15\n\x11\x44RV_RESULT_NOTSUP\x10\x02*p\n\x0csim_card_sta\x12\x0c\n\x08SIM_NONE\x10\x00\x12\x0f\n\x0bSIM_NO_CARD\x10\x01\x12\x0f\n\x0bSIM_INVALID\x10\x02\x12\x11\n\rSIM_INPUT_PIN\x10\x03\x12\x11\n\rSIM_INPUT_PUK\x10\x04\x12\n\n\x06SIM_OK\x10\x05*Z\n\x0emnet_link_type\x12\x12\n\x0eMNET_LINK_NONE\x10\x00\x12\x10\n\x0cMNET_LINK_2G\x10\x01\x12\x10\n\x0cMNET_LINK_3G\x10\x02\x12\x10\n\x0cMNET_LINK_4G\x10\x03*^\n\rapn_auth_type\x12\x11\n\rAPN_AUTH_NONE\x10\x00\x12\x10\n\x0c\x41PN_AUTH_PAP\x10\x01\x12\x11\n\rAPN_AUTH_CHAP\x10\x02\x12\x15\n\x11\x41PN_AUTH_PAP_CHAP\x10\x03*0\n\x08net_type\x12\x11\n\rNET_TYPE_WIFI\x10\x00\x12\x11\n\rNET_TYPE_MNET\x10\x01*Q\n\x10iot_conctrl_type\x12\x14\n\x10IOT_TYPE_OFFLINE\x10\x00\x12\x13\n\x0fIOT_TYPE_ONLINE\x10\x01\x12\x12\n\x0eIOT_TYPE_RESET\x10\x02\x62\x06proto3')
17
+
18
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
19
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'pyluba.proto.dev_net_pb2', globals())
20
+ if _descriptor._USE_C_DESCRIPTORS == False:
21
+
22
+ DESCRIPTOR._options = None
23
+ _WIFICONFTYPE._serialized_start=3999
24
+ _WIFICONFTYPE._serialized_end=4107
25
+ _DRVUPLOADFILEFILETYPE._serialized_start=4109
26
+ _DRVUPLOADFILEFILETYPE._serialized_end=4217
27
+ _DRVDEVINFORESULT._serialized_start=4219
28
+ _DRVDEVINFORESULT._serialized_end=4301
29
+ _SIM_CARD_STA._serialized_start=4303
30
+ _SIM_CARD_STA._serialized_end=4415
31
+ _MNET_LINK_TYPE._serialized_start=4417
32
+ _MNET_LINK_TYPE._serialized_end=4507
33
+ _APN_AUTH_TYPE._serialized_start=4509
34
+ _APN_AUTH_TYPE._serialized_end=4603
35
+ _NET_TYPE._serialized_start=4605
36
+ _NET_TYPE._serialized_end=4653
37
+ _IOT_CONCTRL_TYPE._serialized_start=4655
38
+ _IOT_CONCTRL_TYPE._serialized_end=4736
39
+ _DRVWIFIUPLOAD._serialized_start=30
40
+ _DRVWIFIUPLOAD._serialized_end=70
41
+ _DRVWIFILIST._serialized_start=72
42
+ _DRVWIFILIST._serialized_end=110
43
+ _DRVWIFISET._serialized_start=112
44
+ _DRVWIFISET._serialized_end=184
45
+ _DRVWIFIMSG._serialized_start=187
46
+ _DRVWIFIMSG._serialized_end=355
47
+ _DRVWIFICONF._serialized_start=357
48
+ _DRVWIFICONF._serialized_end=420
49
+ _DRVLISTUPLOAD._serialized_start=422
50
+ _DRVLISTUPLOAD._serialized_end=514
51
+ _DRVUPLOADFILEREQ._serialized_start=516
52
+ _DRVUPLOADFILEREQ._serialized_end=605
53
+ _DRVUPLOADFILECANCEL._serialized_start=607
54
+ _DRVUPLOADFILECANCEL._serialized_end=643
55
+ _DRVUPLOADFILETOAPPREQ._serialized_start=645
56
+ _DRVUPLOADFILETOAPPREQ._serialized_end=767
57
+ _DRVUPLOADFILETOAPPRSP._serialized_start=769
58
+ _DRVUPLOADFILETOAPPRSP._serialized_end=842
59
+ _DRVDEVINFOREQID._serialized_start=844
60
+ _DRVDEVINFOREQID._serialized_end=887
61
+ _DRVDEVINFORESPID._serialized_start=889
62
+ _DRVDEVINFORESPID._serialized_end=979
63
+ _DRVDEVINFOREQ._serialized_start=981
64
+ _DRVDEVINFOREQ._serialized_end=1031
65
+ _DRVDEVINFORESP._serialized_start=1033
66
+ _DRVDEVINFORESP._serialized_end=1086
67
+ _DRVUPGRADEREPORT._serialized_start=1089
68
+ _DRVUPGRADEREPORT._serialized_end=1227
69
+ _WIFIIOTSTATUSREPORT._serialized_start=1229
70
+ _WIFIIOTSTATUSREPORT._serialized_end=1337
71
+ _BLETESTBYTES._serialized_start=1339
72
+ _BLETESTBYTES._serialized_end=1381
73
+ _GETNETWORKINFOREQ._serialized_start=1383
74
+ _GETNETWORKINFOREQ._serialized_end=1419
75
+ _GETNETWORKINFORSP._serialized_start=1422
76
+ _GETNETWORKINFORSP._serialized_end=1557
77
+ _MNET_INET_STATUS._serialized_start=1559
78
+ _MNET_INET_STATUS._serialized_end=1637
79
+ _MNETINFO._serialized_start=1640
80
+ _MNETINFO._serialized_end=1822
81
+ _GETMNETINFOREQ._serialized_start=1824
82
+ _GETMNETINFOREQ._serialized_end=1857
83
+ _GETMNETINFORSP._serialized_start=1859
84
+ _GETMNETINFORSP._serialized_end=1933
85
+ _MNETAPN._serialized_start=1935
86
+ _MNETAPN._serialized_end=2060
87
+ _MNETAPNCFG._serialized_start=2062
88
+ _MNETAPNCFG._serialized_end=2119
89
+ _MNETAPNSETCFG._serialized_start=2121
90
+ _MNETAPNSETCFG._serialized_end=2183
91
+ _MNETCFG._serialized_start=2185
92
+ _MNETCFG._serialized_end=2311
93
+ _GETMNETCFGREQ._serialized_start=2313
94
+ _GETMNETCFGREQ._serialized_end=2345
95
+ _GETMNETCFGRSP._serialized_start=2347
96
+ _GETMNETCFGRSP._serialized_end=2418
97
+ _SETMNETCFGREQ._serialized_start=2420
98
+ _SETMNETCFGREQ._serialized_end=2475
99
+ _SETMNETCFGRSP._serialized_start=2477
100
+ _SETMNETCFGRSP._serialized_end=2525
101
+ _DRVDEBUGDDSZMQ._serialized_start=2527
102
+ _DRVDEBUGDDSZMQ._serialized_end=2605
103
+ _SETDRVBLEMTU._serialized_start=2607
104
+ _SETDRVBLEMTU._serialized_end=2640
105
+ _DEVNET._serialized_start=2643
106
+ _DEVNET._serialized_end=3997
107
+ # @@protoc_insertion_point(module_scope)