pymammotion 0.0.39__py3-none-any.whl → 0.0.41__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 (47) hide show
  1. pymammotion/__init__.py +4 -2
  2. pymammotion/aliyun/__init__.py +1 -0
  3. pymammotion/aliyun/cloud_gateway.py +74 -95
  4. pymammotion/aliyun/tmp_constant.py +2 -6
  5. pymammotion/bluetooth/ble.py +4 -12
  6. pymammotion/bluetooth/ble_message.py +12 -36
  7. pymammotion/bluetooth/data/convert.py +1 -3
  8. pymammotion/bluetooth/data/notifydata.py +0 -1
  9. pymammotion/data/model/device.py +62 -3
  10. pymammotion/data/model/hash_list.py +34 -14
  11. pymammotion/data/model/location.py +40 -0
  12. pymammotion/data/model/rapid_state.py +1 -5
  13. pymammotion/data/state_manager.py +84 -0
  14. pymammotion/event/event.py +18 -3
  15. pymammotion/http/http.py +2 -6
  16. pymammotion/mammotion/commands/mammotion_command.py +1 -3
  17. pymammotion/mammotion/commands/messages/driver.py +7 -21
  18. pymammotion/mammotion/commands/messages/media.py +4 -9
  19. pymammotion/mammotion/commands/messages/navigation.py +42 -107
  20. pymammotion/mammotion/commands/messages/network.py +10 -30
  21. pymammotion/mammotion/commands/messages/system.py +11 -26
  22. pymammotion/mammotion/commands/messages/video.py +1 -3
  23. pymammotion/mammotion/control/joystick.py +9 -33
  24. pymammotion/mammotion/devices/__init__.py +5 -1
  25. pymammotion/mammotion/devices/{luba.py → mammotion.py} +299 -110
  26. pymammotion/mqtt/__init__.py +5 -0
  27. pymammotion/mqtt/{mqtt.py → mammotion_mqtt.py} +46 -50
  28. pymammotion/proto/common_pb2.py +3 -3
  29. pymammotion/proto/dev_net_pb2.py +85 -85
  30. pymammotion/proto/luba_msg_pb2.py +11 -11
  31. pymammotion/proto/luba_mul_pb2.py +23 -23
  32. pymammotion/proto/mctrl_driver_pb2.py +23 -23
  33. pymammotion/proto/mctrl_nav_pb2.py +93 -93
  34. pymammotion/proto/mctrl_ota_pb2.py +13 -13
  35. pymammotion/proto/mctrl_pept_pb2.py +9 -9
  36. pymammotion/proto/mctrl_sys_pb2.py +119 -119
  37. pymammotion/utility/constant/device_constant.py +14 -0
  38. pymammotion/utility/datatype_converter.py +52 -9
  39. pymammotion/utility/device_type.py +129 -20
  40. pymammotion/utility/periodic.py +65 -0
  41. pymammotion/utility/rocker_util.py +63 -4
  42. {pymammotion-0.0.39.dist-info → pymammotion-0.0.41.dist-info}/METADATA +10 -4
  43. {pymammotion-0.0.39.dist-info → pymammotion-0.0.41.dist-info}/RECORD +45 -43
  44. {pymammotion-0.0.39.dist-info → pymammotion-0.0.41.dist-info}/WHEEL +1 -1
  45. pymammotion/luba/_init_.py +0 -0
  46. pymammotion/luba/base.py +0 -52
  47. {pymammotion-0.0.39.dist-info → pymammotion-0.0.41.dist-info}/LICENSE +0 -0
@@ -1,3 +1,5 @@
1
+ """MammotionMQTT."""
2
+
1
3
  import hashlib
2
4
  import hmac
3
5
  import json
@@ -8,22 +10,18 @@ from typing import Callable, Optional, cast
8
10
  from linkkit.linkkit import LinkKit
9
11
  from paho.mqtt.client import Client, MQTTMessage, MQTTv311, connack_string
10
12
 
11
- from pymammotion.data.model import RapidState
13
+ from pymammotion.aliyun.cloud_gateway import CloudIOTGateway
12
14
  from pymammotion.data.mqtt.event import ThingEventMessage
13
15
  from pymammotion.data.mqtt.properties import ThingPropertiesMessage
14
16
  from pymammotion.data.mqtt.status import ThingStatusMessage
15
- from pymammotion.luba.base import BaseLuba
16
- from pymammotion.mammotion.commands.mammotion_command import MammotionCommand
17
17
  from pymammotion.proto import luba_msg_pb2
18
18
 
19
19
  logger = getLogger(__name__)
20
20
 
21
21
 
22
- # with sqlite3.connect("messages.db") as conn:
23
- # conn.execute("CREATE TABLE IF NOT EXISTS messages (topic TEXT, timestamp INTEGER, payload TEXT)")
24
-
22
+ class MammotionMQTT:
23
+ """MQTT client for pymammotion."""
25
24
 
26
- class LubaMQTT(BaseLuba):
27
25
  _cloud_client = None
28
26
 
29
27
  def __init__(
@@ -35,11 +33,13 @@ class LubaMQTT(BaseLuba):
35
33
  iot_token: str,
36
34
  client_id: Optional[str] = None,
37
35
  ):
36
+ """Create instance of MammotionMQTT."""
38
37
  super().__init__()
39
38
 
40
39
  self.on_connected: Optional[Callable[[], None]] = None
41
40
  self.on_error: Optional[Callable[[str], None]] = None
42
41
  self.on_disconnected: Optional[Callable[[], None]] = None
42
+ self.on_message: Optional[Callable[[str, str, str], None]] = None
43
43
 
44
44
  self._product_key = product_key
45
45
  self._device_name = device_name
@@ -50,9 +50,7 @@ class LubaMQTT(BaseLuba):
50
50
  if client_id is None:
51
51
  client_id = f"python-{device_name}"
52
52
  self._mqtt_client_id = f"{client_id}|securemode=2,signmethod=hmacsha1|"
53
- sign_content = (
54
- f"clientId{client_id}deviceName{device_name}productKey{product_key}"
55
- )
53
+ sign_content = f"clientId{client_id}deviceName{device_name}productKey{product_key}"
56
54
  self._mqtt_password = hmac.new(
57
55
  device_secret.encode("utf-8"), sign_content.encode("utf-8"), hashlib.sha1
58
56
  ).hexdigest()
@@ -90,11 +88,13 @@ class LubaMQTT(BaseLuba):
90
88
 
91
89
  # region Connection handling
92
90
  def connect(self):
91
+ """Connect to MQTT Server."""
93
92
  logger.info("Connecting...")
94
93
  self._client.connect(host=self._mqtt_host)
95
94
  self._client.loop_forever()
96
95
 
97
96
  def connect_async(self):
