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.
Files changed (154) hide show
  1. pymammotion/__init__.py +53 -0
  2. pymammotion/agora/__init__.py +0 -0
  3. pymammotion/agora/agora_api.py +755 -0
  4. pymammotion/agora/agora_rtc_capabilities.py +748 -0
  5. pymammotion/agora/agora_websockets.py +1175 -0
  6. pymammotion/aliyun/__init__.py +1 -0
  7. pymammotion/aliyun/client.py +235 -0
  8. pymammotion/aliyun/cloud_gateway.py +982 -0
  9. pymammotion/aliyun/model/aep_response.py +21 -0
  10. pymammotion/aliyun/model/connect_response.py +51 -0
  11. pymammotion/aliyun/model/dev_by_account_response.py +195 -0
  12. pymammotion/aliyun/model/login_by_oauth_response.py +64 -0
  13. pymammotion/aliyun/model/regions_response.py +29 -0
  14. pymammotion/aliyun/model/session_by_authcode_response.py +19 -0
  15. pymammotion/aliyun/model/thing_response.py +12 -0
  16. pymammotion/aliyun/regions.py +62 -0
  17. pymammotion/aliyun/tea/core.py +297 -0
  18. pymammotion/aliyun/tmp_constant.py +171 -0
  19. pymammotion/bluetooth/__init__.py +1 -0
  20. pymammotion/bluetooth/ble.py +62 -0
  21. pymammotion/bluetooth/ble_message.py +676 -0
  22. pymammotion/bluetooth/const.py +27 -0
  23. pymammotion/bluetooth/data/__init__.py +0 -0
  24. pymammotion/bluetooth/data/convert.py +25 -0
  25. pymammotion/bluetooth/data/framectrldata.py +40 -0
  26. pymammotion/bluetooth/data/notifydata.py +62 -0
  27. pymammotion/bluetooth/model/__init__.py +0 -0
  28. pymammotion/bluetooth/model/atomic_integer.py +54 -0
  29. pymammotion/const.py +13 -0
  30. pymammotion/data/__init__.py +0 -0
  31. pymammotion/data/model/__init__.py +8 -0
  32. pymammotion/data/model/account.py +8 -0
  33. pymammotion/data/model/device.py +192 -0
  34. pymammotion/data/model/device_config.py +72 -0
  35. pymammotion/data/model/device_info.py +60 -0
  36. pymammotion/data/model/device_limits.py +49 -0
  37. pymammotion/data/model/enums.py +77 -0
  38. pymammotion/data/model/errors.py +12 -0
  39. pymammotion/data/model/events.py +14 -0
  40. pymammotion/data/model/generate_geojson.py +565 -0
  41. pymammotion/data/model/generate_route_information.py +26 -0
  42. pymammotion/data/model/hash_list.py +475 -0
  43. pymammotion/data/model/location.py +36 -0
  44. pymammotion/data/model/mowing_modes.py +77 -0
  45. pymammotion/data/model/rapid_state.py +45 -0
  46. pymammotion/data/model/raw_data.py +215 -0
  47. pymammotion/data/model/region_data.py +102 -0
  48. pymammotion/data/model/report_info.py +182 -0
  49. pymammotion/data/model/work.py +27 -0
  50. pymammotion/data/mower_state_manager.py +369 -0
  51. pymammotion/data/mqtt/__init__.py +1 -0
  52. pymammotion/data/mqtt/event.py +227 -0
  53. pymammotion/data/mqtt/mammotion_properties.py +276 -0
  54. pymammotion/data/mqtt/properties.py +203 -0
  55. pymammotion/data/mqtt/status.py +57 -0
  56. pymammotion/event/__init__.py +6 -0
  57. pymammotion/event/event.py +96 -0
  58. pymammotion/homeassistant/__init__.py +3 -0
  59. pymammotion/homeassistant/mower_api.py +514 -0
  60. pymammotion/homeassistant/rtk_api.py +54 -0
  61. pymammotion/http/__init__.py +0 -0
  62. pymammotion/http/encryption.py +220 -0
  63. pymammotion/http/http.py +673 -0
  64. pymammotion/http/model/__init__.py +0 -0
  65. pymammotion/http/model/camera_stream.py +31 -0
  66. pymammotion/http/model/http.py +249 -0
  67. pymammotion/http/model/response_factory.py +61 -0
  68. pymammotion/http/model/rtk.py +16 -0
  69. pymammotion/mammotion/__init__.py +0 -0
  70. pymammotion/mammotion/commands/__init__.py +0 -0
  71. pymammotion/mammotion/commands/abstract_message.py +24 -0
  72. pymammotion/mammotion/commands/mammotion_command.py +81 -0
  73. pymammotion/mammotion/commands/messages/__init__.py +0 -0
  74. pymammotion/mammotion/commands/messages/basestation.py +43 -0
  75. pymammotion/mammotion/commands/messages/driver.py +122 -0
  76. pymammotion/mammotion/commands/messages/media.py +87 -0
  77. pymammotion/mammotion/commands/messages/navigation.py +564 -0
  78. pymammotion/mammotion/commands/messages/network.py +205 -0
  79. pymammotion/mammotion/commands/messages/ota.py +38 -0
  80. pymammotion/mammotion/commands/messages/system.py +330 -0
  81. pymammotion/mammotion/commands/messages/video.py +33 -0
  82. pymammotion/mammotion/control/__init__.py +0 -0
  83. pymammotion/mammotion/control/joystick.py +145 -0
  84. pymammotion/mammotion/devices/__init__.py +29 -0
  85. pymammotion/mammotion/devices/base.py +163 -0
  86. pymammotion/mammotion/devices/mammotion.py +571 -0
  87. pymammotion/mammotion/devices/mammotion_bluetooth.py +496 -0
  88. pymammotion/mammotion/devices/mammotion_cloud.py +355 -0
  89. pymammotion/mammotion/devices/mammotion_mower_ble.py +48 -0
  90. pymammotion/mammotion/devices/mammotion_mower_cloud.py +39 -0
  91. pymammotion/mammotion/devices/managers/managers.py +81 -0
  92. pymammotion/mammotion/devices/mower_device.py +120 -0
  93. pymammotion/mammotion/devices/mower_manager.py +107 -0
  94. pymammotion/mammotion/devices/rtk_ble.py +89 -0
  95. pymammotion/mammotion/devices/rtk_cloud.py +115 -0
  96. pymammotion/mammotion/devices/rtk_device.py +50 -0
  97. pymammotion/mammotion/devices/rtk_manager.py +125 -0
  98. pymammotion/mqtt/__init__.py +6 -0
  99. pymammotion/mqtt/aliyun_mqtt.py +237 -0
  100. pymammotion/mqtt/linkkit/__init__.py +5 -0
  101. pymammotion/mqtt/linkkit/h2client.py +585 -0
  102. pymammotion/mqtt/linkkit/linkkit.py +3025 -0
  103. pymammotion/mqtt/mammotion_future.py +26 -0
  104. pymammotion/mqtt/mammotion_mqtt.py +214 -0
  105. pymammotion/mqtt/mqtt_models.py +66 -0
  106. pymammotion/proto/__init__.py +4841 -0
  107. pymammotion/proto/basestation.proto +51 -0
  108. pymammotion/proto/basestation_pb2.py +35 -0
  109. pymammotion/proto/basestation_pb2.pyi +89 -0
  110. pymammotion/proto/common.proto +7 -0
  111. pymammotion/proto/common_pb2.py +25 -0
  112. pymammotion/proto/common_pb2.pyi +13 -0
  113. pymammotion/proto/dev_net.proto +321 -0
  114. pymammotion/proto/dev_net_pb2.py +111 -0
  115. pymammotion/proto/dev_net_pb2.pyi +515 -0
  116. pymammotion/proto/luba_msg.proto +76 -0
  117. pymammotion/proto/luba_msg_pb2.py +41 -0
  118. pymammotion/proto/luba_msg_pb2.pyi +97 -0
  119. pymammotion/proto/luba_mul.proto +129 -0
  120. pymammotion/proto/luba_mul_pb2.py +61 -0
  121. pymammotion/proto/luba_mul_pb2.pyi +178 -0
  122. pymammotion/proto/mctrl_driver.proto +107 -0
  123. pymammotion/proto/mctrl_driver_pb2.py +57 -0
  124. pymammotion/proto/mctrl_driver_pb2.pyi +167 -0
  125. pymammotion/proto/mctrl_nav.proto +591 -0
  126. pymammotion/proto/mctrl_nav_pb2.py +136 -0
  127. pymammotion/proto/mctrl_nav_pb2.pyi +1067 -0
  128. pymammotion/proto/mctrl_ota.proto +80 -0
  129. pymammotion/proto/mctrl_ota_pb2.py +45 -0
  130. pymammotion/proto/mctrl_ota_pb2.pyi +128 -0
  131. pymammotion/proto/mctrl_pept.proto +34 -0
  132. pymammotion/proto/mctrl_pept_pb2.py +33 -0
  133. pymammotion/proto/mctrl_pept_pb2.pyi +58 -0
  134. pymammotion/proto/mctrl_sys.proto +741 -0
  135. pymammotion/proto/mctrl_sys_pb2.py +206 -0
  136. pymammotion/proto/mctrl_sys_pb2.pyi +1213 -0
  137. pymammotion/proto/message_pool.py +3 -0
  138. pymammotion/proto/py.typed +0 -0
  139. pymammotion/py.typed +0 -0
  140. pymammotion/utility/constant/__init__.py +3 -0
  141. pymammotion/utility/constant/device_constant.py +315 -0
  142. pymammotion/utility/conversions.py +5 -0
  143. pymammotion/utility/datatype_converter.py +124 -0
  144. pymammotion/utility/device_config.py +755 -0
  145. pymammotion/utility/device_type.py +489 -0
  146. pymammotion/utility/map.py +259 -0
  147. pymammotion/utility/movement.py +18 -0
  148. pymammotion/utility/mur_mur_hash.py +159 -0
  149. pymammotion/utility/periodic.py +106 -0
  150. pymammotion/utility/rocker_util.py +194 -0
  151. pymammotion-0.5.69.dist-info/METADATA +93 -0
  152. pymammotion-0.5.69.dist-info/RECORD +154 -0
  153. pymammotion-0.5.69.dist-info/WHEEL +4 -0
  154. pymammotion-0.5.69.dist-info/licenses/LICENSE +674 -0
