pymammotion 0.0.37__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


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

Files changed (106) hide show
  1. pymammotion/__init__.py +43 -0
  2. pymammotion/aliyun/cloud_gateway.py +549 -0
  3. pymammotion/aliyun/cloud_service.py +65 -0
  4. pymammotion/aliyun/dataclass/aep_response.py +18 -0
  5. pymammotion/aliyun/dataclass/connect_response.py +51 -0
  6. pymammotion/aliyun/dataclass/dev_by_account_response.py +43 -0
  7. pymammotion/aliyun/dataclass/login_by_oauth_response.py +65 -0
  8. pymammotion/aliyun/dataclass/regions_response.py +26 -0
  9. pymammotion/aliyun/dataclass/session_by_authcode_response.py +18 -0
  10. pymammotion/aliyun/tmp_constant.py +175 -0
  11. pymammotion/bluetooth/__init__.py +1 -0
  12. pymammotion/bluetooth/ble.py +74 -0
  13. pymammotion/bluetooth/ble_message.py +430 -0
  14. pymammotion/bluetooth/const.py +27 -0
  15. pymammotion/bluetooth/data/__init__.py +0 -0
  16. pymammotion/bluetooth/data/convert.py +26 -0
  17. pymammotion/bluetooth/data/framectrldata.py +40 -0
  18. pymammotion/bluetooth/data/notifydata.py +63 -0
  19. pymammotion/const.py +9 -0
  20. pymammotion/data/__init__.py +0 -0
  21. pymammotion/data/model/__init__.py +8 -0
  22. pymammotion/data/model/device.py +157 -0
  23. pymammotion/data/model/enums.py +67 -0
  24. pymammotion/data/model/excute_boarder_params.py +48 -0
  25. pymammotion/data/model/execute_boarder.py +36 -0
  26. pymammotion/data/model/generate_route_information.py +133 -0
  27. pymammotion/data/model/hash_list.py +17 -0
  28. pymammotion/data/model/mowing_modes.py +37 -0
  29. pymammotion/data/model/plan.py +58 -0
  30. pymammotion/data/model/rapid_state.py +45 -0
  31. pymammotion/data/model/region_data.py +99 -0
  32. pymammotion/data/mqtt/__init__.py +1 -0
  33. pymammotion/data/mqtt/event.py +90 -0
  34. pymammotion/data/mqtt/properties.py +140 -0
  35. pymammotion/data/mqtt/status.py +52 -0
  36. pymammotion/event/__init__.py +6 -0
  37. pymammotion/event/event.py +50 -0
  38. pymammotion/http/_init_.py +0 -0
  39. pymammotion/http/http.py +76 -0
  40. pymammotion/luba/_init_.py +0 -0
  41. pymammotion/luba/base.py +52 -0
  42. pymammotion/mammotion/__init__.py +0 -0
  43. pymammotion/mammotion/commands/__init__.py +0 -0
  44. pymammotion/mammotion/commands/abstract_message.py +7 -0
  45. pymammotion/mammotion/commands/mammotion_command.py +34 -0
  46. pymammotion/mammotion/commands/messages/__init__.py +0 -0
  47. pymammotion/mammotion/commands/messages/driver.py +108 -0
  48. pymammotion/mammotion/commands/messages/media.py +36 -0
  49. pymammotion/mammotion/commands/messages/navigation.py +535 -0
  50. pymammotion/mammotion/commands/messages/network.py +236 -0
  51. pymammotion/mammotion/commands/messages/ota.py +34 -0
  52. pymammotion/mammotion/commands/messages/system.py +266 -0
  53. pymammotion/mammotion/commands/messages/video.py +27 -0
  54. pymammotion/mammotion/control/__init__.py +0 -0
  55. pymammotion/mammotion/control/joystick.py +184 -0
  56. pymammotion/mammotion/devices/__init__.py +1 -0
  57. pymammotion/mammotion/devices/luba.py +564 -0
  58. pymammotion/mqtt/mqtt.py +230 -0
  59. pymammotion/proto/__init__.py +0 -0
  60. pymammotion/proto/common.proto +7 -0
  61. pymammotion/proto/common.py +12 -0
  62. pymammotion/proto/common_pb2.py +25 -0
  63. pymammotion/proto/common_pb2.pyi +13 -0
  64. pymammotion/proto/dev_net.proto +297 -0
  65. pymammotion/proto/dev_net.py +381 -0
  66. pymammotion/proto/dev_net_pb2.py +107 -0
  67. pymammotion/proto/dev_net_pb2.pyi +472 -0
  68. pymammotion/proto/luba_msg.proto +73 -0
  69. pymammotion/proto/luba_msg.py +80 -0
  70. pymammotion/proto/luba_msg_pb2.py +40 -0
  71. pymammotion/proto/luba_msg_pb2.pyi +93 -0
  72. pymammotion/proto/luba_mul.proto +68 -0
  73. pymammotion/proto/luba_mul.py +76 -0
  74. pymammotion/proto/luba_mul_pb2.py +45 -0
  75. pymammotion/proto/luba_mul_pb2.pyi +91 -0
  76. pymammotion/proto/mctrl_driver.proto +67 -0
  77. pymammotion/proto/mctrl_driver.py +100 -0
  78. pymammotion/proto/mctrl_driver_pb2.py +45 -0
  79. pymammotion/proto/mctrl_driver_pb2.pyi +112 -0
  80. pymammotion/proto/mctrl_nav.proto +485 -0
  81. pymammotion/proto/mctrl_nav.py +589 -0
  82. pymammotion/proto/mctrl_nav_pb2.py +116 -0
  83. pymammotion/proto/mctrl_nav_pb2.pyi +875 -0
  84. pymammotion/proto/mctrl_ota.proto +42 -0
  85. pymammotion/proto/mctrl_ota.py +48 -0
  86. pymammotion/proto/mctrl_ota_pb2.py +35 -0
  87. pymammotion/proto/mctrl_ota_pb2.pyi +65 -0
  88. pymammotion/proto/mctrl_pept.proto +29 -0
  89. pymammotion/proto/mctrl_pept.py +41 -0
  90. pymammotion/proto/mctrl_pept_pb2.py +31 -0
  91. pymammotion/proto/mctrl_pept_pb2.pyi +50 -0
  92. pymammotion/proto/mctrl_sys.proto +487 -0
  93. pymammotion/proto/mctrl_sys.py +574 -0
  94. pymammotion/proto/mctrl_sys_pb2.py +142 -0
  95. pymammotion/proto/mctrl_sys_pb2.pyi +787 -0
  96. pymammotion/py.typed +0 -0
  97. pymammotion/utility/constant/__init__.py +1 -0
  98. pymammotion/utility/constant/device_constant.py +238 -0
  99. pymammotion/utility/datatype_converter.py +80 -0
  100. pymammotion/utility/device_type.py +152 -0
  101. pymammotion/utility/periodic.py +41 -0
  102. pymammotion/utility/rocker_util.py +135 -0
  103. pymammotion-0.0.37.dist-info/LICENSE +674 -0
  104. pymammotion-0.0.37.dist-info/METADATA +92 -0
  105. pymammotion-0.0.37.dist-info/RECORD +106 -0
  106. pymammotion-0.0.37.dist-info/WHEEL +4 -0