97
+ """Connect async to MQTT Server."""
98
98
  logger.info("Connecting...")
99
99
  self._linkkit_client.thing_setup()
100
100
  self._linkkit_client.connect_async()
@@ -103,14 +103,16 @@ class LubaMQTT(BaseLuba):
103
103
  self._linkkit_client.start_worker_loop()
104
104
 
105
105
  def disconnect(self):
106
+ """Disconnect from MQTT Server."""
106
107
  logger.info("Disconnecting...")
107
108
  self._linkkit_client.disconnect()
108
109
  self._client.disconnect()
109
110
  self._client.loop_stop()
110
111
 
111
112
  def _thing_on_thing_enable(self, user_data):
112
- print("on_thing_enable")
113
- # print('subscribe_topic, topic:%s' % echo_topic)
113
+ """Is called when Thing is enabled."""
114
+ logger.debug("on_thing_enable")
115
+ # logger.debug('subscribe_topic, topic:%s' % echo_topic)
114
116
  # self._linkkit_client.subscribe_topic(echo_topic, 0)
115
117
  self._linkkit_client.subscribe_topic(
116
118
  f"/sys/{self._product_key}/{self._device_name}/app/down/account/bind_reply"
@@ -118,15 +120,9 @@ class LubaMQTT(BaseLuba):
118
120
  self._linkkit_client.subscribe_topic(
119
121
  f"/sys/{self._product_key}/{self._device_name}/app/down/thing/event/property/post_reply"
120
122
  )
121
- self._linkkit_client.subscribe_topic(
122
- f"/sys/{self._product_key}/{self._device_name}/app/down/thing/events"
123
- )
124
- self._linkkit_client.subscribe_topic(
125
- f"/sys/{self._product_key}/{self._device_name}/app/down/thing/status"
126
- )
127
- self._linkkit_client.subscribe_topic(
128
- f"/sys/{self._product_key}/{self._device_name}/app/down/thing/properties"
129
- )
123
+ self._linkkit_client.subscribe_topic(f"/sys/{self._product_key}/{self._device_name}/app/down/thing/events")
124
+ self._linkkit_client.subscribe_topic(f"/sys/{self._product_key}/{self._device_name}/app/down/thing/status")
125
+ self._linkkit_client.subscribe_topic(f"/sys/{self._product_key}/{self._device_name}/app/down/thing/properties")
130
126
  self._linkkit_client.subscribe_topic(
131
127
  f"/sys/{self._product_key}/{self._device_name}/app/down/thing/model/down_raw"
132
128
  )
@@ -144,27 +140,34 @@ class LubaMQTT(BaseLuba):
144
140
  )
145
141
 
146
142
  # self._linkkit_client.query_ota_firmware()
147
- command = MammotionCommand(device_name="Luba")
148
- self._cloud_client.send_cloud_command(command.get_report_cfg())
143
+ # command = MammotionCommand(device_name="Luba")
144
+ # self._cloud_client.send_cloud_command(command.get_report_cfg())
149
145
 
150
146
  def _thing_on_topic_message(self, topic, payload, qos, user_data):
151
- print(
152
- "on_topic_message, receive message, topic:%s, payload:%s, qos:%d"
153
- % (topic, payload, qos)
147
+ """Is called when thing topic comes in."""
148
+ logger.debug(
149
+ "on_topic_message, receive message, topic:%s, payload:%s, qos:%d",
150
+ topic,
151
+ payload,
152
+ qos,
154
153
  )
154
+ payload = json.loads(payload)
155
+ iot_id = payload.get("params", {}).get("iotId", "")
156
+ if iot_id != "" and self.on_message:
157
+ self.on_message(topic, payload, iot_id)
155
158
 
156
159
  def _thing_on_connect(self, session_flag, rc, user_data):
157
- print("on_connect, session_flag:%d, rc:%d" % (session_flag, rc))
160
+ """Is called on thing connect."""
161
+ logger.debug("on_connect, session_flag:%d, rc:%d", session_flag, rc)
158
162
 
159
163
  # self._linkkit_client.subscribe_topic(f"/sys/{self._product_key}/{self._device_name}/#")
160
164
 
161
165
  def _on_connect(self, _client, _userdata, _flags: dict, rc: int):
166
+ """Is called when on connect."""
162
167
  if rc == 0:
163
- logger.info("Connected")
168
+ logger.debug("Connected")
164
169
  self._client.subscribe(f"/sys/{self._product_key}/{self._device_name}/#")
165
- self._client.subscribe(
166
- f"/sys/{self._product_key}/{self._device_name}/app/down/account/bind_reply"
167
- )
170
+ self._client.subscribe(f"/sys/{self._product_key}/{self._device_name}/app/down/account/bind_reply")
168
171
 
169
172
  self._client.publish(
170
173
  f"/sys/{self._product_key}/{self._device_name}/app/up/account/bind",
@@ -186,18 +189,15 @@ class LubaMQTT(BaseLuba):
186
189
  self.on_error(connack_string(rc))
187
190
 
188
191
  def _on_disconnect(self, _client, _userdata, rc: int):
192
+ """Is called on disconnect."""
189
193
  logger.info("Disconnected")
190
194
  logger.debug(rc)
191
195
  if self.on_disconnected:
192
196
  self.on_disconnected()
193
197
 
194
- # endregion
195
-
196
198
  def _on_message(self, _client, _userdata, message: MQTTMessage):
199
+ """Is called when message is received."""
197
200
  logger.info("Message on topic %s", message.topic)
198
- # with sqlite3.connect("messages.db") as conn:
199
- # conn.execute("INSERT INTO messages (topic, timestamp, payload) VALUES (?, ?, ?)",
200
- # (message.topic, int(message.timestamp), message.payload.decode("utf-8")))
201
201
 
202
202
  payload = json.loads(message.payload)
203
203
  if message.topic.endswith("/app/down/thing/events"):
@@ -205,26 +205,22 @@ class LubaMQTT(BaseLuba):
205
205
  params = event.params
206
206
  if params.identifier == "device_protobuf_msg_event":
207
207
  content = cast(luba_msg_pb2, params.value.content)
208
- if (
209
- content.WhichOneof("subMsg") == "sys"
210
- and content.sys.WhichOneof("subSysMsg") == "systemRapidState"
211
- ):
212
- state = RapidState.from_raw(content.sys.systemRapidState.data)
213
- self._set_rapid_state(state)
214
- else:
215
- logger.info(
216
- "Unhandled protobuf event: %s", content.WhichOneof("subMsg")
217
- )
208
+
209
+ logger.info("Unhandled protobuf event: %s", content.WhichOneof("subMsg"))
218
210
  elif params.identifier == "device_warning_event":
219
- if self.on_warning:
220
- self.on_warning(params.value.code)
211
+ logger.debug("identifier event: %s", params.identifier)
221
212
  else:
222
213
  logger.info("Unhandled event: %s", params.identifier)
223
214
  elif message.topic.endswith("/app/down/thing/status"):
224
215
  status = ThingStatusMessage(**payload)
225
- self._set_status(status.params.status.value)
216
+ logger.debug(status.params.status.value)
226
217
  elif message.topic.endswith("/app/down/thing/properties"):
227
218
  properties = ThingPropertiesMessage(**payload)
219
+ logger.debug("properties: %s", properties)
228
220
  else:
229
- logger.info("Unhandled topic: %s", message.topic)
221
+ logger.debug("Unhandled topic: %s", message.topic)
230
222
  logger.debug(payload)
223
+
224
+ def get_cloud_client(self) -> Optional[CloudIOTGateway]:
225
+ """Return internal cloud client."""
226
+ return self._cloud_client
@@ -13,13 +13,13 @@ _sym_db = _symbol_database.Default()
13
13
 
14
14
 
15
15
 
16
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19pymammotion/proto/common.proto\"&\n\x0e\x43ommDataCouple\x12\t\n\x01x\x18\x01 \x01(\x02\x12\t\n\x01y\x18\x02 \x01(\x02\x62\x06proto3')
16
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1epymammotion/proto/common.proto\"&\n\x0e\x43ommDataCouple\x12\t\n\x01x\x18\x01 \x01(\x02\x12\t\n\x01y\x18\x02 \x01(\x02\x62\x06proto3')
17
17
 
18
18
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
19
19
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'pymammotion.proto.common_pb2', globals())
20
20
  if _descriptor._USE_C_DESCRIPTORS == False:
21
21
 
22
22
  DESCRIPTOR._options = None
23
- _COMMDATACOUPLE._serialized_start=29
24
- _COMMDATACOUPLE._serialized_end=67
23
+ _COMMDATACOUPLE._serialized_start=34
24
+ _COMMDATACOUPLE._serialized_end=72
25
25
  # @@protoc_insertion_point(module_scope)
@@ -13,95 +13,95 @@ _sym_db = _symbol_database.Default()
13
13
 
14
14
 
15
15
 
16
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1apymammotion/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')
16
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fpymammotion/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
17
 
18
18
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
19
19
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'pymammotion.proto.dev_net_pb2', globals())
20
20
  if _descriptor._USE_C_DESCRIPTORS == False:
21
21
 
22
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
23
+ _WIFICONFTYPE._serialized_start=4004
24
+ _WIFICONFTYPE._serialized_end=4112
25
+ _DRVUPLOADFILEFILETYPE._serialized_start=4114
26
+ _DRVUPLOADFILEFILETYPE._serialized_end=4222
27
+ _DRVDEVINFORESULT._serialized_start=4224
28
+ _DRVDEVINFORESULT._serialized_end=4306
29
+ _SIM_CARD_STA._serialized_start=4308
30
+ _SIM_CARD_STA._serialized_end=4420
31
+ _MNET_LINK_TYPE._serialized_start=4422
32
+ _MNET_LINK_TYPE._serialized_end=4512
33
+ _APN_AUTH_TYPE._serialized_start=4514
34
+ _APN_AUTH_TYPE._serialized_end=4608
35
+ _NET_TYPE._serialized_start=4610
36
+ _NET_TYPE._serialized_end=4658
37
+ _IOT_CONCTRL_TYPE._serialized_start=4660
38
+ _IOT_CONCTRL_TYPE._serialized_end=4741
39
+ _DRVWIFIUPLOAD._serialized_start=35
40
+ _DRVWIFIUPLOAD._serialized_end=75
41
+ _DRVWIFILIST._serialized_start=77
42
+ _DRVWIFILIST._serialized_end=115
43
+ _DRVWIFISET._serialized_start=117
44
+ _DRVWIFISET._serialized_end=189
45
+ _DRVWIFIMSG._serialized_start=192
46
+ _DRVWIFIMSG._serialized_end=360
47
+ _DRVWIFICONF._serialized_start=362
48
+ _DRVWIFICONF._serialized_end=425
49
+ _DRVLISTUPLOAD._serialized_start=427
50
+ _DRVLISTUPLOAD._serialized_end=519
51
+ _DRVUPLOADFILEREQ._serialized_start=521
52
+ _DRVUPLOADFILEREQ._serialized_end=610
53
+ _DRVUPLOADFILECANCEL._serialized_start=612
54
+ _DRVUPLOADFILECANCEL._serialized_end=648
55
+ _DRVUPLOADFILETOAPPREQ._serialized_start=650
56
+ _DRVUPLOADFILETOAPPREQ._serialized_end=772
57
+ _DRVUPLOADFILETOAPPRSP._serialized_start=774
58
+ _DRVUPLOADFILETOAPPRSP._serialized_end=847
59
+ _DRVDEVINFOREQID._serialized_start=849
60
+ _DRVDEVINFOREQID._serialized_end=892
61
+ _DRVDEVINFORESPID._serialized_start=894
62
+ _DRVDEVINFORESPID._serialized_end=984
63
+ _DRVDEVINFOREQ._serialized_start=986
64
+ _DRVDEVINFOREQ._serialized_end=1036
65
+ _DRVDEVINFORESP._serialized_start=1038
66
+ _DRVDEVINFORESP._serialized_end=1091
67
+ _DRVUPGRADEREPORT._serialized_start=1094
68
+ _DRVUPGRADEREPORT._serialized_end=1232
69
+ _WIFIIOTSTATUSREPORT._serialized_start=1234
70
+ _WIFIIOTSTATUSREPORT._serialized_end=1342
71
+ _BLETESTBYTES._serialized_start=1344
72
+ _BLETESTBYTES._serialized_end=1386
73
+ _GETNETWORKINFOREQ._serialized_start=1388
74
+ _GETNETWORKINFOREQ._serialized_end=1424
75
+ _GETNETWORKINFORSP._serialized_start=1427
76
+ _GETNETWORKINFORSP._serialized_end=1562
77
+ _MNET_INET_STATUS._serialized_start=1564
78
+ _MNET_INET_STATUS._serialized_end=1642
79
+ _MNETINFO._serialized_start=1645
80
+ _MNETINFO._serialized_end=1827
81
+ _GETMNETINFOREQ._serialized_start=1829
82
+ _GETMNETINFOREQ._serialized_end=1862
83
+ _GETMNETINFORSP._serialized_start=1864
84
+ _GETMNETINFORSP._serialized_end=1938
85
+ _MNETAPN._serialized_start=1940
86
+ _MNETAPN._serialized_end=2065
87
+ _MNETAPNCFG._serialized_start=2067
88
+ _MNETAPNCFG._serialized_end=2124
89
+ _MNETAPNSETCFG._serialized_start=2126
90
+ _MNETAPNSETCFG._serialized_end=2188
91
+ _MNETCFG._serialized_start=2190
92
+ _MNETCFG._serialized_end=2316
93
+ _GETMNETCFGREQ._serialized_start=2318
94
+ _GETMNETCFGREQ._serialized_end=2350
95
+ _GETMNETCFGRSP._serialized_start=2352
96
+ _GETMNETCFGRSP._serialized_end=2423
97
+ _SETMNETCFGREQ._serialized_start=2425
98
+ _SETMNETCFGREQ._serialized_end=2480
99
+ _SETMNETCFGRSP._serialized_start=2482
100
+ _SETMNETCFGRSP._serialized_end=2530
101
+ _DRVDEBUGDDSZMQ._serialized_start=2532
102
+ _DRVDEBUGDDSZMQ._serialized_end=2610
103
+ _SETDRVBLEMTU._serialized_start=2612
104
+ _SETDRVBLEMTU._serialized_end=2645
105
+ _DEVNET._serialized_start=2648
106
+ _DEVNET._serialized_end=4002
107
107
  # @@protoc_insertion_point(module_scope)