@@ -0,0 +1,51 @@
1
+ syntax = "proto3";
2
+
3
+ message request_basestation_info_t {
4
+ uint32 request_type = 1;
5
+ }
6
+
7
+ message base_score {
8
+ uint32 base_score = 1;
9
+ uint32 base_leve = 2;
10
+ uint32 base_moved = 3;
11
+ uint32 base_moving = 4;
12
+ }
13
+
14
+ message response_basestation_info_t {
15
+ uint64 system_status = 1;
16
+ uint32 app_connect_type = 2;
17
+ int32 ble_rssi = 3;
18
+ int32 wifi_rssi = 4;
19
+ uint64 sats_num = 5;
20
+ int64 lora_scan = 6;
21
+ int64 lora_channel = 7;
22
+ int64 lora_locid = 8;
23
+ int64 lora_netid = 9;
24
+ uint64 rtk_status = 10;
25
+ int32 lowpower_status = 11;
26
+ int32 mqtt_rtk_status = 12;
27
+ int32 rtk_channel = 13;
28
+ int32 rtk_switch = 14;
29
+ base_score score_info = 15;
30
+ }
31
+
32
+ message app_to_base_mqtt_rtk_t {
33
+ int32 rtk_switch = 1;
34
+ string rtk_url = 2;
35
+ int32 rtk_port = 3;
36
+ string rtk_username = 4;
37
+ string rtk_password = 5;
38
+ }
39
+
40
+ message base_to_app_mqtt_rtk_t {
41
+ int32 rtk_switch_status = 1;
42
+ }
43
+
44
+ message BaseStation {
45
+ oneof BaseStationSubType {
46
+ request_basestation_info_t to_dev = 1;
47
+ response_basestation_info_t to_app = 2;
48
+ app_to_base_mqtt_rtk_t app_to_base_mqtt_rtk_msg = 3;
49
+ base_to_app_mqtt_rtk_t base_to_app_mqtt_rtk_msg = 4;
50
+ }
51
+ }
@@ -0,0 +1,35 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: pymammotion/proto/basestation.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#pymammotion/proto/basestation.proto\"2\n\x1arequest_basestation_info_t\x12\x14\n\x0crequest_type\x18\x01 \x01(\r\"\\\n\nbase_score\x12\x12\n\nbase_score\x18\x01 \x01(\r\x12\x11\n\tbase_leve\x18\x02 \x01(\r\x12\x12\n\nbase_moved\x18\x03 \x01(\r\x12\x13\n\x0b\x62\x61se_moving\x18\x04 \x01(\r\"\xe6\x02\n\x1bresponse_basestation_info_t\x12\x15\n\rsystem_status\x18\x01 \x01(\x04\x12\x18\n\x10\x61pp_connect_type\x18\x02 \x01(\r\x12\x10\n\x08\x62le_rssi\x18\x03 \x01(\x05\x12\x11\n\twifi_rssi\x18\x04 \x01(\x05\x12\x10\n\x08sats_num\x18\x05 \x01(\x04\x12\x11\n\tlora_scan\x18\x06 \x01(\x03\x12\x14\n\x0clora_channel\x18\x07 \x01(\x03\x12\x12\n\nlora_locid\x18\x08 \x01(\x03\x12\x12\n\nlora_netid\x18\t \x01(\x03\x12\x12\n\nrtk_status\x18\n \x01(\x04\x12\x17\n\x0flowpower_status\x18\x0b \x01(\x05\x12\x17\n\x0fmqtt_rtk_status\x18\x0c \x01(\x05\x12\x13\n\x0brtk_channel\x18\r \x01(\x05\x12\x12\n\nrtk_switch\x18\x0e \x01(\x05\x12\x1f\n\nscore_info\x18\x0f \x01(\x0b\x32\x0b.base_score\"{\n\x16\x61pp_to_base_mqtt_rtk_t\x12\x12\n\nrtk_switch\x18\x01 \x01(\x05\x12\x0f\n\x07rtk_url\x18\x02 \x01(\t\x12\x10\n\x08rtk_port\x18\x03 \x01(\x05\x12\x14\n\x0crtk_username\x18\x04 \x01(\t\x12\x14\n\x0crtk_password\x18\x05 \x01(\t\"3\n\x16\x62\x61se_to_app_mqtt_rtk_t\x12\x19\n\x11rtk_switch_status\x18\x01 \x01(\x05\"\xfc\x01\n\x0b\x42\x61seStation\x12-\n\x06to_dev\x18\x01 \x01(\x0b\x32\x1b.request_basestation_info_tH\x00\x12.\n\x06to_app\x18\x02 \x01(\x0b\x32\x1c.response_basestation_info_tH\x00\x12;\n\x18\x61pp_to_base_mqtt_rtk_msg\x18\x03 \x01(\x0b\x32\x17.app_to_base_mqtt_rtk_tH\x00\x12;\n\x18\x62\x61se_to_app_mqtt_rtk_msg\x18\x04 \x01(\x0b\x32\x17.base_to_app_mqtt_rtk_tH\x00\x42\x14\n\x12\x42\x61seStationSubTypeb\x06proto3')
17
+
18
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
19
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'pymammotion.proto.basestation_pb2', globals())
20
+ if _descriptor._USE_C_DESCRIPTORS == False:
21
+
22
+ DESCRIPTOR._options = None
23
+ _REQUEST_BASESTATION_INFO_T._serialized_start=39
24
+ _REQUEST_BASESTATION_INFO_T._serialized_end=89
25
+ _BASE_SCORE._serialized_start=91
26
+ _BASE_SCORE._serialized_end=183
27
+ _RESPONSE_BASESTATION_INFO_T._serialized_start=186
28
+ _RESPONSE_BASESTATION_INFO_T._serialized_end=544
29
+ _APP_TO_BASE_MQTT_RTK_T._serialized_start=546
30
+ _APP_TO_BASE_MQTT_RTK_T._serialized_end=669
31
+ _BASE_TO_APP_MQTT_RTK_T._serialized_start=671
32
+ _BASE_TO_APP_MQTT_RTK_T._serialized_end=722
33
+ _BASESTATION._serialized_start=725
34
+ _BASESTATION._serialized_end=977
35
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,89 @@
1
+ from google.protobuf import descriptor as _descriptor
2
+ from google.protobuf import message as _message
3
+ from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union
4
+
5
+ DESCRIPTOR: _descriptor.FileDescriptor
6
+
7
+ class BaseStation(_message.Message):
8
+ __slots__ = ["app_to_base_mqtt_rtk_msg", "base_to_app_mqtt_rtk_msg", "to_app", "to_dev"]
9
+ APP_TO_BASE_MQTT_RTK_MSG_FIELD_NUMBER: _ClassVar[int]
10
+ BASE_TO_APP_MQTT_RTK_MSG_FIELD_NUMBER: _ClassVar[int]
11
+ TO_APP_FIELD_NUMBER: _ClassVar[int]
12
+ TO_DEV_FIELD_NUMBER: _ClassVar[int]
13
+ app_to_base_mqtt_rtk_msg: app_to_base_mqtt_rtk_t
14
+ base_to_app_mqtt_rtk_msg: base_to_app_mqtt_rtk_t
15
+ to_app: response_basestation_info_t
16
+ to_dev: request_basestation_info_t
17
+ def __init__(self, to_dev: _Optional[_Union[request_basestation_info_t, _Mapping]] = ..., to_app: _Optional[_Union[response_basestation_info_t, _Mapping]] = ..., app_to_base_mqtt_rtk_msg: _Optional[_Union[app_to_base_mqtt_rtk_t, _Mapping]] = ..., base_to_app_mqtt_rtk_msg: _Optional[_Union[base_to_app_mqtt_rtk_t, _Mapping]] = ...) -> None: ...
18
+
19
+ class app_to_base_mqtt_rtk_t(_message.Message):
20
+ __slots__ = ["rtk_password", "rtk_port", "rtk_switch", "rtk_url", "rtk_username"]
21
+ RTK_PASSWORD_FIELD_NUMBER: _ClassVar[int]
22
+ RTK_PORT_FIELD_NUMBER: _ClassVar[int]
23
+ RTK_SWITCH_FIELD_NUMBER: _ClassVar[int]
24
+ RTK_URL_FIELD_NUMBER: _ClassVar[int]
25
+ RTK_USERNAME_FIELD_NUMBER: _ClassVar[int]
26
+ rtk_password: str
27
+ rtk_port: int
28
+ rtk_switch: int
29
+ rtk_url: str
30
+ rtk_username: str
31
+ def __init__(self, rtk_switch: _Optional[int] = ..., rtk_url: _Optional[str] = ..., rtk_port: _Optional[int] = ..., rtk_username: _Optional[str] = ..., rtk_password: _Optional[str] = ...) -> None: ...
32
+
33
+ class base_score(_message.Message):
34
+ __slots__ = ["base_leve", "base_moved", "base_moving", "base_score"]
35
+ BASE_LEVE_FIELD_NUMBER: _ClassVar[int]
36
+ BASE_MOVED_FIELD_NUMBER: _ClassVar[int]
37
+ BASE_MOVING_FIELD_NUMBER: _ClassVar[int]
38
+ BASE_SCORE_FIELD_NUMBER: _ClassVar[int]
39
+ base_leve: int
40
+ base_moved: int
41
+ base_moving: int
42
+ base_score: int
43
+ def __init__(self, base_score: _Optional[int] = ..., base_leve: _Optional[int] = ..., base_moved: _Optional[int] = ..., base_moving: _Optional[int] = ...) -> None: ...
44
+
45
+ class base_to_app_mqtt_rtk_t(_message.Message):
46
+ __slots__ = ["rtk_switch_status"]
47
+ RTK_SWITCH_STATUS_FIELD_NUMBER: _ClassVar[int]
48
+ rtk_switch_status: int
49
+ def __init__(self, rtk_switch_status: _Optional[int] = ...) -> None: ...
50
+
51
+ class request_basestation_info_t(_message.Message):
52
+ __slots__ = ["request_type"]
53
+ REQUEST_TYPE_FIELD_NUMBER: _ClassVar[int]
54
+ request_type: int
55
+ def __init__(self, request_type: _Optional[int] = ...) -> None: ...
56
+
57
+ class response_basestation_info_t(_message.Message):
58
+ __slots__ = ["app_connect_type", "ble_rssi", "lora_channel", "lora_locid", "lora_netid", "lora_scan", "lowpower_status", "mqtt_rtk_status", "rtk_channel", "rtk_status", "rtk_switch", "sats_num", "score_info", "system_status", "wifi_rssi"]
59
+ APP_CONNECT_TYPE_FIELD_NUMBER: _ClassVar[int]
60
+ BLE_RSSI_FIELD_NUMBER: _ClassVar[int]
61
+ LORA_CHANNEL_FIELD_NUMBER: _ClassVar[int]
62
+ LORA_LOCID_FIELD_NUMBER: _ClassVar[int]
63
+ LORA_NETID_FIELD_NUMBER: _ClassVar[int]
64
+ LORA_SCAN_FIELD_NUMBER: _ClassVar[int]
65
+ LOWPOWER_STATUS_FIELD_NUMBER: _ClassVar[int]
66
+ MQTT_RTK_STATUS_FIELD_NUMBER: _ClassVar[int]
67
+ RTK_CHANNEL_FIELD_NUMBER: _ClassVar[int]
68
+ RTK_STATUS_FIELD_NUMBER: _ClassVar[int]
69
+ RTK_SWITCH_FIELD_NUMBER: _ClassVar[int]
70
+ SATS_NUM_FIELD_NUMBER: _ClassVar[int]
71
+ SCORE_INFO_FIELD_NUMBER: _ClassVar[int]
72
+ SYSTEM_STATUS_FIELD_NUMBER: _ClassVar[int]
73
+ WIFI_RSSI_FIELD_NUMBER: _ClassVar[int]
74
+ app_connect_type: int
75
+ ble_rssi: int
76
+ lora_channel: int
77
+ lora_locid: int
78
+ lora_netid: int
79
+ lora_scan: int
80
+ lowpower_status: int
81
+ mqtt_rtk_status: int
82
+ rtk_channel: int
83
+ rtk_status: int
84
+ rtk_switch: int
85
+ sats_num: int
86
+ score_info: base_score
87
+ system_status: int
88
+ wifi_rssi: int
89
+ def __init__(self, system_status: _Optional[int] = ..., app_connect_type: _Optional[int] = ..., ble_rssi: _Optional[int] = ..., wifi_rssi: _Optional[int] = ..., sats_num: _Optional[int] = ..., lora_scan: _Optional[int] = ..., lora_channel: _Optional[int] = ..., lora_locid: _Optional[int] = ..., lora_netid: _Optional[int] = ..., rtk_status: _Optional[int] = ..., lowpower_status: _Optional[int] = ..., mqtt_rtk_status: _Optional[int] = ..., rtk_channel: _Optional[int] = ..., rtk_switch: _Optional[int] = ..., score_info: _Optional[_Union[base_score, _Mapping]] = ...) -> None: ...
@@ -0,0 +1,7 @@
1
+
2
+ syntax = "proto3";
3
+
4
+ message CommDataCouple {
5
+ float x = 1;
6
+ float y = 2;
7
+ }
@@ -0,0 +1,25 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: pymammotion/proto/common.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\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
+
18
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
19
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'pymammotion.proto.common_pb2', globals())
20
+ if _descriptor._USE_C_DESCRIPTORS == False:
21
+
22
+ DESCRIPTOR._options = None
23
+ _COMMDATACOUPLE._serialized_start=34
24
+ _COMMDATACOUPLE._serialized_end=72
25
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,13 @@
1
+ from google.protobuf import descriptor as _descriptor
2
+ from google.protobuf import message as _message
3
+ from typing import ClassVar as _ClassVar, Optional as _Optional
4
+
5
+ DESCRIPTOR: _descriptor.FileDescriptor
6
+
7
+ class CommDataCouple(_message.Message):
8
+ __slots__ = ["x", "y"]
9
+ X_FIELD_NUMBER: _ClassVar[int]
10
+ Y_FIELD_NUMBER: _ClassVar[int]
11
+ x: float
12
+ y: float
13
+ def __init__(self, x: _Optional[float] = ..., y: _Optional[float] = ...) -> None: ...
@@ -0,0 +1,321 @@
1
+ syntax = "proto3";
2
+
3
+ enum WifiConfType {
4
+ DisconnectWifi = 0;
5
+ ForgetWifi = 1;
6
+ DirectConnectWifi = 2;
7
+ ReconnectWifi = 3;
8
+ set_enable = 4;
9
+ }
10
+
11
+ enum DrvUploadFileFileType {
12
+ FILE_TYPE_ALL = 0;
13
+ FILE_TYPE_SYSLOG = 1;
14
+ FILE_TYPE_NAVLOG = 2;
15
+ FILE_TYPE_RTKLOG = 3;
16
+ }
17
+
18
+ enum DrvDevInfoResult {
19
+ DRV_RESULT_FAIL = 0;
20
+ DRV_RESULT_SUC = 1;
21
+ DRV_RESULT_NOTSUP = 2;
22
+ }
23
+
24
+ enum sim_card_sta {
25
+ SIM_NONE = 0;
26
+ SIM_NO_CARD = 1;
27
+ SIM_INVALID = 2;
28
+ SIM_INPUT_PIN = 3;
29
+ SIM_INPUT_PUK = 4;
30
+ SIM_OK = 5;
31
+ }
32
+
33
+ enum mnet_link_type {
34
+ MNET_LINK_NONE = 0;
35
+ MNET_LINK_2G = 1;
36
+ MNET_LINK_3G = 2;
37
+ MNET_LINK_4G = 3;
38
+ MNET_LINK_5G = 4;
39
+ }
40
+
41
+ enum apn_auth_type {
42
+ APN_AUTH_NONE = 0;
43
+ APN_AUTH_PAP = 1;
44
+ APN_AUTH_CHAP = 2;
45
+ APN_AUTH_PAP_CHAP = 3;
46
+ }
47
+
48
+ enum net_type {
49
+ NET_TYPE_WIFI = 0;
50
+ NET_TYPE_MNET = 1;
51
+ }
52
+
53
+ enum iot_conctrl_type {
54
+ IOT_TYPE_OFFLINE = 0;
55
+ IOT_TYPE_ONLINE = 1;
56
+ IOT_TYPE_RESET = 2;
57
+ }
58
+
59
+ message DrvWifiUpload {
60
+ int32 wifi_msg_upload = 1;
61
+ }
62
+
63
+ message DrvWifiList {
64
+ int32 nvs_wifi_upload = 1;
65
+ }
66
+
67
+ message DrvWifiSet {
68
+ int32 configParam = 1;
69
+ string Confssid = 2;
70
+ bool wifi_enable = 3;
71
+ }
72
+
73
+ message DrvWifiMsg {
74
+ bool status1 = 1;
75
+ bool status2 = 2;
76
+ string ip = 3;
77
+ string msgssid = 4;
78
+ string password = 5;
79
+ int32 rssi = 6;
80
+ string productkey = 7;
81
+ string devicename = 8;
82
+ bool wifi_enable = 9;
83
+ }
84
+
85
+ message DrvWifiConf {
86
+ bool succFlag = 1;
87
+ int32 code = 2;
88
+ string Confssid = 3;
89
+ }
90
+
91
+ message DrvListUpload {
92
+ int32 sum = 1;
93
+ int32 current = 2;
94
+ int32 status = 3;
95
+ string Memssid = 4;
96
+ int32 rssi = 5;
97
+ }
98
+
99
+ message DrvUploadFileReq {
100
+ string bizId = 1;
101
+ string url = 2;
102
+ string userId = 3;
103
+ int32 num = 4;
104
+ int32 type = 5;
105
+ }
106
+
107
+ message DrvUploadFileCancel {
108
+ string bizId = 1;
109
+ }
110
+
111
+ message DrvUploadFileToAppReq {
112
+ string bizId = 1;
113
+ int32 operation = 2;
114
+ fixed32 serverIp = 3;
115
+ int32 serverPort = 4;
116
+ int32 num = 5;
117
+ int32 type = 6;
118
+ }
119
+
120
+ message DrvUploadFileToAppRsp {
121
+ string bizId = 1;
122
+ int32 operation = 2;
123
+ int32 result = 3;
124
+ }
125
+
126
+ message DrvDevInfoReqId {
127
+ int32 id = 1;
128
+ int32 type = 2;
129
+ }
130
+
131
+ message DrvDevInfoRespId {
132
+ int32 id = 1;
133
+ int32 type = 2;
134
+ DrvDevInfoResult res = 3;
135
+ string info = 4;
136
+ }
137
+
138
+ message DrvDevInfoReq {
139
+ repeated DrvDevInfoReqId req_ids = 1;
140
+ }
141
+
142
+ message DrvDevInfoResp {
143
+ repeated DrvDevInfoRespId resp_ids = 1;
144
+ }
145
+
146
+ message DrvUpgradeReport {
147
+ string devname = 1;
148
+ string otaid = 2;
149
+ string version = 3;
150
+ int32 progress = 4;
151
+ int32 result = 5;
152
+ string message = 6;
153
+ string properties = 7;
154
+ int32 recv_cnt = 8;
155
+ }
156
+
157
+ message WifiIotStatusReport {
158
+ bool wifi_connected = 1;
159
+ bool iot_connected = 2;
160
+ string productkey = 3;
161
+ string devicename = 4;
162
+ }
163
+
164
+ message BleTestBytes {
165
+ int32 seqs = 1;
166
+ repeated fixed32 data = 2;
167
+ }
168
+
169
+ message GetNetworkInfoReq {
170
+ int32 req_ids = 1;
171
+ }
172
+
173
+ message GetNetworkInfoRsp {
174
+ int32 req_ids = 1;
175
+ string wifi_ssid = 2;
176
+ string wifi_mac = 3;
177
+ int32 wifi_rssi = 4;
178
+ fixed32 ip = 5;
179
+ fixed32 mask = 6;
180
+ fixed32 gateway = 7;
181
+ }
182
+
183
+ message mnet_inet_status {
184
+ bool connect = 1;
185
+ fixed32 ip = 2;
186
+ fixed32 mask = 3;
187
+ fixed32 gateway = 4;
188
+ }
189
+
190
+ message MnetInfo {
191
+ string model = 1;
192
+ string revision = 2;
193
+ string imei = 3;
194
+ sim_card_sta sim = 4;
195
+ string imsi = 5;
196
+ mnet_link_type link_type = 6;
197
+ int32 rssi = 7;
198
+ mnet_inet_status inet = 8;
199
+ string iccid = 9;
200
+ string operator = 10;
201
+ }
202
+
203
+ message GetMnetInfoReq {
204
+ int32 req_ids = 1;
205
+ }
206
+
207
+ message GetMnetInfoRsp {
208
+ int32 req_ids = 1;
209
+ int32 result = 2;
210
+ MnetInfo mnet = 3;
211
+ }
212
+
213
+ message MnetApn {
214
+ int32 cid = 1;
215
+ string apn_alias = 2;
216
+ string apn_name = 3;
217
+ apn_auth_type auth = 4;
218
+ string username = 5;
219
+ string password = 6;
220
+ }
221
+
222
+ message MnetApnCfg {
223
+ int32 apn_used_idx = 1;
224
+ repeated MnetApn apn = 2;
225
+ }
226
+
227
+ message MnetApnSetCfg {
228
+ bool use_default = 1;
229
+ MnetApnCfg cfg = 2;
230
+ }
231
+
232
+ message MnetCfg {
233
+ bool mnet_enable = 1;
234
+ bool inet_enable = 2;
235
+ net_type type = 3;
236
+ MnetApnSetCfg apn = 4;
237
+ bool auto_select = 5;
238
+ }
239
+
240
+ message GetMnetCfgReq {
241
+ int32 req_ids = 1;
242
+ }
243
+
244
+ message GetMnetCfgRsp {
245
+ int32 req_ids = 1;
246
+ int32 result = 2;
247
+ MnetCfg cfg = 3;
248
+ }
249
+
250
+ message SetMnetCfgReq {
251
+ int32 req_ids = 1;
252
+ MnetCfg cfg = 2;
253
+ }
254
+
255
+ message SetMnetCfgRsp {
256
+ int32 req_ids = 1;
257
+ int32 result = 2;
258
+ }
259
+
260
+ message DrvDebugDdsZmq {
261
+ bool is_enable = 1;
262
+ string rx_topic_name = 2;
263
+ string tx_zmq_url = 3;
264
+ }
265
+
266
+ message SetDrvBleMTU {
267
+ int32 mtu_count = 1;
268
+ }
269
+
270
+ message BleSignatureReq {
271
+ string signature_data = 1;
272
+ string random_data = 2;
273
+ }
274
+
275
+ message BleLogUploadUpdateProgress {
276
+ int32 ver = 1;
277
+ int32 status = 2;
278
+ string bizId = 3;
279
+ int32 prog = 4;
280
+ int32 subProg = 5;
281
+ int32 fNum = 6;
282
+ int32 speed = 7;
283
+ int32 fIdx = 8;
284
+ string fPath = 9;
285
+ int32 fSize = 10;
286
+ }
287
+
288
+ message DevNet {
289
+ oneof NetSubType {
290
+ int32 todev_ble_sync = 1;
291
+ WifiConfType todev_ConfType = 2;
292
+ DrvWifiUpload todev_WifiMsgUpload = 3;
293
+ DrvWifiList todev_WifiListUpload = 4;
294
+ DrvWifiSet todev_Wifi_Configuration = 5;
295
+ DrvWifiMsg toapp_WifiMsg = 6;
296
+ DrvWifiConf toapp_WifiConf = 7;
297
+ DrvListUpload toapp_ListUpload = 8;
298
+ DrvUploadFileReq todev_req_log_info = 9;
299
+ DrvUploadFileCancel todev_log_data_cancel = 10;
300
+ DrvDevInfoReq todev_devinfo_req = 11;
301
+ DrvDevInfoResp toapp_devinfo_resp = 12;
302
+ DrvUpgradeReport toapp_upgrade_report = 13;
303
+ WifiIotStatusReport toapp_wifi_iot_status = 14;
304
+ DrvUploadFileToAppReq todev_uploadfile_req = 15;
305
+ DrvUploadFileToAppRsp toapp_uploadfile_rsp = 16;
306
+ GetNetworkInfoReq todev_networkinfo_req = 17;
307
+ GetNetworkInfoRsp toapp_networkinfo_rsp = 18;
308
+ BleTestBytes bir_testdata = 19;
309
+ GetMnetInfoReq todev_mnet_info_req = 20;
310
+ GetMnetInfoRsp toapp_mnet_info_rsp = 21;
311
+ GetMnetCfgReq todev_get_mnet_cfg_req = 22;
312
+ GetMnetCfgRsp toapp_get_mnet_cfg_rsp = 23;
313
+ SetMnetCfgReq todev_set_mnet_cfg_req = 24;
314
+ SetMnetCfgRsp toapp_set_mnet_cfg_rsp = 25;
315
+ DrvDebugDdsZmq todev_set_dds2zmq = 26;
316
+ SetDrvBleMTU todev_set_ble_mtu = 27;
317
+ iot_conctrl_type todev_set_iot_offline_req = 28;
318
+ BleSignatureReq todev_verify_signature_req = 29;
319
+ BleLogUploadUpdateProgress toapp_log_upload_update_progress = 30;
320
+ }
321
+ }
@@ -0,0 +1,111 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: pymammotion/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\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\"\x9c\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\x12\x10\n\x08recv_cnt\x18\x08 \x01(\x05\"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\"\xd7\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\x12\r\n\x05iccid\x18\t \x01(\t\x12\x10\n\x08operator\x18\n \x01(\t\"!\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\">\n\x0f\x42leSignatureReq\x12\x16\n\x0esignature_data\x18\x01 \x01(\t\x12\x13\n\x0brandom_data\x18\x02 \x01(\t\"\xb0\x01\n\x1a\x42leLogUploadUpdateProgress\x12\x0b\n\x03ver\x18\x01 \x01(\x05\x12\x0e\n\x06status\x18\x02 \x01(\x05\x12\r\n\x05\x62izId\x18\x03 \x01(\t\x12\x0c\n\x04prog\x18\x04 \x01(\x05\x12\x0f\n\x07subProg\x18\x05 \x01(\x05\x12\x0c\n\x04\x66Num\x18\x06 \x01(\x05\x12\r\n\x05speed\x18\x07 \x01(\x05\x12\x0c\n\x04\x66Idx\x18\x08 \x01(\x05\x12\r\n\x05\x66Path\x18\t \x01(\t\x12\r\n\x05\x66Size\x18\n \x01(\x05\"\xcb\x0b\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\x12\x36\n\x1atodev_verify_signature_req\x18\x1d \x01(\x0b\x32\x10.BleSignatureReqH\x00\x12G\n toapp_log_upload_update_progress\x18\x1e \x01(\x0b\x32\x1b.BleLogUploadUpdateProgressH\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*l\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\x12\x10\n\x0cMNET_LINK_5G\x10\x04*^\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, 'pymammotion.proto.dev_net_pb2', globals())
20
+ if _descriptor._USE_C_DESCRIPTORS == False:
21
+
22
+ DESCRIPTOR._options = None
23
+ _WIFICONFTYPE._serialized_start=4427
24
+ _WIFICONFTYPE._serialized_end=4535
25
+ _DRVUPLOADFILEFILETYPE._serialized_start=4537
26
+ _DRVUPLOADFILEFILETYPE._serialized_end=4645
27
+ _DRVDEVINFORESULT._serialized_start=4647
28
+ _DRVDEVINFORESULT._serialized_end=4729
29
+ _SIM_CARD_STA._serialized_start=4731
30
+ _SIM_CARD_STA._serialized_end=4843
31
+ _MNET_LINK_TYPE._serialized_start=4845
32
+ _MNET_LINK_TYPE._serialized_end=4953
33
+ _APN_AUTH_TYPE._serialized_start=4955
34
+ _APN_AUTH_TYPE._serialized_end=5049
35
+ _NET_TYPE._serialized_start=5051
36
+ _NET_TYPE._serialized_end=5099
37
+ _IOT_CONCTRL_TYPE._serialized_start=5101
38
+ _IOT_CONCTRL_TYPE._serialized_end=5182
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=1250
69
+ _WIFIIOTSTATUSREPORT._serialized_start=1252
70
+ _WIFIIOTSTATUSREPORT._serialized_end=1360
71
+ _BLETESTBYTES._serialized_start=1362
72
+ _BLETESTBYTES._serialized_end=1404
73
+ _GETNETWORKINFOREQ._serialized_start=1406
74
+ _GETNETWORKINFOREQ._serialized_end=1442
75
+ _GETNETWORKINFORSP._serialized_start=1445
76
+ _GETNETWORKINFORSP._serialized_end=1580
77
+ _MNET_INET_STATUS._serialized_start=1582
78
+ _MNET_INET_STATUS._serialized_end=1660
79
+ _MNETINFO._serialized_start=1663
80
+ _MNETINFO._serialized_end=1878
81
+ _GETMNETINFOREQ._serialized_start=1880
82
+ _GETMNETINFOREQ._serialized_end=1913
83
+ _GETMNETINFORSP._serialized_start=1915
84
+ _GETMNETINFORSP._serialized_end=1989
85
+ _MNETAPN._serialized_start=1991
86
+ _MNETAPN._serialized_end=2116
87
+ _MNETAPNCFG._serialized_start=2118
88
+ _MNETAPNCFG._serialized_end=2175
89
+ _MNETAPNSETCFG._serialized_start=2177
90
+ _MNETAPNSETCFG._serialized_end=2239
91
+ _MNETCFG._serialized_start=2241
92
+ _MNETCFG._serialized_end=2367
93
+ _GETMNETCFGREQ._serialized_start=2369
94
+ _GETMNETCFGREQ._serialized_end=2401
95
+ _GETMNETCFGRSP._serialized_start=2403
96
+ _GETMNETCFGRSP._serialized_end=2474
97
+ _SETMNETCFGREQ._serialized_start=2476
98
+ _SETMNETCFGREQ._serialized_end=2531
99
+ _SETMNETCFGRSP._serialized_start=2533
100
+ _SETMNETCFGRSP._serialized_end=2581
101
+ _DRVDEBUGDDSZMQ._serialized_start=2583
102
+ _DRVDEBUGDDSZMQ._serialized_end=2661
103
+ _SETDRVBLEMTU._serialized_start=2663
104
+ _SETDRVBLEMTU._serialized_end=2696
105
+ _BLESIGNATUREREQ._serialized_start=2698
106
+ _BLESIGNATUREREQ._serialized_end=2760
107
+ _BLELOGUPLOADUPDATEPROGRESS._serialized_start=2763
108
+ _BLELOGUPLOADUPDATEPROGRESS._serialized_end=2939
109
+ _DEVNET._serialized_start=2942
110
+ _DEVNET._serialized_end=4425
111
+ # @@protoc_insertion_point(module_scope)