@@ -0,0 +1,472 @@
1
+ from google.protobuf.internal import containers as _containers
2
+ from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
3
+ from google.protobuf import descriptor as _descriptor
4
+ from google.protobuf import message as _message
5
+ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
6
+
7
+ APN_AUTH_CHAP: apn_auth_type
8
+ APN_AUTH_NONE: apn_auth_type
9
+ APN_AUTH_PAP: apn_auth_type
10
+ APN_AUTH_PAP_CHAP: apn_auth_type
11
+ DESCRIPTOR: _descriptor.FileDescriptor
12
+ DRV_RESULT_FAIL: DrvDevInfoResult
13
+ DRV_RESULT_NOTSUP: DrvDevInfoResult
14
+ DRV_RESULT_SUC: DrvDevInfoResult
15
+ DirectConnectWifi: WifiConfType
16
+ DisconnectWifi: WifiConfType
17
+ FILE_TYPE_ALL: DrvUploadFileFileType
18
+ FILE_TYPE_NAVLOG: DrvUploadFileFileType
19
+ FILE_TYPE_RTKLOG: DrvUploadFileFileType
20
+ FILE_TYPE_SYSLOG: DrvUploadFileFileType
21
+ ForgetWifi: WifiConfType
22
+ IOT_TYPE_OFFLINE: iot_conctrl_type
23
+ IOT_TYPE_ONLINE: iot_conctrl_type
24
+ IOT_TYPE_RESET: iot_conctrl_type
25
+ MNET_LINK_2G: mnet_link_type
26
+ MNET_LINK_3G: mnet_link_type
27
+ MNET_LINK_4G: mnet_link_type
28
+ MNET_LINK_NONE: mnet_link_type
29
+ NET_TYPE_MNET: net_type
30
+ NET_TYPE_WIFI: net_type
31
+ ReconnectWifi: WifiConfType
32
+ SIM_INPUT_PIN: sim_card_sta
33
+ SIM_INPUT_PUK: sim_card_sta
34
+ SIM_INVALID: sim_card_sta
35
+ SIM_NONE: sim_card_sta
36
+ SIM_NO_CARD: sim_card_sta
37
+ SIM_OK: sim_card_sta
38
+ set_enable: WifiConfType
39
+
40
+ class BleTestBytes(_message.Message):
41
+ __slots__ = ["data", "seqs"]
42
+ DATA_FIELD_NUMBER: _ClassVar[int]
43
+ SEQS_FIELD_NUMBER: _ClassVar[int]
44
+ data: _containers.RepeatedScalarFieldContainer[int]
45
+ seqs: int
46
+ def __init__(self, seqs: _Optional[int] = ..., data: _Optional[_Iterable[int]] = ...) -> None: ...
47
+
48
+ class DevNet(_message.Message):
49
+ __slots__ = ["bir_testdata", "toapp_ListUpload", "toapp_WifiConf", "toapp_WifiMsg", "toapp_devinfo_resp", "toapp_get_mnet_cfg_rsp", "toapp_mnet_info_rsp", "toapp_networkinfo_rsp", "toapp_set_mnet_cfg_rsp", "toapp_upgrade_report", "toapp_uploadfile_rsp", "toapp_wifi_iot_status", "todev_ConfType", "todev_WifiListUpload", "todev_WifiMsgUpload", "todev_Wifi_Configuration", "todev_ble_sync", "todev_devinfo_req", "todev_get_mnet_cfg_req", "todev_log_data_cancel", "todev_mnet_info_req", "todev_networkinfo_req", "todev_req_log_info", "todev_set_ble_mtu", "todev_set_dds2zmq", "todev_set_iot_offline_req", "todev_set_mnet_cfg_req", "todev_uploadfile_req"]
50
+ BIR_TESTDATA_FIELD_NUMBER: _ClassVar[int]
51
+ TOAPP_DEVINFO_RESP_FIELD_NUMBER: _ClassVar[int]
52
+ TOAPP_GET_MNET_CFG_RSP_FIELD_NUMBER: _ClassVar[int]
53
+ TOAPP_LISTUPLOAD_FIELD_NUMBER: _ClassVar[int]
54
+ TOAPP_MNET_INFO_RSP_FIELD_NUMBER: _ClassVar[int]
55
+ TOAPP_NETWORKINFO_RSP_FIELD_NUMBER: _ClassVar[int]
56
+ TOAPP_SET_MNET_CFG_RSP_FIELD_NUMBER: _ClassVar[int]
57
+ TOAPP_UPGRADE_REPORT_FIELD_NUMBER: _ClassVar[int]
58
+ TOAPP_UPLOADFILE_RSP_FIELD_NUMBER: _ClassVar[int]
59
+ TOAPP_WIFICONF_FIELD_NUMBER: _ClassVar[int]
60
+ TOAPP_WIFIMSG_FIELD_NUMBER: _ClassVar[int]
61
+ TOAPP_WIFI_IOT_STATUS_FIELD_NUMBER: _ClassVar[int]
62
+ TODEV_BLE_SYNC_FIELD_NUMBER: _ClassVar[int]
63
+ TODEV_CONFTYPE_FIELD_NUMBER: _ClassVar[int]
64
+ TODEV_DEVINFO_REQ_FIELD_NUMBER: _ClassVar[int]
65
+ TODEV_GET_MNET_CFG_REQ_FIELD_NUMBER: _ClassVar[int]
66
+ TODEV_LOG_DATA_CANCEL_FIELD_NUMBER: _ClassVar[int]
67
+ TODEV_MNET_INFO_REQ_FIELD_NUMBER: _ClassVar[int]
68
+ TODEV_NETWORKINFO_REQ_FIELD_NUMBER: _ClassVar[int]
69
+ TODEV_REQ_LOG_INFO_FIELD_NUMBER: _ClassVar[int]
70
+ TODEV_SET_BLE_MTU_FIELD_NUMBER: _ClassVar[int]
71
+ TODEV_SET_DDS2ZMQ_FIELD_NUMBER: _ClassVar[int]
72
+ TODEV_SET_IOT_OFFLINE_REQ_FIELD_NUMBER: _ClassVar[int]
73
+ TODEV_SET_MNET_CFG_REQ_FIELD_NUMBER: _ClassVar[int]
74
+ TODEV_UPLOADFILE_REQ_FIELD_NUMBER: _ClassVar[int]
75
+ TODEV_WIFILISTUPLOAD_FIELD_NUMBER: _ClassVar[int]
76
+ TODEV_WIFIMSGUPLOAD_FIELD_NUMBER: _ClassVar[int]
77
+ TODEV_WIFI_CONFIGURATION_FIELD_NUMBER: _ClassVar[int]
78
+ bir_testdata: BleTestBytes
79
+ toapp_ListUpload: DrvListUpload
80
+ toapp_WifiConf: DrvWifiConf
81
+ toapp_WifiMsg: DrvWifiMsg
82
+ toapp_devinfo_resp: DrvDevInfoResp
83
+ toapp_get_mnet_cfg_rsp: GetMnetCfgRsp
84
+ toapp_mnet_info_rsp: GetMnetInfoRsp
85
+ toapp_networkinfo_rsp: GetNetworkInfoRsp
86
+ toapp_set_mnet_cfg_rsp: SetMnetCfgRsp
87
+ toapp_upgrade_report: DrvUpgradeReport
88
+ toapp_uploadfile_rsp: DrvUploadFileToAppRsp
89
+ toapp_wifi_iot_status: WifiIotStatusReport
90
+ todev_ConfType: WifiConfType
91
+ todev_WifiListUpload: DrvWifiList
92
+ todev_WifiMsgUpload: DrvWifiUpload
93
+ todev_Wifi_Configuration: DrvWifiSet
94
+ todev_ble_sync: int
95
+ todev_devinfo_req: DrvDevInfoReq
96
+ todev_get_mnet_cfg_req: GetMnetCfgReq
97
+ todev_log_data_cancel: DrvUploadFileCancel
98
+ todev_mnet_info_req: GetMnetInfoReq
99
+ todev_networkinfo_req: GetNetworkInfoReq
100
+ todev_req_log_info: DrvUploadFileReq
101
+ todev_set_ble_mtu: SetDrvBleMTU
102
+ todev_set_dds2zmq: DrvDebugDdsZmq
103
+ todev_set_iot_offline_req: iot_conctrl_type
104
+ todev_set_mnet_cfg_req: SetMnetCfgReq
105
+ todev_uploadfile_req: DrvUploadFileToAppReq
106
+ def __init__(self, todev_ble_sync: _Optional[int] = ..., todev_ConfType: _Optional[_Union[WifiConfType, str]] = ..., todev_WifiMsgUpload: _Optional[_Union[DrvWifiUpload, _Mapping]] = ..., todev_WifiListUpload: _Optional[_Union[DrvWifiList, _Mapping]] = ..., todev_Wifi_Configuration: _Optional[_Union[DrvWifiSet, _Mapping]] = ..., toapp_WifiMsg: _Optional[_Union[DrvWifiMsg, _Mapping]] = ..., toapp_WifiConf: _Optional[_Union[DrvWifiConf, _Mapping]] = ..., toapp_ListUpload: _Optional[_Union[DrvListUpload, _Mapping]] = ..., todev_req_log_info: _Optional[_Union[DrvUploadFileReq, _Mapping]] = ..., todev_log_data_cancel: _Optional[_Union[DrvUploadFileCancel, _Mapping]] = ..., todev_devinfo_req: _Optional[_Union[DrvDevInfoReq, _Mapping]] = ..., toapp_devinfo_resp: _Optional[_Union[DrvDevInfoResp, _Mapping]] = ..., toapp_upgrade_report: _Optional[_Union[DrvUpgradeReport, _Mapping]] = ..., toapp_wifi_iot_status: _Optional[_Union[WifiIotStatusReport, _Mapping]] = ..., todev_uploadfile_req: _Optional[_Union[DrvUploadFileToAppReq, _Mapping]] = ..., toapp_uploadfile_rsp: _Optional[_Union[DrvUploadFileToAppRsp, _Mapping]] = ..., todev_networkinfo_req: _Optional[_Union[GetNetworkInfoReq, _Mapping]] = ..., toapp_networkinfo_rsp: _Optional[_Union[GetNetworkInfoRsp, _Mapping]] = ..., bir_testdata: _Optional[_Union[BleTestBytes, _Mapping]] = ..., todev_mnet_info_req: _Optional[_Union[GetMnetInfoReq, _Mapping]] = ..., toapp_mnet_info_rsp: _Optional[_Union[GetMnetInfoRsp, _Mapping]] = ..., todev_get_mnet_cfg_req: _Optional[_Union[GetMnetCfgReq, _Mapping]] = ..., toapp_get_mnet_cfg_rsp: _Optional[_Union[GetMnetCfgRsp, _Mapping]] = ..., todev_set_mnet_cfg_req: _Optional[_Union[SetMnetCfgReq, _Mapping]] = ..., toapp_set_mnet_cfg_rsp: _Optional[_Union[SetMnetCfgRsp, _Mapping]] = ..., todev_set_dds2zmq: _Optional[_Union[DrvDebugDdsZmq, _Mapping]] = ..., todev_set_ble_mtu: _Optional[_Union[SetDrvBleMTU, _Mapping]] = ..., todev_set_iot_offline_req: _Optional[_Union[iot_conctrl_type, str]] = ...) -> None: ...
107
+
108
+ class DrvDebugDdsZmq(_message.Message):
109
+ __slots__ = ["is_enable", "rx_topic_name", "tx_zmq_url"]
110
+ IS_ENABLE_FIELD_NUMBER: _ClassVar[int]
111
+ RX_TOPIC_NAME_FIELD_NUMBER: _ClassVar[int]
112
+ TX_ZMQ_URL_FIELD_NUMBER: _ClassVar[int]
113
+ is_enable: bool
114
+ rx_topic_name: str
115
+ tx_zmq_url: str
116
+ def __init__(self, is_enable: bool = ..., rx_topic_name: _Optional[str] = ..., tx_zmq_url: _Optional[str] = ...) -> None: ...
117
+
118
+ class DrvDevInfoReq(_message.Message):
119
+ __slots__ = ["req_ids"]
120
+ REQ_IDS_FIELD_NUMBER: _ClassVar[int]
121
+ req_ids: _containers.RepeatedCompositeFieldContainer[DrvDevInfoReqId]
122
+ def __init__(self, req_ids: _Optional[_Iterable[_Union[DrvDevInfoReqId, _Mapping]]] = ...) -> None: ...
123
+
124
+ class DrvDevInfoReqId(_message.Message):
125
+ __slots__ = ["id", "type"]
126
+ ID_FIELD_NUMBER: _ClassVar[int]
127
+ TYPE_FIELD_NUMBER: _ClassVar[int]
128
+ id: int
129
+ type: int
130
+ def __init__(self, id: _Optional[int] = ..., type: _Optional[int] = ...) -> None: ...
131
+
132
+ class DrvDevInfoResp(_message.Message):
133
+ __slots__ = ["resp_ids"]
134
+ RESP_IDS_FIELD_NUMBER: _ClassVar[int]
135
+ resp_ids: _containers.RepeatedCompositeFieldContainer[DrvDevInfoRespId]
136
+ def __init__(self, resp_ids: _Optional[_Iterable[_Union[DrvDevInfoRespId, _Mapping]]] = ...) -> None: ...
137
+
138
+ class DrvDevInfoRespId(_message.Message):
139
+ __slots__ = ["id", "info", "res", "type"]
140
+ ID_FIELD_NUMBER: _ClassVar[int]
141
+ INFO_FIELD_NUMBER: _ClassVar[int]
142
+ RES_FIELD_NUMBER: _ClassVar[int]
143
+ TYPE_FIELD_NUMBER: _ClassVar[int]
144
+ id: int
145
+ info: str
146
+ res: DrvDevInfoResult
147
+ type: int
148
+ def __init__(self, id: _Optional[int] = ..., type: _Optional[int] = ..., res: _Optional[_Union[DrvDevInfoResult, str]] = ..., info: _Optional[str] = ...) -> None: ...
149
+
150
+ class DrvListUpload(_message.Message):
151
+ __slots__ = ["Memssid", "current", "rssi", "status", "sum"]
152
+ CURRENT_FIELD_NUMBER: _ClassVar[int]
153
+ MEMSSID_FIELD_NUMBER: _ClassVar[int]
154
+ Memssid: str
155
+ RSSI_FIELD_NUMBER: _ClassVar[int]
156
+ STATUS_FIELD_NUMBER: _ClassVar[int]
157
+ SUM_FIELD_NUMBER: _ClassVar[int]
158
+ current: int
159
+ rssi: int
160
+ status: int
161
+ sum: int
162
+ def __init__(self, sum: _Optional[int] = ..., current: _Optional[int] = ..., status: _Optional[int] = ..., Memssid: _Optional[str] = ..., rssi: _Optional[int] = ...) -> None: ...
163
+
164
+ class DrvUpgradeReport(_message.Message):
165
+ __slots__ = ["devname", "message", "otaid", "progress", "properties", "result", "version"]
166
+ DEVNAME_FIELD_NUMBER: _ClassVar[int]
167
+ MESSAGE_FIELD_NUMBER: _ClassVar[int]
168
+ OTAID_FIELD_NUMBER: _ClassVar[int]
169
+ PROGRESS_FIELD_NUMBER: _ClassVar[int]
170
+ PROPERTIES_FIELD_NUMBER: _ClassVar[int]
171
+ RESULT_FIELD_NUMBER: _ClassVar[int]
172
+ VERSION_FIELD_NUMBER: _ClassVar[int]
173
+ devname: str
174
+ message: str
175
+ otaid: str
176
+ progress: int
177
+ properties: str
178
+ result: int
179
+ version: str
180
+ def __init__(self, devname: _Optional[str] = ..., otaid: _Optional[str] = ..., version: _Optional[str] = ..., progress: _Optional[int] = ..., result: _Optional[int] = ..., message: _Optional[str] = ..., properties: _Optional[str] = ...) -> None: ...
181
+
182
+ class DrvUploadFileCancel(_message.Message):
183
+ __slots__ = ["bizId"]
184
+ BIZID_FIELD_NUMBER: _ClassVar[int]
185
+ bizId: str
186
+ def __init__(self, bizId: _Optional[str] = ...) -> None: ...
187
+
188
+ class DrvUploadFileReq(_message.Message):
189
+ __slots__ = ["bizId", "num", "type", "url", "userId"]
190
+ BIZID_FIELD_NUMBER: _ClassVar[int]
191
+ NUM_FIELD_NUMBER: _ClassVar[int]
192
+ TYPE_FIELD_NUMBER: _ClassVar[int]
193
+ URL_FIELD_NUMBER: _ClassVar[int]
194
+ USERID_FIELD_NUMBER: _ClassVar[int]
195
+ bizId: str
196
+ num: int
197
+ type: int
198
+ url: str
199
+ userId: str
200
+ def __init__(self, bizId: _Optional[str] = ..., url: _Optional[str] = ..., userId: _Optional[str] = ..., num: _Optional[int] = ..., type: _Optional[int] = ...) -> None: ...
201
+
202
+ class DrvUploadFileToAppReq(_message.Message):
203
+ __slots__ = ["bizId", "num", "operation", "serverIp", "serverPort", "type"]
204
+ BIZID_FIELD_NUMBER: _ClassVar[int]
205
+ NUM_FIELD_NUMBER: _ClassVar[int]
206
+ OPERATION_FIELD_NUMBER: _ClassVar[int]
207
+ SERVERIP_FIELD_NUMBER: _ClassVar[int]
208
+ SERVERPORT_FIELD_NUMBER: _ClassVar[int]
209
+ TYPE_FIELD_NUMBER: _ClassVar[int]
210
+ bizId: str
211
+ num: int
212
+ operation: int
213
+ serverIp: int
214
+ serverPort: int
215
+ type: int
216
+ def __init__(self, bizId: _Optional[str] = ..., operation: _Optional[int] = ..., serverIp: _Optional[int] = ..., serverPort: _Optional[int] = ..., num: _Optional[int] = ..., type: _Optional[int] = ...) -> None: ...
217
+
218
+ class DrvUploadFileToAppRsp(_message.Message):
219
+ __slots__ = ["bizId", "operation", "result"]
220
+ BIZID_FIELD_NUMBER: _ClassVar[int]
221
+ OPERATION_FIELD_NUMBER: _ClassVar[int]
222
+ RESULT_FIELD_NUMBER: _ClassVar[int]
223
+ bizId: str
224
+ operation: int
225
+ result: int
226
+ def __init__(self, bizId: _Optional[str] = ..., operation: _Optional[int] = ..., result: _Optional[int] = ...) -> None: ...
227
+
228
+ class DrvWifiConf(_message.Message):
229
+ __slots__ = ["Confssid", "code", "succFlag"]
230
+ CODE_FIELD_NUMBER: _ClassVar[int]
231
+ CONFSSID_FIELD_NUMBER: _ClassVar[int]
232
+ Confssid: str
233
+ SUCCFLAG_FIELD_NUMBER: _ClassVar[int]
234
+ code: int
235
+ succFlag: bool
236
+ def __init__(self, succFlag: bool = ..., code: _Optional[int] = ..., Confssid: _Optional[str] = ...) -> None: ...
237
+
238
+ class DrvWifiList(_message.Message):
239
+ __slots__ = ["NVS_Wifi_Upload"]
240
+ NVS_WIFI_UPLOAD_FIELD_NUMBER: _ClassVar[int]
241
+ NVS_Wifi_Upload: int
242
+ def __init__(self, NVS_Wifi_Upload: _Optional[int] = ...) -> None: ...
243
+
244
+ class DrvWifiMsg(_message.Message):
245
+ __slots__ = ["IP", "Msgssid", "devicename", "password", "productkey", "rssi", "status1", "status2", "wifi_enable"]
246
+ DEVICENAME_FIELD_NUMBER: _ClassVar[int]
247
+ IP: str
248
+ IP_FIELD_NUMBER: _ClassVar[int]
249
+ MSGSSID_FIELD_NUMBER: _ClassVar[int]
250
+ Msgssid: str
251
+ PASSWORD_FIELD_NUMBER: _ClassVar[int]
252
+ PRODUCTKEY_FIELD_NUMBER: _ClassVar[int]
253
+ RSSI_FIELD_NUMBER: _ClassVar[int]
254
+ STATUS1_FIELD_NUMBER: _ClassVar[int]
255
+ STATUS2_FIELD_NUMBER: _ClassVar[int]
256
+ WIFI_ENABLE_FIELD_NUMBER: _ClassVar[int]
257
+ devicename: str
258
+ password: str
259
+ productkey: str
260
+ rssi: int
261
+ status1: bool
262
+ status2: bool
263
+ wifi_enable: bool
264
+ def __init__(self, status1: bool = ..., status2: bool = ..., IP: _Optional[str] = ..., Msgssid: _Optional[str] = ..., password: _Optional[str] = ..., rssi: _Optional[int] = ..., productkey: _Optional[str] = ..., devicename: _Optional[str] = ..., wifi_enable: bool = ...) -> None: ...
265
+
266
+ class DrvWifiSet(_message.Message):
267
+ __slots__ = ["Confssid", "configParam", "wifi_enable"]
268
+ CONFIGPARAM_FIELD_NUMBER: _ClassVar[int]
269
+ CONFSSID_FIELD_NUMBER: _ClassVar[int]
270
+ Confssid: str
271
+ WIFI_ENABLE_FIELD_NUMBER: _ClassVar[int]
272
+ configParam: int
273
+ wifi_enable: bool
274
+ def __init__(self, configParam: _Optional[int] = ..., Confssid: _Optional[str] = ..., wifi_enable: bool = ...) -> None: ...
275
+
276
+ class DrvWifiUpload(_message.Message):
277
+ __slots__ = ["Wifi_Msg_Upload"]
278
+ WIFI_MSG_UPLOAD_FIELD_NUMBER: _ClassVar[int]
279
+ Wifi_Msg_Upload: int
280
+ def __init__(self, Wifi_Msg_Upload: _Optional[int] = ...) -> None: ...
281
+
282
+ class GetMnetCfgReq(_message.Message):
283
+ __slots__ = ["req_ids"]
284
+ REQ_IDS_FIELD_NUMBER: _ClassVar[int]
285
+ req_ids: int
286
+ def __init__(self, req_ids: _Optional[int] = ...) -> None: ...
287
+
288
+ class GetMnetCfgRsp(_message.Message):
289
+ __slots__ = ["cfg", "req_ids", "result"]
290
+ CFG_FIELD_NUMBER: _ClassVar[int]
291
+ REQ_IDS_FIELD_NUMBER: _ClassVar[int]
292
+ RESULT_FIELD_NUMBER: _ClassVar[int]
293
+ cfg: MnetCfg
294
+ req_ids: int
295
+ result: int
296
+ def __init__(self, req_ids: _Optional[int] = ..., result: _Optional[int] = ..., cfg: _Optional[_Union[MnetCfg, _Mapping]] = ...) -> None: ...
297
+
298
+ class GetMnetInfoReq(_message.Message):
299
+ __slots__ = ["req_ids"]
300
+ REQ_IDS_FIELD_NUMBER: _ClassVar[int]
301
+ req_ids: int
302
+ def __init__(self, req_ids: _Optional[int] = ...) -> None: ...
303
+
304
+ class GetMnetInfoRsp(_message.Message):
305
+ __slots__ = ["mnet", "req_ids", "result"]
306
+ MNET_FIELD_NUMBER: _ClassVar[int]
307
+ REQ_IDS_FIELD_NUMBER: _ClassVar[int]
308
+ RESULT_FIELD_NUMBER: _ClassVar[int]
309
+ mnet: MnetInfo
310
+ req_ids: int
311
+ result: int
312
+ def __init__(self, req_ids: _Optional[int] = ..., result: _Optional[int] = ..., mnet: _Optional[_Union[MnetInfo, _Mapping]] = ...) -> None: ...
313
+
314
+ class GetNetworkInfoReq(_message.Message):
315
+ __slots__ = ["req_ids"]
316
+ REQ_IDS_FIELD_NUMBER: _ClassVar[int]
317
+ req_ids: int
318
+ def __init__(self, req_ids: _Optional[int] = ...) -> None: ...
319
+
320
+ class GetNetworkInfoRsp(_message.Message):
321
+ __slots__ = ["gateway", "ip", "mask", "req_ids", "wifi_mac", "wifi_rssi", "wifi_ssid"]
322
+ GATEWAY_FIELD_NUMBER: _ClassVar[int]
323
+ IP_FIELD_NUMBER: _ClassVar[int]
324
+ MASK_FIELD_NUMBER: _ClassVar[int]
325
+ REQ_IDS_FIELD_NUMBER: _ClassVar[int]
326
+ WIFI_MAC_FIELD_NUMBER: _ClassVar[int]
327
+ WIFI_RSSI_FIELD_NUMBER: _ClassVar[int]
328
+ WIFI_SSID_FIELD_NUMBER: _ClassVar[int]
329
+ gateway: int
330
+ ip: int
331
+ mask: int
332
+ req_ids: int
333
+ wifi_mac: str
334
+ wifi_rssi: int
335
+ wifi_ssid: str
336
+ def __init__(self, req_ids: _Optional[int] = ..., wifi_ssid: _Optional[str] = ..., wifi_mac: _Optional[str] = ..., wifi_rssi: _Optional[int] = ..., ip: _Optional[int] = ..., mask: _Optional[int] = ..., gateway: _Optional[int] = ...) -> None: ...
337
+
338
+ class MnetApn(_message.Message):
339
+ __slots__ = ["apn_alias", "apn_name", "auth", "cid", "password", "username"]
340
+ APN_ALIAS_FIELD_NUMBER: _ClassVar[int]
341
+ APN_NAME_FIELD_NUMBER: _ClassVar[int]
342
+ AUTH_FIELD_NUMBER: _ClassVar[int]
343
+ CID_FIELD_NUMBER: _ClassVar[int]
344
+ PASSWORD_FIELD_NUMBER: _ClassVar[int]
345
+ USERNAME_FIELD_NUMBER: _ClassVar[int]
346
+ apn_alias: str
347
+ apn_name: str
348
+ auth: apn_auth_type
349
+ cid: int
350
+ password: str
351
+ username: str
352
+ def __init__(self, cid: _Optional[int] = ..., apn_alias: _Optional[str] = ..., apn_name: _Optional[str] = ..., auth: _Optional[_Union[apn_auth_type, str]] = ..., username: _Optional[str] = ..., password: _Optional[str] = ...) -> None: ...
353
+
354
+ class MnetApnCfg(_message.Message):
355
+ __slots__ = ["apn", "apn_used_idx"]
356
+ APN_FIELD_NUMBER: _ClassVar[int]
357
+ APN_USED_IDX_FIELD_NUMBER: _ClassVar[int]
358
+ apn: _containers.RepeatedCompositeFieldContainer[MnetApn]
359
+ apn_used_idx: int
360
+ def __init__(self, apn_used_idx: _Optional[int] = ..., apn: _Optional[_Iterable[_Union[MnetApn, _Mapping]]] = ...) -> None: ...
361
+
362
+ class MnetApnSetCfg(_message.Message):
363
+ __slots__ = ["cfg", "use_default"]
364
+ CFG_FIELD_NUMBER: _ClassVar[int]
365
+ USE_DEFAULT_FIELD_NUMBER: _ClassVar[int]
366
+ cfg: MnetApnCfg
367
+ use_default: bool
368
+ def __init__(self, use_default: bool = ..., cfg: _Optional[_Union[MnetApnCfg, _Mapping]] = ...) -> None: ...
369
+
370
+ class MnetCfg(_message.Message):
371
+ __slots__ = ["apn", "auto_select", "inet_enable", "mnet_enable", "type"]
372
+ APN_FIELD_NUMBER: _ClassVar[int]
373
+ AUTO_SELECT_FIELD_NUMBER: _ClassVar[int]
374
+ INET_ENABLE_FIELD_NUMBER: _ClassVar[int]
375
+ MNET_ENABLE_FIELD_NUMBER: _ClassVar[int]
376
+ TYPE_FIELD_NUMBER: _ClassVar[int]
377
+ apn: MnetApnSetCfg
378
+ auto_select: bool
379
+ inet_enable: bool
380
+ mnet_enable: bool
381
+ type: net_type
382
+ def __init__(self, mnet_enable: bool = ..., inet_enable: bool = ..., type: _Optional[_Union[net_type, str]] = ..., apn: _Optional[_Union[MnetApnSetCfg, _Mapping]] = ..., auto_select: bool = ...) -> None: ...
383
+
384
+ class MnetInfo(_message.Message):
385
+ __slots__ = ["imei", "imsi", "inet", "link_type", "model", "revision", "rssi", "sim"]
386
+ IMEI_FIELD_NUMBER: _ClassVar[int]
387
+ IMSI_FIELD_NUMBER: _ClassVar[int]
388
+ INET_FIELD_NUMBER: _ClassVar[int]
389
+ LINK_TYPE_FIELD_NUMBER: _ClassVar[int]
390
+ MODEL_FIELD_NUMBER: _ClassVar[int]
391
+ REVISION_FIELD_NUMBER: _ClassVar[int]
392
+ RSSI_FIELD_NUMBER: _ClassVar[int]
393
+ SIM_FIELD_NUMBER: _ClassVar[int]
394
+ imei: str
395
+ imsi: str
396
+ inet: mnet_inet_status
397
+ link_type: mnet_link_type
398
+ model: str
399
+ revision: str
400
+ rssi: int
401
+ sim: sim_card_sta
402
+ def __init__(self, model: _Optional[str] = ..., revision: _Optional[str] = ..., imei: _Optional[str] = ..., sim: _Optional[_Union[sim_card_sta, str]] = ..., imsi: _Optional[str] = ..., link_type: _Optional[_Union[mnet_link_type, str]] = ..., rssi: _Optional[int] = ..., inet: _Optional[_Union[mnet_inet_status, _Mapping]] = ...) -> None: ...
403
+
404
+ class SetDrvBleMTU(_message.Message):
405
+ __slots__ = ["mtu_count"]
406
+ MTU_COUNT_FIELD_NUMBER: _ClassVar[int]
407
+ mtu_count: int
408
+ def __init__(self, mtu_count: _Optional[int] = ...) -> None: ...
409
+
410
+ class SetMnetCfgReq(_message.Message):
411
+ __slots__ = ["cfg", "req_ids"]
412
+ CFG_FIELD_NUMBER: _ClassVar[int]
413
+ REQ_IDS_FIELD_NUMBER: _ClassVar[int]
414
+ cfg: MnetCfg
415
+ req_ids: int
416
+ def __init__(self, req_ids: _Optional[int] = ..., cfg: _Optional[_Union[MnetCfg, _Mapping]] = ...) -> None: ...
417
+
418
+ class SetMnetCfgRsp(_message.Message):
419
+ __slots__ = ["req_ids", "result"]
420
+ REQ_IDS_FIELD_NUMBER: _ClassVar[int]
421
+ RESULT_FIELD_NUMBER: _ClassVar[int]
422
+ req_ids: int
423
+ result: int
424
+ def __init__(self, req_ids: _Optional[int] = ..., result: _Optional[int] = ...) -> None: ...
425
+
426
+ class WifiIotStatusReport(_message.Message):
427
+ __slots__ = ["devicename", "iot_connected", "productkey", "wifi_connected"]
428
+ DEVICENAME_FIELD_NUMBER: _ClassVar[int]
429
+ IOT_CONNECTED_FIELD_NUMBER: _ClassVar[int]
430
+ PRODUCTKEY_FIELD_NUMBER: _ClassVar[int]
431
+ WIFI_CONNECTED_FIELD_NUMBER: _ClassVar[int]
432
+ devicename: str
433
+ iot_connected: bool
434
+ productkey: str
435
+ wifi_connected: bool
436
+ def __init__(self, wifi_connected: bool = ..., iot_connected: bool = ..., productkey: _Optional[str] = ..., devicename: _Optional[str] = ...) -> None: ...
437
+
438
+ class mnet_inet_status(_message.Message):
439
+ __slots__ = ["connect", "gateway", "ip", "mask"]
440
+ CONNECT_FIELD_NUMBER: _ClassVar[int]
441
+ GATEWAY_FIELD_NUMBER: _ClassVar[int]
442
+ IP_FIELD_NUMBER: _ClassVar[int]
443
+ MASK_FIELD_NUMBER: _ClassVar[int]
444
+ connect: bool
445
+ gateway: int
446
+ ip: int
447
+ mask: int
448
+ def __init__(self, connect: bool = ..., ip: _Optional[int] = ..., mask: _Optional[int] = ..., gateway: _Optional[int] = ...) -> None: ...
449
+
450
+ class WifiConfType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
451
+ __slots__ = []
452
+
453
+ class DrvUploadFileFileType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
454
+ __slots__ = []
455
+
456
+ class DrvDevInfoResult(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
457
+ __slots__ = []
458
+
459
+ class sim_card_sta(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
460
+ __slots__ = []
461
+
462
+ class mnet_link_type(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
463
+ __slots__ = []
464
+
465
+ class apn_auth_type(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
466
+ __slots__ = []
467
+
468
+ class net_type(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
469
+ __slots__ = []
470
+
471
+ class iot_conctrl_type(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
472
+ __slots__ = []
@@ -0,0 +1,73 @@
1
+ syntax = "proto3";
2
+
3
+ import "pyluba/proto/mctrl_driver.proto";
4
+ import "pyluba/proto/mctrl_nav.proto";
5
+ import "pyluba/proto/mctrl_sys.proto";
6
+ import "pyluba/proto/dev_net.proto";
7
+ import "pyluba/proto/mctrl_ota.proto";
8
+ import "pyluba/proto/luba_mul.proto";
9
+ import "pyluba/proto/mctrl_pept.proto";
10
+
11
+ message MsgNull {
12
+ }
13
+
14
+ message LubaMsg {
15
+ MsgCmdType msgtype = 1;
16
+ MsgDevice sender = 2;
17
+ MsgDevice rcver = 3;
18
+ MsgAttr msgattr = 4;
19
+ int32 seqs = 5;
20
+ int32 version = 6;
21
+ int32 subtype = 7;
22
+ oneof LubaSubMsg {
23
+ DevNet net = 8;
24
+ MctlSys sys = 10;
25
+ MctlNav nav = 11;
26
+ MctlDriver driver = 12;
27
+ MctlOta ota = 13;
28
+ SocMul mul = 14;
29
+ MsgNull null = 16;
30
+ MctlPept pept = 17;
31
+ }
32
+ uint64 timestamp = 15;
33
+ }
34
+
35
+ enum MsgCmdType {
36
+ MSG_CMD_TYPE_START = 0;
37
+ MSG_CMD_TYPE_NAV = 240;
38
+ MSG_CMD_TYPE_LOCALIZATION = 241;
39
+ MSG_CMD_TYPE_PLANNING = 242;
40
+ MSG_CMD_TYPE_EMBED_DRIVER = 243;
41
+ MSG_CMD_TYPE_EMBED_SYS = 244;
42
+ MSG_CMD_TYPE_EMBED_MIDWARE = 245;
43
+ MSG_CMD_TYPE_EMBED_OTA = 246;
44
+ MSG_CMD_TYPE_APPLICATION = 247;
45
+ MSG_CMD_TYPE_ESP = 248;
46
+ MSG_CMD_TYPE_MUL = 249;
47
+ MSG_CMD_TYPE_PEPT = 250;
48
+ }
49
+
50
+ enum MsgAttr {
51
+ MSG_ATTR_NONE = 0;
52
+ MSG_ATTR_REQ = 1;
53
+ MSG_ATTR_RESP = 2;
54
+ MSG_ATTR_REPORT = 3;
55
+ }
56
+
57
+ enum MsgDevice {
58
+ DEV_COMM_ESP = 0;
59
+ DEV_MAINCTL = 1;
60
+ DEV_LEFTMOTOR = 2;
61
+ DEV_RIGHTMOTOR = 3;
62
+ DEV_BASESTATION = 4;
63
+ DEV_RTKCLI = 5;
64
+ DEV_USBHOST = 6;
65
+ DEV_MOBILEAPP = 7;
66
+ DEV_IOTSERVER = 8;
67
+ DEV_BMS = 9;
68
+ DEV_NAVIGATION = 17;
69
+ DEV_LOCALIZATION = 18;
70
+ DEV_PERCEPTION = 19;
71
+ SOC_MODULE_MULTIMEDIA = 21;
72
+ DEV_IOTCTRL = 25;
73
+ }
@@ -0,0 +1,80 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # sources: pyluba/proto/luba_msg.proto
3
+ # plugin: python-betterproto
4
+ from dataclasses import dataclass
5
+
6
+ import betterproto
7
+
8
+ from .common import *
9
+ from .dev_net import *
10
+ from .luba_mul import *
11
+ from .mctrl_driver import *
12
+ from .mctrl_nav import *
13
+ from .mctrl_ota import *
14
+ from .mctrl_pept import *
15
+ from .mctrl_sys import *
16
+
17
+
18
+ class MsgCmdType(betterproto.Enum):
19
+ MSG_CMD_TYPE_START = 0
20
+ MSG_CMD_TYPE_NAV = 240
21
+ MSG_CMD_TYPE_LOCALIZATION = 241
22
+ MSG_CMD_TYPE_PLANNING = 242
23
+ MSG_CMD_TYPE_EMBED_DRIVER = 243
24
+ MSG_CMD_TYPE_EMBED_SYS = 244
25
+ MSG_CMD_TYPE_EMBED_MIDWARE = 245
26
+ MSG_CMD_TYPE_EMBED_OTA = 246
27
+ MSG_CMD_TYPE_APPLICATION = 247
28
+ MSG_CMD_TYPE_ESP = 248
29
+ MSG_CMD_TYPE_MUL = 249
30
+ MSG_CMD_TYPE_PEPT = 250
31
+
32
+
33
+ class MsgAttr(betterproto.Enum):
34
+ MSG_ATTR_NONE = 0
35
+ MSG_ATTR_REQ = 1
36
+ MSG_ATTR_RESP = 2
37
+ MSG_ATTR_REPORT = 3
38
+
39
+
40
+ class MsgDevice(betterproto.Enum):
41
+ DEV_COMM_ESP = 0
42
+ DEV_MAINCTL = 1
43
+ DEV_LEFTMOTOR = 2
44
+ DEV_RIGHTMOTOR = 3
45
+ DEV_BASESTATION = 4
46
+ DEV_RTKCLI = 5
47
+ DEV_USBHOST = 6
48
+ DEV_MOBILEAPP = 7
49
+ DEV_IOTSERVER = 8
50
+ DEV_BMS = 9
51
+ DEV_NAVIGATION = 17
52
+ DEV_LOCALIZATION = 18
53
+ DEV_PERCEPTION = 19
54
+ SOC_MODULE_MULTIMEDIA = 21
55
+ DEV_IOTCTRL = 25
56
+
57
+
58
+ @dataclass
59
+ class MsgNull(betterproto.Message):
60
+ pass
61
+
62
+
63
+ @dataclass
64
+ class LubaMsg(betterproto.Message):
65
+ msgtype: "MsgCmdType" = betterproto.enum_field(1)
66
+ sender: "MsgDevice" = betterproto.enum_field(2)
67
+ rcver: "MsgDevice" = betterproto.enum_field(3)
68
+ msgattr: "MsgAttr" = betterproto.enum_field(4)
69
+ seqs: int = betterproto.int32_field(5)
70
+ version: int = betterproto.int32_field(6)
71
+ subtype: int = betterproto.int32_field(7)
72
+ net: "DevNet" = betterproto.message_field(8, group="LubaSubMsg")
73
+ sys: "MctlSys" = betterproto.message_field(10, group="LubaSubMsg")
74
+ nav: "MctlNav" = betterproto.message_field(11, group="LubaSubMsg")
75
+ driver: "MctlDriver" = betterproto.message_field(12, group="LubaSubMsg")
76
+ ota: "MctlOta" = betterproto.message_field(13, group="LubaSubMsg")
77
+ mul: "SocMul" = betterproto.message_field(14, group="LubaSubMsg")
78
+ null: "MsgNull" = betterproto.message_field(16, group="LubaSubMsg")
79
+ pept: "MctlPept" = betterproto.message_field(17, group="LubaSubMsg")
80
+ timestamp: int = betterproto.uint64_field(15)
@@ -0,0 +1,40 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: pyluba/proto/luba_msg.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
+ from pyluba.proto import mctrl_driver_pb2 as pyluba_dot_proto_dot_mctrl__driver__pb2
15
+ from pyluba.proto import mctrl_nav_pb2 as pyluba_dot_proto_dot_mctrl__nav__pb2
16
+ from pyluba.proto import mctrl_sys_pb2 as pyluba_dot_proto_dot_mctrl__sys__pb2
17
+ from pyluba.proto import dev_net_pb2 as pyluba_dot_proto_dot_dev__net__pb2
18
+ from pyluba.proto import mctrl_ota_pb2 as pyluba_dot_proto_dot_mctrl__ota__pb2
19
+ from pyluba.proto import luba_mul_pb2 as pyluba_dot_proto_dot_luba__mul__pb2
20
+ from pyluba.proto import mctrl_pept_pb2 as pyluba_dot_proto_dot_mctrl__pept__pb2
21
+
22
+
23
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bpyluba/proto/luba_msg.proto\x1a\x1fpyluba/proto/mctrl_driver.proto\x1a\x1cpyluba/proto/mctrl_nav.proto\x1a\x1cpyluba/proto/mctrl_sys.proto\x1a\x1apyluba/proto/dev_net.proto\x1a\x1cpyluba/proto/mctrl_ota.proto\x1a\x1bpyluba/proto/luba_mul.proto\x1a\x1dpyluba/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
+
25
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
26
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'pyluba.proto.luba_msg_pb2', globals())
27
+ if _descriptor._USE_C_DESCRIPTORS == False:
28
+
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
40
+ # @@protoc_insertion_point(module_scope)