@@ -20,21 +20,21 @@ from pymammotion.proto import luba_mul_pb2 as pymammotion_dot_proto_dot_luba__mu
20
20
  from pymammotion.proto import mctrl_pept_pb2 as pymammotion_dot_proto_dot_mctrl__pept__pb2
21
21
 
22
22
 
23
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bpymammotion/proto/luba_msg.proto\x1a\x1fpymammotion/proto/mctrl_driver.proto\x1a\x1cpymammotion/proto/mctrl_nav.proto\x1a\x1cpymammotion/proto/mctrl_sys.proto\x1a\x1apymammotion/proto/dev_net.proto\x1a\x1cpymammotion/proto/mctrl_ota.proto\x1a\x1bpymammotion/proto/luba_mul.proto\x1a\x1dpymammotion/proto/mctrl_pept.proto\"\t\n\x07MsgNull\"\x99\x03\n\x07LubaMsg\x12\x1c\n\x07msgtype\x18\x01 \x01(\x0e\x32\x0b.MsgCmdType\x12\x1a\n\x06sender\x18\x02 \x01(\x0e\x32\n.MsgDevice\x12\x19\n\x05rcver\x18\x03 \x01(\x0e\x32\n.MsgDevice\x12\x19\n\x07msgattr\x18\x04 \x01(\x0e\x32\x08.MsgAttr\x12\x0c\n\x04seqs\x18\x05 \x01(\x05\x12\x0f\n\x07version\x18\x06 \x01(\x05\x12\x0f\n\x07subtype\x18\x07 \x01(\x05\x12\x16\n\x03net\x18\x08 \x01(\x0b\x32\x07.DevNetH\x00\x12\x17\n\x03sys\x18\n \x01(\x0b\x32\x08.MctlSysH\x00\x12\x17\n\x03nav\x18\x0b \x01(\x0b\x32\x08.MctlNavH\x00\x12\x1d\n\x06\x64river\x18\x0c \x01(\x0b\x32\x0b.MctlDriverH\x00\x12\x17\n\x03ota\x18\r \x01(\x0b\x32\x08.MctlOtaH\x00\x12\x16\n\x03mul\x18\x0e \x01(\x0b\x32\x07.SocMulH\x00\x12\x18\n\x04null\x18\x10 \x01(\x0b\x32\x08.MsgNullH\x00\x12\x19\n\x04pept\x18\x11 \x01(\x0b\x32\t.MctlPeptH\x00\x12\x11\n\ttimestamp\x18\x0f \x01(\x04\x42\x0c\n\nLubaSubMsg*\xd7\x02\n\nMsgCmdType\x12\x16\n\x12MSG_CMD_TYPE_START\x10\x00\x12\x15\n\x10MSG_CMD_TYPE_NAV\x10\xf0\x01\x12\x1e\n\x19MSG_CMD_TYPE_LOCALIZATION\x10\xf1\x01\x12\x1a\n\x15MSG_CMD_TYPE_PLANNING\x10\xf2\x01\x12\x1e\n\x19MSG_CMD_TYPE_EMBED_DRIVER\x10\xf3\x01\x12\x1b\n\x16MSG_CMD_TYPE_EMBED_SYS\x10\xf4\x01\x12\x1f\n\x1aMSG_CMD_TYPE_EMBED_MIDWARE\x10\xf5\x01\x12\x1b\n\x16MSG_CMD_TYPE_EMBED_OTA\x10\xf6\x01\x12\x1d\n\x18MSG_CMD_TYPE_APPLICATION\x10\xf7\x01\x12\x15\n\x10MSG_CMD_TYPE_ESP\x10\xf8\x01\x12\x15\n\x10MSG_CMD_TYPE_MUL\x10\xf9\x01\x12\x16\n\x11MSG_CMD_TYPE_PEPT\x10\xfa\x01*V\n\x07MsgAttr\x12\x11\n\rMSG_ATTR_NONE\x10\x00\x12\x10\n\x0cMSG_ATTR_REQ\x10\x01\x12\x11\n\rMSG_ATTR_RESP\x10\x02\x12\x13\n\x0fMSG_ATTR_REPORT\x10\x03*\xa8\x02\n\tMsgDevice\x12\x10\n\x0c\x44\x45V_COMM_ESP\x10\x00\x12\x0f\n\x0b\x44\x45V_MAINCTL\x10\x01\x12\x11\n\rDEV_LEFTMOTOR\x10\x02\x12\x12\n\x0e\x44\x45V_RIGHTMOTOR\x10\x03\x12\x13\n\x0f\x44\x45V_BASESTATION\x10\x04\x12\x0e\n\nDEV_RTKCLI\x10\x05\x12\x0f\n\x0b\x44\x45V_USBHOST\x10\x06\x12\x11\n\rDEV_MOBILEAPP\x10\x07\x12\x11\n\rDEV_IOTSERVER\x10\x08\x12\x0b\n\x07\x44\x45V_BMS\x10\t\x12\x12\n\x0e\x44\x45V_NAVIGATION\x10\x11\x12\x14\n\x10\x44\x45V_LOCALIZATION\x10\x12\x12\x12\n\x0e\x44\x45V_PERCEPTION\x10\x13\x12\x19\n\x15SOC_MODULE_MULTIMEDIA\x10\x15\x12\x0f\n\x0b\x44\x45V_IOTCTRL\x10\x19\x62\x06proto3')
23
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n pymammotion/proto/luba_msg.proto\x1a$pymammotion/proto/mctrl_driver.proto\x1a!pymammotion/proto/mctrl_nav.proto\x1a!pymammotion/proto/mctrl_sys.proto\x1a\x1fpymammotion/proto/dev_net.proto\x1a!pymammotion/proto/mctrl_ota.proto\x1a pymammotion/proto/luba_mul.proto\x1a\"pymammotion/proto/mctrl_pept.proto\"\t\n\x07MsgNull\"\x99\x03\n\x07LubaMsg\x12\x1c\n\x07msgtype\x18\x01 \x01(\x0e\x32\x0b.MsgCmdType\x12\x1a\n\x06sender\x18\x02 \x01(\x0e\x32\n.MsgDevice\x12\x19\n\x05rcver\x18\x03 \x01(\x0e\x32\n.MsgDevice\x12\x19\n\x07msgattr\x18\x04 \x01(\x0e\x32\x08.MsgAttr\x12\x0c\n\x04seqs\x18\x05 \x01(\x05\x12\x0f\n\x07version\x18\x06 \x01(\x05\x12\x0f\n\x07subtype\x18\x07 \x01(\x05\x12\x16\n\x03net\x18\x08 \x01(\x0b\x32\x07.DevNetH\x00\x12\x17\n\x03sys\x18\n \x01(\x0b\x32\x08.MctlSysH\x00\x12\x17\n\x03nav\x18\x0b \x01(\x0b\x32\x08.MctlNavH\x00\x12\x1d\n\x06\x64river\x18\x0c \x01(\x0b\x32\x0b.MctlDriverH\x00\x12\x17\n\x03ota\x18\r \x01(\x0b\x32\x08.MctlOtaH\x00\x12\x16\n\x03mul\x18\x0e \x01(\x0b\x32\x07.SocMulH\x00\x12\x18\n\x04null\x18\x10 \x01(\x0b\x32\x08.MsgNullH\x00\x12\x19\n\x04pept\x18\x11 \x01(\x0b\x32\t.MctlPeptH\x00\x12\x11\n\ttimestamp\x18\x0f \x01(\x04\x42\x0c\n\nLubaSubMsg*\xd7\x02\n\nMsgCmdType\x12\x16\n\x12MSG_CMD_TYPE_START\x10\x00\x12\x15\n\x10MSG_CMD_TYPE_NAV\x10\xf0\x01\x12\x1e\n\x19MSG_CMD_TYPE_LOCALIZATION\x10\xf1\x01\x12\x1a\n\x15MSG_CMD_TYPE_PLANNING\x10\xf2\x01\x12\x1e\n\x19MSG_CMD_TYPE_EMBED_DRIVER\x10\xf3\x01\x12\x1b\n\x16MSG_CMD_TYPE_EMBED_SYS\x10\xf4\x01\x12\x1f\n\x1aMSG_CMD_TYPE_EMBED_MIDWARE\x10\xf5\x01\x12\x1b\n\x16MSG_CMD_TYPE_EMBED_OTA\x10\xf6\x01\x12\x1d\n\x18MSG_CMD_TYPE_APPLICATION\x10\xf7\x01\x12\x15\n\x10MSG_CMD_TYPE_ESP\x10\xf8\x01\x12\x15\n\x10MSG_CMD_TYPE_MUL\x10\xf9\x01\x12\x16\n\x11MSG_CMD_TYPE_PEPT\x10\xfa\x01*V\n\x07MsgAttr\x12\x11\n\rMSG_ATTR_NONE\x10\x00\x12\x10\n\x0cMSG_ATTR_REQ\x10\x01\x12\x11\n\rMSG_ATTR_RESP\x10\x02\x12\x13\n\x0fMSG_ATTR_REPORT\x10\x03*\xa8\x02\n\tMsgDevice\x12\x10\n\x0c\x44\x45V_COMM_ESP\x10\x00\x12\x0f\n\x0b\x44\x45V_MAINCTL\x10\x01\x12\x11\n\rDEV_LEFTMOTOR\x10\x02\x12\x12\n\x0e\x44\x45V_RIGHTMOTOR\x10\x03\x12\x13\n\x0f\x44\x45V_BASESTATION\x10\x04\x12\x0e\n\nDEV_RTKCLI\x10\x05\x12\x0f\n\x0b\x44\x45V_USBHOST\x10\x06\x12\x11\n\rDEV_MOBILEAPP\x10\x07\x12\x11\n\rDEV_IOTSERVER\x10\x08\x12\x0b\n\x07\x44\x45V_BMS\x10\t\x12\x12\n\x0e\x44\x45V_NAVIGATION\x10\x11\x12\x14\n\x10\x44\x45V_LOCALIZATION\x10\x12\x12\x12\n\x0e\x44\x45V_PERCEPTION\x10\x13\x12\x19\n\x15SOC_MODULE_MULTIMEDIA\x10\x15\x12\x0f\n\x0b\x44\x45V_IOTCTRL\x10\x19\x62\x06proto3')
24
24
 
25
25
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
26
26
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'pymammotion.proto.luba_msg_pb2', globals())
27
27
  if _descriptor._USE_C_DESCRIPTORS == False:
28
28
 
29
29
  DESCRIPTOR._options = None
30
- _MSGCMDTYPE._serialized_start=666
31
- _MSGCMDTYPE._serialized_end=1009
32
- _MSGATTR._serialized_start=1011
33
- _MSGATTR._serialized_end=1097
34
- _MSGDEVICE._serialized_start=1100
35
- _MSGDEVICE._serialized_end=1396
36
- _MSGNULL._serialized_start=242
37
- _MSGNULL._serialized_end=251
38
- _LUBAMSG._serialized_start=254
39
- _LUBAMSG._serialized_end=663
30
+ _MSGCMDTYPE._serialized_start=706
31
+ _MSGCMDTYPE._serialized_end=1049
32
+ _MSGATTR._serialized_start=1051
33
+ _MSGATTR._serialized_end=1137
34
+ _MSGDEVICE._serialized_start=1140
35
+ _MSGDEVICE._serialized_end=1436
36
+ _MSGNULL._serialized_start=282
37
+ _MSGNULL._serialized_end=291
38
+ _LUBAMSG._serialized_start=294
39
+ _LUBAMSG._serialized_end=703
40
40
  # @@protoc_insertion_point(module_scope)
@@ -13,33 +13,33 @@ _sym_db = _symbol_database.Default()
13
13
 
14
14
 
15
15
 
16
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bpymammotion/proto/luba_mul.proto\"V\n\x0bMulSetAudio\x12\x13\n\tat_switch\x18\x01 \x01(\x05H\x00\x12$\n\x0b\x61u_language\x18\x02 \x01(\x0e\x32\r.MUL_LANGUAGEH\x00\x42\x0c\n\nAudioCfg_u\"H\n\x0bMulSetVideo\x12&\n\x08position\x18\x01 \x01(\x0e\x32\x14.MUL_CAMERA_POSITION\x12\x11\n\tvi_switch\x18\x02 \x01(\x05\";\n\x0eMulSetVideoAck\x12)\n\nerror_code\x18\x01 \x01(\x0e\x32\x15.MUL_VIDEO_ERROR_CODE\"D\n\x0bMulAudioCfg\x12\x11\n\tau_switch\x18\x01 \x01(\x05\x12\"\n\x0b\x61u_language\x18\x02 \x01(\x0e\x32\r.MUL_LANGUAGE\"\x1c\n\x0bMulSetWiper\x12\r\n\x05round\x18\x01 \x01(\x05\";\n\x0eMulSetWiperAck\x12)\n\nerror_code\x18\x01 \x01(\x0e\x32\x15.MUL_WIPER_ERROR_CODE\"\xf2\x01\n\x06SocMul\x12!\n\tset_audio\x18\x01 \x01(\x0b\x32\x0c.MulSetAudioH\x00\x12!\n\taudio_cfg\x18\x02 \x01(\x0b\x32\x0c.MulAudioCfgH\x00\x12!\n\tset_video\x18\x03 \x01(\x0b\x32\x0c.MulSetVideoH\x00\x12(\n\rset_video_ack\x18\x04 \x01(\x0b\x32\x0f.MulSetVideoAckH\x00\x12!\n\tset_wiper\x18\x05 \x01(\x0b\x32\x0c.MulSetWiperH\x00\x12(\n\rset_wiper_ack\x18\x06 \x01(\x0b\x32\x0f.MulSetWiperAckH\x00\x42\x08\n\x06SubMul*\'\n\x0cMUL_LANGUAGE\x12\x0b\n\x07\x45NGLISH\x10\x00\x12\n\n\x06GERMAN\x10\x01*=\n\x13MUL_CAMERA_POSITION\x12\x08\n\x04LEFT\x10\x00\x12\t\n\x05RIGHT\x10\x01\x12\x08\n\x04REAR\x10\x02\x12\x07\n\x03\x41LL\x10\x03*\x9d\x01\n\x14MUL_VIDEO_ERROR_CODE\x12\x0b\n\x07SUCCESS\x10\x00\x12\x15\n\x11\x41\x43TIVATION_FAILED\x10\x01\x12\x19\n\x15NETWORK_NOT_AVAILABLE\x10\x02\x12\x19\n\x15\x43REATE_CHANNEL_FAILED\x10\x03\x12\x11\n\rPARAM_INVAILD\x10\x04\x12\x18\n\x14\x43\x45LLULAR_RESTRICTION\x10\x05*Q\n\x14MUL_WIPER_ERROR_CODE\x12\x0f\n\x0bSET_SUCCESS\x10\x00\x12\x0c\n\x08HW_ERROR\x10\x01\x12\x1a\n\x16NAVIGATION_WORK_FORBID\x10\x02\x62\x06proto3')
16
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n pymammotion/proto/luba_mul.proto\"V\n\x0bMulSetAudio\x12\x13\n\tat_switch\x18\x01 \x01(\x05H\x00\x12$\n\x0b\x61u_language\x18\x02 \x01(\x0e\x32\r.MUL_LANGUAGEH\x00\x42\x0c\n\nAudioCfg_u\"H\n\x0bMulSetVideo\x12&\n\x08position\x18\x01 \x01(\x0e\x32\x14.MUL_CAMERA_POSITION\x12\x11\n\tvi_switch\x18\x02 \x01(\x05\";\n\x0eMulSetVideoAck\x12)\n\nerror_code\x18\x01 \x01(\x0e\x32\x15.MUL_VIDEO_ERROR_CODE\"D\n\x0bMulAudioCfg\x12\x11\n\tau_switch\x18\x01 \x01(\x05\x12\"\n\x0b\x61u_language\x18\x02 \x01(\x0e\x32\r.MUL_LANGUAGE\"\x1c\n\x0bMulSetWiper\x12\r\n\x05round\x18\x01 \x01(\x05\";\n\x0eMulSetWiperAck\x12)\n\nerror_code\x18\x01 \x01(\x0e\x32\x15.MUL_WIPER_ERROR_CODE\"\xf2\x01\n\x06SocMul\x12!\n\tset_audio\x18\x01 \x01(\x0b\x32\x0c.MulSetAudioH\x00\x12!\n\taudio_cfg\x18\x02 \x01(\x0b\x32\x0c.MulAudioCfgH\x00\x12!\n\tset_video\x18\x03 \x01(\x0b\x32\x0c.MulSetVideoH\x00\x12(\n\rset_video_ack\x18\x04 \x01(\x0b\x32\x0f.MulSetVideoAckH\x00\x12!\n\tset_wiper\x18\x05 \x01(\x0b\x32\x0c.MulSetWiperH\x00\x12(\n\rset_wiper_ack\x18\x06 \x01(\x0b\x32\x0f.MulSetWiperAckH\x00\x42\x08\n\x06SubMul*\'\n\x0cMUL_LANGUAGE\x12\x0b\n\x07\x45NGLISH\x10\x00\x12\n\n\x06GERMAN\x10\x01*=\n\x13MUL_CAMERA_POSITION\x12\x08\n\x04LEFT\x10\x00\x12\t\n\x05RIGHT\x10\x01\x12\x08\n\x04REAR\x10\x02\x12\x07\n\x03\x41LL\x10\x03*\x9d\x01\n\x14MUL_VIDEO_ERROR_CODE\x12\x0b\n\x07SUCCESS\x10\x00\x12\x15\n\x11\x41\x43TIVATION_FAILED\x10\x01\x12\x19\n\x15NETWORK_NOT_AVAILABLE\x10\x02\x12\x19\n\x15\x43REATE_CHANNEL_FAILED\x10\x03\x12\x11\n\rPARAM_INVAILD\x10\x04\x12\x18\n\x14\x43\x45LLULAR_RESTRICTION\x10\x05*Q\n\x14MUL_WIPER_ERROR_CODE\x12\x0f\n\x0bSET_SUCCESS\x10\x00\x12\x0c\n\x08HW_ERROR\x10\x01\x12\x1a\n\x16NAVIGATION_WORK_FORBID\x10\x02\x62\x06proto3')
17
17
 
18
18
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
19
19
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'pymammotion.proto.luba_mul_pb2', globals())
20
20
  if _descriptor._USE_C_DESCRIPTORS == False:
21
21
 
22
22
  DESCRIPTOR._options = None
23
- _MUL_LANGUAGE._serialized_start=660
24
- _MUL_LANGUAGE._serialized_end=699
25
- _MUL_CAMERA_POSITION._serialized_start=701
26
- _MUL_CAMERA_POSITION._serialized_end=762
27
- _MUL_VIDEO_ERROR_CODE._serialized_start=765
28
- _MUL_VIDEO_ERROR_CODE._serialized_end=922
29
- _MUL_WIPER_ERROR_CODE._serialized_start=924
30
- _MUL_WIPER_ERROR_CODE._serialized_end=1005
31
- _MULSETAUDIO._serialized_start=31
32
- _MULSETAUDIO._serialized_end=117
33
- _MULSETVIDEO._serialized_start=119
34
- _MULSETVIDEO._serialized_end=191
35
- _MULSETVIDEOACK._serialized_start=193
36
- _MULSETVIDEOACK._serialized_end=252
37
- _MULAUDIOCFG._serialized_start=254
38
- _MULAUDIOCFG._serialized_end=322
39
- _MULSETWIPER._serialized_start=324
40
- _MULSETWIPER._serialized_end=352
41
- _MULSETWIPERACK._serialized_start=354
42
- _MULSETWIPERACK._serialized_end=413
43
- _SOCMUL._serialized_start=416
44
- _SOCMUL._serialized_end=658
23
+ _MUL_LANGUAGE._serialized_start=665
24
+ _MUL_LANGUAGE._serialized_end=704
25
+ _MUL_CAMERA_POSITION._serialized_start=706
26
+ _MUL_CAMERA_POSITION._serialized_end=767
27
+ _MUL_VIDEO_ERROR_CODE._serialized_start=770
28
+ _MUL_VIDEO_ERROR_CODE._serialized_end=927
29
+ _MUL_WIPER_ERROR_CODE._serialized_start=929
30
+ _MUL_WIPER_ERROR_CODE._serialized_end=1010
31
+ _MULSETAUDIO._serialized_start=36
32
+ _MULSETAUDIO._serialized_end=122
33
+ _MULSETVIDEO._serialized_start=124
34
+ _MULSETVIDEO._serialized_end=196
35
+ _MULSETVIDEOACK._serialized_start=198
36
+ _MULSETVIDEOACK._serialized_end=257
37
+ _MULAUDIOCFG._serialized_start=259
38
+ _MULAUDIOCFG._serialized_end=327
39
+ _MULSETWIPER._serialized_start=329
40
+ _MULSETWIPER._serialized_end=357
41
+ _MULSETWIPERACK._serialized_start=359
42
+ _MULSETWIPERACK._serialized_end=418
43
+ _SOCMUL._serialized_start=421
44
+ _SOCMUL._serialized_end=663
45
45
  # @@protoc_insertion_point(module_scope)
@@ -13,33 +13,33 @@ _sym_db = _symbol_database.Default()
13
13
 
14
14
 
15
15
 
16
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fpymammotion/proto/mctrl_driver.proto\"@\n\rDrvMotionCtrl\x12\x16\n\x0esetLinearSpeed\x18\x01 \x01(\x05\x12\x17\n\x0fsetAngularSpeed\x18\x02 \x01(\x05\"%\n\x0e\x44rvKnifeHeight\x12\x13\n\x0bknifeHeight\x18\x01 \x01(\x05\"\'\n\nDrvSrSpeed\x12\n\n\x02rw\x18\x01 \x01(\x05\x12\r\n\x05speed\x18\x02 \x01(\x02\"&\n\x0e\x44rvKnifeStatus\x12\x14\n\x0cknife_status\x18\x01 \x01(\x05\"N\n\x14\x44rvKnifeChangeReport\x12\x10\n\x08is_start\x18\x01 \x01(\x05\x12\x12\n\nstart_high\x18\x02 \x01(\x05\x12\x10\n\x08\x65nd_high\x18\x03 \x01(\x05\"n\n\x10\x44rvMowCtrlByHand\x12\x11\n\tmain_ctrl\x18\x01 \x01(\x05\x12\x16\n\x0e\x63ut_knife_ctrl\x18\x02 \x01(\x05\x12\x18\n\x10\x63ut_knife_height\x18\x03 \x01(\x05\x12\x15\n\rmax_run_Speed\x18\x04 \x01(\x02\"4\n\rrtk_cfg_req_t\x12\x12\n\ncmd_length\x18\x01 \x01(\x05\x12\x0f\n\x07\x63md_req\x18\x02 \x01(\t\"=\n\x11rtk_cfg_req_ack_t\x12\x12\n\ncmd_length\x18\x01 \x01(\x05\x12\x14\n\x0c\x63md_response\x18\x02 \x01(\t\"*\n\x14rtk_sys_mask_query_t\x12\x12\n\nsat_system\x18\x01 \x01(\r\"H\n\x18rtk_sys_mask_query_ack_t\x12\x12\n\nsat_system\x18\x01 \x01(\r\x12\x18\n\x10system_mask_bits\x18\x02 \x03(\r\"\xc3\x04\n\nMctlDriver\x12.\n\x14todev_devmotion_ctrl\x18\x01 \x01(\x0b\x32\x0e.DrvMotionCtrlH\x00\x12\x31\n\x16todev_knife_height_set\x18\x02 \x01(\x0b\x32\x0f.DrvKnifeHeightH\x00\x12,\n\x15\x62idire_speed_read_set\x18\x03 \x01(\x0b\x32\x0b.DrvSrSpeedH\x00\x12\x35\n\x1a\x62idire_knife_height_report\x18\x04 \x01(\x0b\x32\x0f.DrvKnifeHeightH\x00\x12-\n\x12toapp_knife_status\x18\x05 \x01(\x0b\x32\x0f.DrvKnifeStatusH\x00\x12-\n\x10mow_ctrl_by_hand\x18\x06 \x01(\x0b\x32\x11.DrvMowCtrlByHandH\x00\x12%\n\x0brtk_cfg_req\x18\x07 \x01(\x0b\x32\x0e.rtk_cfg_req_tH\x00\x12-\n\x0frtk_cfg_req_ack\x18\x08 \x01(\x0b\x32\x12.rtk_cfg_req_ack_tH\x00\x12\x33\n\x12rtk_sys_mask_query\x18\t \x01(\x0b\x32\x15.rtk_sys_mask_query_tH\x00\x12;\n\x16rtk_sys_mask_query_ack\x18\n \x01(\x0b\x32\x19.rtk_sys_mask_query_ack_tH\x00\x12:\n\x19toapp_knife_status_change\x18\x0b \x01(\x0b\x32\x15.DrvKnifeChangeReportH\x00\x42\x0b\n\tSubDrvMsgb\x06proto3')
16
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$pymammotion/proto/mctrl_driver.proto\"@\n\rDrvMotionCtrl\x12\x16\n\x0esetLinearSpeed\x18\x01 \x01(\x05\x12\x17\n\x0fsetAngularSpeed\x18\x02 \x01(\x05\"%\n\x0e\x44rvKnifeHeight\x12\x13\n\x0bknifeHeight\x18\x01 \x01(\x05\"\'\n\nDrvSrSpeed\x12\n\n\x02rw\x18\x01 \x01(\x05\x12\r\n\x05speed\x18\x02 \x01(\x02\"&\n\x0e\x44rvKnifeStatus\x12\x14\n\x0cknife_status\x18\x01 \x01(\x05\"N\n\x14\x44rvKnifeChangeReport\x12\x10\n\x08is_start\x18\x01 \x01(\x05\x12\x12\n\nstart_high\x18\x02 \x01(\x05\x12\x10\n\x08\x65nd_high\x18\x03 \x01(\x05\"n\n\x10\x44rvMowCtrlByHand\x12\x11\n\tmain_ctrl\x18\x01 \x01(\x05\x12\x16\n\x0e\x63ut_knife_ctrl\x18\x02 \x01(\x05\x12\x18\n\x10\x63ut_knife_height\x18\x03 \x01(\x05\x12\x15\n\rmax_run_Speed\x18\x04 \x01(\x02\"4\n\rrtk_cfg_req_t\x12\x12\n\ncmd_length\x18\x01 \x01(\x05\x12\x0f\n\x07\x63md_req\x18\x02 \x01(\t\"=\n\x11rtk_cfg_req_ack_t\x12\x12\n\ncmd_length\x18\x01 \x01(\x05\x12\x14\n\x0c\x63md_response\x18\x02 \x01(\t\"*\n\x14rtk_sys_mask_query_t\x12\x12\n\nsat_system\x18\x01 \x01(\r\"H\n\x18rtk_sys_mask_query_ack_t\x12\x12\n\nsat_system\x18\x01 \x01(\r\x12\x18\n\x10system_mask_bits\x18\x02 \x03(\r\"\xc3\x04\n\nMctlDriver\x12.\n\x14todev_devmotion_ctrl\x18\x01 \x01(\x0b\x32\x0e.DrvMotionCtrlH\x00\x12\x31\n\x16todev_knife_height_set\x18\x02 \x01(\x0b\x32\x0f.DrvKnifeHeightH\x00\x12,\n\x15\x62idire_speed_read_set\x18\x03 \x01(\x0b\x32\x0b.DrvSrSpeedH\x00\x12\x35\n\x1a\x62idire_knife_height_report\x18\x04 \x01(\x0b\x32\x0f.DrvKnifeHeightH\x00\x12-\n\x12toapp_knife_status\x18\x05 \x01(\x0b\x32\x0f.DrvKnifeStatusH\x00\x12-\n\x10mow_ctrl_by_hand\x18\x06 \x01(\x0b\x32\x11.DrvMowCtrlByHandH\x00\x12%\n\x0brtk_cfg_req\x18\x07 \x01(\x0b\x32\x0e.rtk_cfg_req_tH\x00\x12-\n\x0frtk_cfg_req_ack\x18\x08 \x01(\x0b\x32\x12.rtk_cfg_req_ack_tH\x00\x12\x33\n\x12rtk_sys_mask_query\x18\t \x01(\x0b\x32\x15.rtk_sys_mask_query_tH\x00\x12;\n\x16rtk_sys_mask_query_ack\x18\n \x01(\x0b\x32\x19.rtk_sys_mask_query_ack_tH\x00\x12:\n\x19toapp_knife_status_change\x18\x0b \x01(\x0b\x32\x15.DrvKnifeChangeReportH\x00\x42\x0b\n\tSubDrvMsgb\x06proto3')
17
17
 
18
18
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
19
19
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'pymammotion.proto.mctrl_driver_pb2', globals())
20
20
  if _descriptor._USE_C_DESCRIPTORS == False:
21
21
 
22
22
  DESCRIPTOR._options = None
23
- _DRVMOTIONCTRL._serialized_start=35
24
- _DRVMOTIONCTRL._serialized_end=99
25
- _DRVKNIFEHEIGHT._serialized_start=101
26
- _DRVKNIFEHEIGHT._serialized_end=138
27
- _DRVSRSPEED._serialized_start=140
28
- _DRVSRSPEED._serialized_end=179
29
- _DRVKNIFESTATUS._serialized_start=181
30
- _DRVKNIFESTATUS._serialized_end=219
31
- _DRVKNIFECHANGEREPORT._serialized_start=221
32
- _DRVKNIFECHANGEREPORT._serialized_end=299
33
- _DRVMOWCTRLBYHAND._serialized_start=301
34
- _DRVMOWCTRLBYHAND._serialized_end=411
35
- _RTK_CFG_REQ_T._serialized_start=413
36
- _RTK_CFG_REQ_T._serialized_end=465
37
- _RTK_CFG_REQ_ACK_T._serialized_start=467
38
- _RTK_CFG_REQ_ACK_T._serialized_end=528
39
- _RTK_SYS_MASK_QUERY_T._serialized_start=530
40
- _RTK_SYS_MASK_QUERY_T._serialized_end=572
41
- _RTK_SYS_MASK_QUERY_ACK_T._serialized_start=574
42
- _RTK_SYS_MASK_QUERY_ACK_T._serialized_end=646
43
- _MCTLDRIVER._serialized_start=649
44
- _MCTLDRIVER._serialized_end=1228
23
+ _DRVMOTIONCTRL._serialized_start=40
24
+ _DRVMOTIONCTRL._serialized_end=104
25
+ _DRVKNIFEHEIGHT._serialized_start=106
26
+ _DRVKNIFEHEIGHT._serialized_end=143
27
+ _DRVSRSPEED._serialized_start=145
28
+ _DRVSRSPEED._serialized_end=184
29
+ _DRVKNIFESTATUS._serialized_start=186
30
+ _DRVKNIFESTATUS._serialized_end=224
31
+ _DRVKNIFECHANGEREPORT._serialized_start=226
32
+ _DRVKNIFECHANGEREPORT._serialized_end=304
33
+ _DRVMOWCTRLBYHAND._serialized_start=306
34
+ _DRVMOWCTRLBYHAND._serialized_end=416
35
+ _RTK_CFG_REQ_T._serialized_start=418
36
+ _RTK_CFG_REQ_T._serialized_end=470
37
+ _RTK_CFG_REQ_ACK_T._serialized_start=472
38
+ _RTK_CFG_REQ_ACK_T._serialized_end=533
39
+ _RTK_SYS_MASK_QUERY_T._serialized_start=535
40
+ _RTK_SYS_MASK_QUERY_T._serialized_end=577
41
+ _RTK_SYS_MASK_QUERY_ACK_T._serialized_start=579
42
+ _RTK_SYS_MASK_QUERY_ACK_T._serialized_end=651
43
+ _MCTLDRIVER._serialized_start=654
44
+ _MCTLDRIVER._serialized_end=1233
45
45
  # @@protoc_insertion_point(module_scope)