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.
- pymammotion/__init__.py +4 -2
- pymammotion/aliyun/__init__.py +1 -0
- pymammotion/aliyun/cloud_gateway.py +74 -95
- pymammotion/aliyun/tmp_constant.py +2 -6
- pymammotion/bluetooth/ble.py +4 -12
- pymammotion/bluetooth/ble_message.py +12 -36
- pymammotion/bluetooth/data/convert.py +1 -3
- pymammotion/bluetooth/data/notifydata.py +0 -1
- pymammotion/data/model/device.py +62 -3
- pymammotion/data/model/hash_list.py +34 -14
- pymammotion/data/model/location.py +40 -0
- pymammotion/data/model/rapid_state.py +1 -5
- pymammotion/data/state_manager.py +84 -0
- pymammotion/event/event.py +18 -3
- pymammotion/http/http.py +2 -6
- pymammotion/mammotion/commands/mammotion_command.py +1 -3
- pymammotion/mammotion/commands/messages/driver.py +7 -21
- pymammotion/mammotion/commands/messages/media.py +4 -9
- pymammotion/mammotion/commands/messages/navigation.py +42 -107
- pymammotion/mammotion/commands/messages/network.py +10 -30
- pymammotion/mammotion/commands/messages/system.py +11 -26
- pymammotion/mammotion/commands/messages/video.py +1 -3
- pymammotion/mammotion/control/joystick.py +9 -33
- pymammotion/mammotion/devices/__init__.py +5 -1
- pymammotion/mammotion/devices/{luba.py → mammotion.py} +299 -110
- pymammotion/mqtt/__init__.py +5 -0
- pymammotion/mqtt/{mqtt.py → mammotion_mqtt.py} +46 -50
- pymammotion/proto/common_pb2.py +3 -3
- pymammotion/proto/dev_net_pb2.py +85 -85
- pymammotion/proto/luba_msg_pb2.py +11 -11
- pymammotion/proto/luba_mul_pb2.py +23 -23
- pymammotion/proto/mctrl_driver_pb2.py +23 -23
- pymammotion/proto/mctrl_nav_pb2.py +93 -93
- pymammotion/proto/mctrl_ota_pb2.py +13 -13
- pymammotion/proto/mctrl_pept_pb2.py +9 -9
- pymammotion/proto/mctrl_sys_pb2.py +119 -119
- pymammotion/utility/constant/device_constant.py +14 -0
- pymammotion/utility/datatype_converter.py +52 -9
- pymammotion/utility/device_type.py +129 -20
- pymammotion/utility/periodic.py +65 -0
- pymammotion/utility/rocker_util.py +63 -4
- {pymammotion-0.0.39.dist-info → pymammotion-0.0.41.dist-info}/METADATA +10 -4
- {pymammotion-0.0.39.dist-info → pymammotion-0.0.41.dist-info}/RECORD +45 -43
- {pymammotion-0.0.39.dist-info → pymammotion-0.0.41.dist-info}/WHEEL +1 -1
- pymammotion/luba/_init_.py +0 -0
- pymammotion/luba/base.py +0 -52
- {pymammotion-0.0.39.dist-info → pymammotion-0.0.41.dist-info}/LICENSE +0 -0
|
@@ -14,129 +14,129 @@ _sym_db = _symbol_database.Default()
|
|
|
14
14
|
from pymammotion.proto import dev_net_pb2 as pymammotion_dot_proto_dot_dev__net__pb2
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cpymammotion/proto/mctrl_sys.proto\x1a\x1apymammotion/proto/dev_net.proto\"\x1a\n\x08SysBatUp\x12\x0e\n\x06\x62\x61tVal\x18\x01 \x01(\x05\"Z\n\x0cSysWorkState\x12\x13\n\x0b\x64\x65viceState\x18\x01 \x01(\x05\x12\x13\n\x0b\x63hargeState\x18\x02 \x01(\x05\x12\x0e\n\x06\x63mHash\x18\x03 \x01(\x03\x12\x10\n\x08pathHash\x18\x04 \x01(\x03\"5\n\x0eSysSetTimeZone\x12\x11\n\ttimeStamp\x18\x01 \x01(\x05\x12\x10\n\x08timeArea\x18\x02 \x01(\x05\"\x9e\x01\n\x0eSysSetDateTime\x12\x0c\n\x04Year\x18\x01 \x01(\x05\x12\r\n\x05Month\x18\x02 \x01(\x05\x12\x0c\n\x04\x44\x61te\x18\x03 \x01(\x05\x12\x0c\n\x04Week\x18\x04 \x01(\x05\x12\r\n\x05Hours\x18\x05 \x01(\x05\x12\x0f\n\x07Minutes\x18\x06 \x01(\x05\x12\x0f\n\x07Seconds\x18\x07 \x01(\x05\x12\x10\n\x08timeZone\x18\x08 \x01(\x05\x12\x10\n\x08\x64\x61ylight\x18\t \x01(\x05\"V\n\nSysJobPlan\x12\r\n\x05jobId\x18\x01 \x01(\x03\x12\x0f\n\x07jobMode\x18\x02 \x01(\x05\x12\x13\n\x0brainTactics\x18\x03 \x01(\x05\x12\x13\n\x0bknifeHeight\x18\x04 \x01(\x05\"\"\n\rSysDevErrCode\x12\x11\n\terrorCode\x18\x01 \x01(\x05\"!\n\x0cSysBoardType\x12\x11\n\tboardType\x18\x01 \x01(\x05\"5\n\x0cSysSwVersion\x12\x11\n\tboardType\x18\x01 \x01(\x05\x12\x12\n\nversionLen\x18\x02 \x01(\x05\"1\n\rSysDelJobPlan\x12\x10\n\x08\x64\x65viceId\x18\x01 \x01(\t\x12\x0e\n\x06planId\x18\x02 \x01(\t\"\xec\x01\n\x0eSysJobPlanTime\x12\x0e\n\x06planId\x18\x01 \x01(\x03\x12\x16\n\x0estart_job_time\x18\x02 \x01(\x05\x12\x14\n\x0c\x65nd_job_time\x18\x03 \x01(\x05\x12\x13\n\x0btime_in_day\x18\x04 \x01(\x05\x12\x15\n\rjob_plan_mode\x18\x05 \x01(\x05\x12\x17\n\x0fjob_plan_enable\x18\x06 \x01(\x05\x12\x0f\n\x07weekDay\x18\x07 \x03(\x05\x12\x15\n\rtimeInWeekDay\x18\x08 \x03(\x05\x12\x10\n\x08\x65veryDay\x18\t \x01(\x05\x12\x1d\n\x08job_plan\x18\n \x01(\x0b\x32\x0b.SysJobPlan\"k\n\nSysMowInfo\x12\x13\n\x0b\x64\x65viceState\x18\x01 \x01(\x05\x12\x0e\n\x06\x62\x61tVal\x18\x02 \x01(\x05\x12\x13\n\x0bknifeHeight\x18\x03 \x01(\x05\x12\x11\n\tRTKstatus\x18\x04 \x01(\x05\x12\x10\n\x08RTKstars\x18\x05 \x01(\x05\";\n\x0eSysOptiLineAck\x12\x13\n\x0bresponesCmd\x18\x01 \x01(\x05\x12\x14\n\x0c\x63urrentFrame\x18\x02 \x01(\x05\"5\n\nSysCommCmd\x12\n\n\x02rw\x18\x01 \x01(\x05\x12\n\n\x02id\x18\x02 \x01(\x05\x12\x0f\n\x07\x63ontext\x18\x03 \x01(\x05\"H\n\x15SysUploadFileProgress\x12\r\n\x05\x62izId\x18\x01 \x01(\t\x12\x0e\n\x06result\x18\x02 \x01(\x05\x12\x10\n\x08progress\x18\x03 \x01(\x05\"\x1f\n\x0cSysErrorCode\x12\x0f\n\x07\x63ode_no\x18\x01 \x01(\x05\"\x1e\n\tSysBorder\x12\x11\n\tborderval\x18\x01 \x01(\x05\"*\n\x10SysPlanJobStatus\x12\x16\n\x0eplanjob_status\x18\x01 \x01(\x05\"=\n\x0fSysKnifeControl\x12\x14\n\x0cknife_status\x18\x01 \x01(\x05\x12\x14\n\x0cknife_height\x18\x02 \x01(\x05\"+\n\x14SysResetSystemStatus\x12\x13\n\x0breset_staus\x18\x01 \x01(\x05\"\x8a\x01\n\rTimeCtrlLight\x12\x0f\n\x07operate\x18\x01 \x01(\x05\x12\x0e\n\x06\x65nable\x18\x02 \x01(\x05\x12\x12\n\nstart_hour\x18\x03 \x01(\x05\x12\x11\n\tstart_min\x18\x04 \x01(\x05\x12\x10\n\x08\x65nd_hour\x18\x05 \x01(\x05\x12\x0f\n\x07\x65nd_min\x18\x06 \x01(\x05\x12\x0e\n\x06\x61\x63tion\x18\x07 \x01(\x05\"3\n\x10vision_point_msg\x12\t\n\x01x\x18\x01 \x01(\x02\x12\t\n\x01y\x18\x02 \x01(\x02\x12\t\n\x01z\x18\x03 \x01(\x02\"\\\n\x15vision_point_info_msg\x12\r\n\x05lable\x18\x01 \x01(\x05\x12\x0b\n\x03num\x18\x02 \x01(\x05\x12\'\n\x0cvision_point\x18\x03 \x03(\x0b\x32\x11.vision_point_msg\"\x9a\x01\n\x13vio_to_app_info_msg\x12\t\n\x01x\x18\x01 \x01(\x01\x12\t\n\x01y\x18\x02 \x01(\x01\x12\x0f\n\x07heading\x18\x03 \x01(\x01\x12\x11\n\tvio_state\x18\x04 \x01(\x05\x12\x12\n\nbrightness\x18\x05 \x01(\x05\x12\x1a\n\x12\x64\x65tect_feature_num\x18\x06 \x01(\x05\x12\x19\n\x11track_feature_num\x18\x07 \x01(\x05\"1\n\x14vision_statistic_msg\x12\x0c\n\x04mean\x18\x01 \x01(\x02\x12\x0b\n\x03var\x18\x02 \x01(\x02\"m\n\x19vision_statistic_info_msg\x12\x11\n\ttimestamp\x18\x01 \x01(\x01\x12\x0b\n\x03num\x18\x02 \x01(\x05\x12\x30\n\x11vision_statistics\x18\x03 \x03(\x0b\x32\x15.vision_statistic_msg\"\xd3\x01\n\x1asystemRapidStateTunnel_msg\x12\x18\n\x10rapid_state_data\x18\x01 \x03(\x03\x12\x31\n\x11vision_point_info\x18\x02 \x03(\x0b\x32\x16.vision_point_info_msg\x12-\n\x0fvio_to_app_info\x18\x03 \x01(\x0b\x32\x14.vio_to_app_info_msg\x12\x39\n\x15vision_statistic_info\x18\x04 \x01(\x0b\x32\x1a.vision_statistic_info_msg\"4\n\x19systemTardStateTunnel_msg\x12\x17\n\x0ftard_state_data\x18\x01 \x03(\x03\".\n\x13systemUpdateBuf_msg\x12\x17\n\x0fupdate_buf_data\x18\x01 \x03(\x03\"\x9e\x01\n\x0fSysOffChipFlash\x12\x16\n\x02op\x18\x01 \x01(\x0e\x32\n.Operation\x12\x16\n\x02id\x18\x02 \x01(\x0e\x32\n.OffPartId\x12\x12\n\nstart_addr\x18\x03 \x01(\r\x12\x0e\n\x06offset\x18\x04 \x01(\r\x12\x0e\n\x06length\x18\x05 \x01(\x05\x12\x0c\n\x04\x64\x61ta\x18\x06 \x01(\x0c\x12\x0c\n\x04\x63ode\x18\x07 \x01(\x05\x12\x0b\n\x03msg\x18\x08 \x01(\t\"-\n\x14systemTmpCycleTx_msg\x12\x15\n\rcycle_tx_data\x18\x01 \x03(\x03\"%\n\nLoraCfgReq\x12\n\n\x02op\x18\x01 \x01(\x05\x12\x0b\n\x03\x63\x66g\x18\x02 \x01(\t\"F\n\nLoraCfgRsp\x12\x0e\n\x06result\x18\x01 \x01(\x05\x12\n\n\x02op\x18\x02 \x01(\x05\x12\x0b\n\x03\x63\x66g\x18\x03 \x01(\t\x12\x0f\n\x07\x66\x61\x63_cfg\x18\x04 \x01(\t\">\n\x0bmod_fw_info\x12\x0c\n\x04type\x18\x01 \x01(\x05\x12\x10\n\x08identify\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t\"L\n\x0e\x64\x65vice_fw_info\x12\x0e\n\x06result\x18\x01 \x01(\x05\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x19\n\x03mod\x18\x03 \x03(\x0b\x32\x0c.mod_fw_info\"@\n\x11mow_to_app_info_t\x12\x0c\n\x04type\x18\x01 \x01(\x05\x12\x0b\n\x03\x63md\x18\x02 \x01(\x05\x12\x10\n\x08mow_data\x18\x03 \x03(\x05\"a\n\x1a\x64\x65vice_product_type_info_t\x12\x0e\n\x06result\x18\x01 \x01(\x05\x12\x19\n\x11main_product_type\x18\x02 \x01(\t\x12\x18\n\x10sub_product_type\x18\x03 \x01(\t\"P\n\x0fQCAppTestExcept\x12\x13\n\x0b\x65xcept_type\x18\x01 \x01(\t\x12(\n\nconditions\x18\x02 \x03(\x0b\x32\x14.QCAppTestConditions\"t\n\x13QCAppTestConditions\x12\x11\n\tcond_type\x18\x01 \x01(\t\x12\x0f\n\x07int_val\x18\x02 \x01(\x05\x12\x11\n\tfloat_val\x18\x03 \x01(\x02\x12\x12\n\ndouble_val\x18\x04 \x01(\x01\x12\x12\n\nstring_val\x18\x05 \x01(\t\"\x99\x01\n\x19mow_to_app_qctools_info_t\x12\x1a\n\x04type\x18\x01 \x01(\x0e\x32\x0c.QCAppTestId\x12\x16\n\x0etimeOfDuration\x18\x02 \x01(\x05\x12\x0e\n\x06result\x18\x03 \x01(\x05\x12\x16\n\x0eresult_details\x18\x04 \x01(\t\x12 \n\x06\x65xcept\x18\x05 \x03(\x0b\x32\x10.QCAppTestExcept\"O\n\x16mCtrlSimulationCmdData\x12\x0e\n\x06subCmd\x18\x01 \x01(\x05\x12\x10\n\x08param_id\x18\x02 \x01(\x05\x12\x13\n\x0bparam_value\x18\x03 \x03(\x05\"\x8f\x01\n\x08rpt_lora\x12\x16\n\x0epair_code_scan\x18\x01 \x01(\x05\x12\x19\n\x11pair_code_channel\x18\x02 \x01(\x05\x12\x17\n\x0fpair_code_locid\x18\x03 \x01(\x05\x12\x17\n\x0fpair_code_netid\x18\x04 \x01(\x05\x12\x1e\n\x16lora_connection_status\x18\x05 \x01(\x05\"\xf1\x01\n\x07rpt_rtk\x12\x0e\n\x06status\x18\x01 \x01(\x05\x12\x11\n\tpos_level\x18\x02 \x01(\x05\x12\x11\n\tgps_stars\x18\x03 \x01(\x05\x12\x0b\n\x03\x61ge\x18\x04 \x01(\x05\x12\x0f\n\x07lat_std\x18\x05 \x01(\x05\x12\x0f\n\x07lon_std\x18\x06 \x01(\x05\x12\x10\n\x08l2_stars\x18\x07 \x01(\x05\x12\x12\n\ndis_status\x18\x08 \x01(\x03\x12\x17\n\x0ftop4_total_mean\x18\t \x01(\x03\x12\x15\n\rco_view_stars\x18\n \x01(\x05\x12\r\n\x05reset\x18\x0b \x01(\x05\x12\x1c\n\tlora_info\x18\x0c \x01(\x0b\x32\t.rpt_lora\"\x86\x01\n\x10rpt_dev_location\x12\x12\n\nreal_pos_x\x18\x01 \x01(\x05\x12\x12\n\nreal_pos_y\x18\x02 \x01(\x05\x12\x13\n\x0breal_toward\x18\x03 \x01(\x05\x12\x10\n\x08pos_type\x18\x04 \x01(\x05\x12\x11\n\tzone_hash\x18\x05 \x01(\x03\x12\x10\n\x08\x62ol_hash\x18\x06 \x01(\x03\"4\n\x13vio_survival_info_t\x12\x1d\n\x15vio_survival_distance\x18\x01 \x01(\x02\";\n\x12\x63ollector_status_t\x12%\n\x1d\x63ollector_installation_status\x18\x01 \x01(\x05\"\"\n\x0clock_state_t\x12\x12\n\nlock_state\x18\x01 \x01(\r\"\xca\x02\n\x0erpt_dev_status\x12\x12\n\nsys_status\x18\x01 \x01(\x05\x12\x14\n\x0c\x63harge_state\x18\x02 \x01(\x05\x12\x13\n\x0b\x62\x61ttery_val\x18\x03 \x01(\x05\x12\x15\n\rsensor_status\x18\x04 \x01(\x05\x12\x13\n\x0blast_status\x18\x05 \x01(\x05\x12\x16\n\x0esys_time_stamp\x18\x06 \x01(\x03\x12\x14\n\x0cvslam_status\x18\x07 \x01(\x05\x12\x1c\n\tmnet_info\x18\x08 \x01(\x0b\x32\t.MnetInfo\x12/\n\x11vio_survival_info\x18\t \x01(\x0b\x32\x14.vio_survival_info_t\x12-\n\x10\x63ollector_status\x18\n \x01(\x0b\x32\x13.collector_status_t\x12!\n\nlock_state\x18\x0b \x01(\x0b\x32\r.lock_state_t\"\xaa\x01\n\x12rpt_connect_status\x12\x14\n\x0c\x63onnect_type\x18\x01 \x01(\x05\x12\x10\n\x08\x62le_rssi\x18\x02 \x01(\x05\x12\x11\n\twifi_rssi\x18\x03 \x01(\x05\x12\x11\n\tlink_type\x18\x04 \x01(\x05\x12\x11\n\tmnet_rssi\x18\x05 \x01(\x05\x12\x11\n\tmnet_inet\x18\x06 \x01(\x05\x12 \n\x08used_net\x18\x07 \x01(\x0e\x32\x0e.net_used_type\"\xa0\x03\n\x08rpt_work\x12\x0c\n\x04plan\x18\x01 \x01(\x05\x12\x11\n\tpath_hash\x18\x02 \x01(\x03\x12\x10\n\x08progress\x18\x03 \x01(\x05\x12\x0c\n\x04\x61rea\x18\x04 \x01(\x05\x12\x0f\n\x07\x62p_info\x18\x05 \x01(\x05\x12\x0f\n\x07\x62p_hash\x18\x06 \x01(\x03\x12\x10\n\x08\x62p_pos_x\x18\x07 \x01(\x05\x12\x10\n\x08\x62p_pos_y\x18\x08 \x01(\x05\x12\x15\n\rreal_path_num\x18\t \x01(\x03\x12\x12\n\npath_pos_x\x18\n \x01(\x05\x12\x12\n\npath_pos_y\x18\x0b \x01(\x05\x12\x14\n\x0cub_zone_hash\x18\x0c \x01(\x03\x12\x14\n\x0cub_path_hash\x18\r \x01(\x03\x12\x15\n\rinit_cfg_hash\x18\x0e \x01(\x03\x12\x15\n\rub_ecode_hash\x18\x0f \x01(\x03\x12\x14\n\x0cnav_run_mode\x18\x10 \x01(\x05\x12\x18\n\x10test_mode_status\x18\x11 \x01(\x03\x12\x15\n\rman_run_speed\x18\x12 \x01(\x05\x12\x17\n\x0fnav_edit_status\x18\x13 \x01(\x05\x12\x14\n\x0cknife_height\x18\x14 \x01(\x05\"F\n\x0crpt_maintain\x12\x0f\n\x07mileage\x18\x01 \x01(\x03\x12\x11\n\twork_time\x18\x02 \x01(\x05\x12\x12\n\nbat_cycles\x18\x03 \x01(\x05\"\x8f\x01\n\x0freport_info_cfg\x12\x15\n\x03\x61\x63t\x18\x01 \x01(\x0e\x32\x08.rpt_act\x12\x0f\n\x07timeout\x18\x02 \x01(\x05\x12\x0e\n\x06period\x18\x03 \x01(\x05\x12\x18\n\x10no_change_period\x18\x04 \x01(\x05\x12\r\n\x05\x63ount\x18\x05 \x01(\x05\x12\x1b\n\x03sub\x18\x06 \x03(\x0e\x32\x0e.rpt_info_type\"\x8c\x03\n\x10report_info_data\x12$\n\x07\x63onnect\x18\x01 \x01(\x0b\x32\x13.rpt_connect_status\x12\x1c\n\x03\x64\x65v\x18\x02 \x01(\x0b\x32\x0f.rpt_dev_status\x12\x15\n\x03rtk\x18\x03 \x01(\x0b\x32\x08.rpt_rtk\x12$\n\tlocations\x18\x04 \x03(\x0b\x32\x11.rpt_dev_location\x12\x17\n\x04work\x18\x05 \x01(\x0b\x32\t.rpt_work\x12 \n\x07\x66w_info\x18\x06 \x01(\x0b\x32\x0f.device_fw_info\x12\x1f\n\x08maintain\x18\x07 \x01(\x0b\x32\r.rpt_maintain\x12\x31\n\x11vision_point_info\x18\x08 \x03(\x0b\x32\x16.vision_point_info_msg\x12-\n\x0fvio_to_app_info\x18\t \x01(\x0b\x32\x14.vio_to_app_info_msg\x12\x39\n\x15vision_statistic_info\x18\n \x01(\x0b\x32\x1a.vision_statistic_info_msg\"\x9c\x0c\n\x07MctlSys\x12\"\n\rtoapp_batinfo\x18\x01 \x01(\x0b\x32\t.SysBatUpH\x00\x12)\n\x10toapp_work_state\x18\x02 \x01(\x0b\x32\r.SysWorkStateH\x00\x12*\n\x0ftodev_time_zone\x18\x03 \x01(\x0b\x32\x0f.SysSetTimeZoneH\x00\x12*\n\x0ftodev_data_time\x18\x04 \x01(\x0b\x32\x0f.SysSetDateTimeH\x00\x12\x1f\n\x08job_plan\x18\x06 \x01(\x0b\x32\x0b.SysJobPlanH\x00\x12(\n\x0etoapp_err_code\x18\x07 \x01(\x0b\x32\x0e.SysDevErrCodeH\x00\x12.\n\x13todev_job_plan_time\x18\n \x01(\x0b\x32\x0f.SysJobPlanTimeH\x00\x12%\n\x0etoapp_mow_info\x18\x0b \x01(\x0b\x32\x0b.SysMowInfoH\x00\x12&\n\x0f\x62idire_comm_cmd\x18\x0c \x01(\x0b\x32\x0b.SysCommCmdH\x00\x12\x16\n\x0cplan_job_del\x18\x0e \x01(\x03H\x00\x12\x1c\n\x06\x62order\x18\x0f \x01(\x0b\x32\n.SysBorderH\x00\x12.\n\x11toapp_plan_status\x18\x12 \x01(\x0b\x32\x11.SysPlanJobStatusH\x00\x12\x34\n\x12toapp_ul_fprogress\x18\x13 \x01(\x0b\x32\x16.SysUploadFileProgressH\x00\x12*\n\x10todev_deljobplan\x18\x14 \x01(\x0b\x32\x0e.SysDelJobPlanH\x00\x12\x1b\n\x11todev_mow_info_up\x18\x15 \x01(\x05H\x00\x12,\n\x10todev_knife_ctrl\x18\x16 \x01(\x0b\x32\x10.SysKnifeControlH\x00\x12\x1c\n\x12todev_reset_system\x18\x17 \x01(\x05H\x00\x12:\n\x19todev_reset_system_status\x18\x18 \x01(\x0b\x32\x15.SysResetSystemStatusH\x00\x12=\n\x16systemRapidStateTunnel\x18\x19 \x01(\x0b\x32\x1b.systemRapidStateTunnel_msgH\x00\x12;\n\x15systemTardStateTunnel\x18\x1a \x01(\x0b\x32\x1a.systemTardStateTunnel_msgH\x00\x12/\n\x0fsystemUpdateBuf\x18\x1b \x01(\x0b\x32\x14.systemUpdateBuf_msgH\x00\x12/\n\x15todev_time_ctrl_light\x18\x1c \x01(\x0b\x32\x0e.TimeCtrlLightH\x00\x12\x31\n\x10systemTmpCycleTx\x18\x1d \x01(\x0b\x32\x15.systemTmpCycleTx_msgH\x00\x12\x30\n\x14todev_off_chip_flash\x18\x1e \x01(\x0b\x32\x10.SysOffChipFlashH\x00\x12\x1f\n\x15todev_get_dev_fw_info\x18\x1f \x01(\x05H\x00\x12,\n\x11toapp_dev_fw_info\x18 \x01(\x0b\x32\x0f.device_fw_infoH\x00\x12)\n\x12todev_lora_cfg_req\x18! \x01(\x0b\x32\x0b.LoraCfgReqH\x00\x12)\n\x12toapp_lora_cfg_rsp\x18\" \x01(\x0b\x32\x0b.LoraCfgRspH\x00\x12-\n\x0fmow_to_app_info\x18# \x01(\x0b\x32\x12.mow_to_app_info_tH\x00\x12?\n\x18\x64\x65vice_product_type_info\x18$ \x01(\x0b\x32\x1b.device_product_type_info_tH\x00\x12=\n\x17mow_to_app_qctools_info\x18% \x01(\x0b\x32\x1a.mow_to_app_qctools_info_tH\x00\x12,\n\x10todev_report_cfg\x18& \x01(\x0b\x32\x10.report_info_cfgH\x00\x12.\n\x11toapp_report_data\x18\' \x01(\x0b\x32\x11.report_info_dataH\x00\x12\x31\n\x0esimulation_cmd\x18* \x01(\x0b\x32\x17.mCtrlSimulationCmdDataH\x00\x42\x0b\n\tSubSysMsg*+\n\tOperation\x12\t\n\x05WRITE\x10\x00\x12\x08\n\x04READ\x10\x01\x12\t\n\x05\x45RASE\x10\x02*\x8d\x02\n\tOffPartId\x12\x13\n\x0fOFF_PART_DL_IMG\x10\x00\x12\x19\n\x15OFF_PART_UPDINFO_BACK\x10\x01\x12\x14\n\x10OFF_PART_UPDINFO\x10\x02\x12\x13\n\x0fOFF_PART_NAKEDB\x10\x03\x12\x14\n\x10OFF_PART_FLASHDB\x10\x04\x12\x18\n\x14OFF_PART_UPD_APP_IMG\x10\x05\x12\x18\n\x14OFF_PART_UPD_BMS_IMG\x10\x06\x12\x18\n\x14OFF_PART_UPD_TMP_IMG\x10\x07\x12\x15\n\x11OFF_PART_DEV_INFO\x10\x08\x12\x18\n\x14OFF_PART_NAKEDB_BACK\x10\t\x12\x10\n\x0cOFF_PART_MAX\x10\n*\x95\x07\n\x0bQCAppTestId\x12!\n\x1dQC_APP_ITEM_ON_CHARGESATSTION\x10\x00\x12\x1a\n\x16QC_APP_TEST_X3_SPEAKER\x10\x01\x12)\n%QC_APP_TEST_STATIC_OBSTACLE_DETECTION\x10\x02\x12\"\n\x1eQC_APP_TEST_CHARGESTATION_TEMP\x10\x03\x12\x13\n\x0fQC_APP_ITEM_KEY\x10\x04\x12 \n\x1cQC_APP_TEST_BUMPER_FRONTLEFT\x10\x05\x12!\n\x1dQC_APP_TEST_BUMPER_FRONTRIGHT\x10\x06\x12\x14\n\x10QC_APP_TEST_STOP\x10\x07\x12\x16\n\x12QC_APP_TEST_UNLOCK\x10\x08\x12\x14\n\x10QC_APP_TEST_BUZZ\x10\t\x12\x14\n\x10QC_APP_TEST_LIFT\x10\n\x12\x16\n\x12QC_APP_ITEM_SENEOR\x10\x0b\x12\x19\n\x15QC_APP_TEST_ROLL_LEFT\x10\x0c\x12\x1a\n\x16QC_APP_TEST_ROLL_RIGHT\x10\r\x12\x1d\n\x19QC_APP_TEST_ULTRA_UNCOVER\x10\x0e\x12\x1c\n\x18QC_APP_TEST_ULTRA0_COVER\x10\x0f\x12\x1c\n\x18QC_APP_TEST_ULTRA1_COVER\x10\x10\x12\x1c\n\x18QC_APP_TEST_ULTRA2_COVER\x10\x11\x12\x14\n\x10QC_APP_TEST_RAIN\x10\x12\x12\x12\n\x0eQC_APP_ITEM_SQ\x10\x13\x12\x18\n\x14QC_APP_TEST_BLE_RSSI\x10\x14\x12 \n\x1cQC_APP_TEST_SATELLITES_ROVER\x10\x15\x12)\n%QC_APP_TEST_SATELLITES_REF_STATION_L1\x10\x16\x12)\n%QC_APP_TEST_SATELLITES_REF_STATION_L2\x10\x17\x12&\n\"QC_APP_TEST_SATELLITES_COMMON_VIEW\x10\x18\x12\x19\n\x15QC_APP_TEST_CNO_ROVER\x10\x19\x12\x1f\n\x1bQC_APP_TEST_CNO_REF_STATION\x10\x1a\x12\'\n#QC_APP_TEST_REF_STATION_LINK_STATUS\x10\x1b\x12\x1e\n\x1aQC_APP_TEST_LOCATION_STATE\x10\x1c\x12\x13\n\x0fQC_APP_TEST_MAX\x10\x1d*W\n\rnet_used_type\x12\x16\n\x12NET_USED_TYPE_NONE\x10\x00\x12\x16\n\x12NET_USED_TYPE_WIFI\x10\x01\x12\x16\n\x12NET_USED_TYPE_MNET\x10\x02*\xbf\x01\n\rrpt_info_type\x12\x0f\n\x0bRIT_CONNECT\x10\x00\x12\x0f\n\x0bRIT_DEV_STA\x10\x01\x12\x0b\n\x07RIT_RTK\x10\x02\x12\x11\n\rRIT_DEV_LOCAL\x10\x03\x12\x0c\n\x08RIT_WORK\x10\x04\x12\x0f\n\x0bRIT_FW_INFO\x10\x05\x12\x10\n\x0cRIT_MAINTAIN\x10\x06\x12\x14\n\x10RIT_VISION_POINT\x10\x07\x12\x0b\n\x07RIT_VIO\x10\x08\x12\x18\n\x14RIT_VISION_STATISTIC\x10\t*4\n\x07rpt_act\x12\r\n\tRPT_START\x10\x00\x12\x0c\n\x08RPT_STOP\x10\x01\x12\x0c\n\x08RPT_KEEP\x10\x02\x62\x06proto3')
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!pymammotion/proto/mctrl_sys.proto\x1a\x1fpymammotion/proto/dev_net.proto\"\x1a\n\x08SysBatUp\x12\x0e\n\x06\x62\x61tVal\x18\x01 \x01(\x05\"Z\n\x0cSysWorkState\x12\x13\n\x0b\x64\x65viceState\x18\x01 \x01(\x05\x12\x13\n\x0b\x63hargeState\x18\x02 \x01(\x05\x12\x0e\n\x06\x63mHash\x18\x03 \x01(\x03\x12\x10\n\x08pathHash\x18\x04 \x01(\x03\"5\n\x0eSysSetTimeZone\x12\x11\n\ttimeStamp\x18\x01 \x01(\x05\x12\x10\n\x08timeArea\x18\x02 \x01(\x05\"\x9e\x01\n\x0eSysSetDateTime\x12\x0c\n\x04Year\x18\x01 \x01(\x05\x12\r\n\x05Month\x18\x02 \x01(\x05\x12\x0c\n\x04\x44\x61te\x18\x03 \x01(\x05\x12\x0c\n\x04Week\x18\x04 \x01(\x05\x12\r\n\x05Hours\x18\x05 \x01(\x05\x12\x0f\n\x07Minutes\x18\x06 \x01(\x05\x12\x0f\n\x07Seconds\x18\x07 \x01(\x05\x12\x10\n\x08timeZone\x18\x08 \x01(\x05\x12\x10\n\x08\x64\x61ylight\x18\t \x01(\x05\"V\n\nSysJobPlan\x12\r\n\x05jobId\x18\x01 \x01(\x03\x12\x0f\n\x07jobMode\x18\x02 \x01(\x05\x12\x13\n\x0brainTactics\x18\x03 \x01(\x05\x12\x13\n\x0bknifeHeight\x18\x04 \x01(\x05\"\"\n\rSysDevErrCode\x12\x11\n\terrorCode\x18\x01 \x01(\x05\"!\n\x0cSysBoardType\x12\x11\n\tboardType\x18\x01 \x01(\x05\"5\n\x0cSysSwVersion\x12\x11\n\tboardType\x18\x01 \x01(\x05\x12\x12\n\nversionLen\x18\x02 \x01(\x05\"1\n\rSysDelJobPlan\x12\x10\n\x08\x64\x65viceId\x18\x01 \x01(\t\x12\x0e\n\x06planId\x18\x02 \x01(\t\"\xec\x01\n\x0eSysJobPlanTime\x12\x0e\n\x06planId\x18\x01 \x01(\x03\x12\x16\n\x0estart_job_time\x18\x02 \x01(\x05\x12\x14\n\x0c\x65nd_job_time\x18\x03 \x01(\x05\x12\x13\n\x0btime_in_day\x18\x04 \x01(\x05\x12\x15\n\rjob_plan_mode\x18\x05 \x01(\x05\x12\x17\n\x0fjob_plan_enable\x18\x06 \x01(\x05\x12\x0f\n\x07weekDay\x18\x07 \x03(\x05\x12\x15\n\rtimeInWeekDay\x18\x08 \x03(\x05\x12\x10\n\x08\x65veryDay\x18\t \x01(\x05\x12\x1d\n\x08job_plan\x18\n \x01(\x0b\x32\x0b.SysJobPlan\"k\n\nSysMowInfo\x12\x13\n\x0b\x64\x65viceState\x18\x01 \x01(\x05\x12\x0e\n\x06\x62\x61tVal\x18\x02 \x01(\x05\x12\x13\n\x0bknifeHeight\x18\x03 \x01(\x05\x12\x11\n\tRTKstatus\x18\x04 \x01(\x05\x12\x10\n\x08RTKstars\x18\x05 \x01(\x05\";\n\x0eSysOptiLineAck\x12\x13\n\x0bresponesCmd\x18\x01 \x01(\x05\x12\x14\n\x0c\x63urrentFrame\x18\x02 \x01(\x05\"5\n\nSysCommCmd\x12\n\n\x02rw\x18\x01 \x01(\x05\x12\n\n\x02id\x18\x02 \x01(\x05\x12\x0f\n\x07\x63ontext\x18\x03 \x01(\x05\"H\n\x15SysUploadFileProgress\x12\r\n\x05\x62izId\x18\x01 \x01(\t\x12\x0e\n\x06result\x18\x02 \x01(\x05\x12\x10\n\x08progress\x18\x03 \x01(\x05\"\x1f\n\x0cSysErrorCode\x12\x0f\n\x07\x63ode_no\x18\x01 \x01(\x05\"\x1e\n\tSysBorder\x12\x11\n\tborderval\x18\x01 \x01(\x05\"*\n\x10SysPlanJobStatus\x12\x16\n\x0eplanjob_status\x18\x01 \x01(\x05\"=\n\x0fSysKnifeControl\x12\x14\n\x0cknife_status\x18\x01 \x01(\x05\x12\x14\n\x0cknife_height\x18\x02 \x01(\x05\"+\n\x14SysResetSystemStatus\x12\x13\n\x0breset_staus\x18\x01 \x01(\x05\"\x8a\x01\n\rTimeCtrlLight\x12\x0f\n\x07operate\x18\x01 \x01(\x05\x12\x0e\n\x06\x65nable\x18\x02 \x01(\x05\x12\x12\n\nstart_hour\x18\x03 \x01(\x05\x12\x11\n\tstart_min\x18\x04 \x01(\x05\x12\x10\n\x08\x65nd_hour\x18\x05 \x01(\x05\x12\x0f\n\x07\x65nd_min\x18\x06 \x01(\x05\x12\x0e\n\x06\x61\x63tion\x18\x07 \x01(\x05\"3\n\x10vision_point_msg\x12\t\n\x01x\x18\x01 \x01(\x02\x12\t\n\x01y\x18\x02 \x01(\x02\x12\t\n\x01z\x18\x03 \x01(\x02\"\\\n\x15vision_point_info_msg\x12\r\n\x05lable\x18\x01 \x01(\x05\x12\x0b\n\x03num\x18\x02 \x01(\x05\x12\'\n\x0cvision_point\x18\x03 \x03(\x0b\x32\x11.vision_point_msg\"\x9a\x01\n\x13vio_to_app_info_msg\x12\t\n\x01x\x18\x01 \x01(\x01\x12\t\n\x01y\x18\x02 \x01(\x01\x12\x0f\n\x07heading\x18\x03 \x01(\x01\x12\x11\n\tvio_state\x18\x04 \x01(\x05\x12\x12\n\nbrightness\x18\x05 \x01(\x05\x12\x1a\n\x12\x64\x65tect_feature_num\x18\x06 \x01(\x05\x12\x19\n\x11track_feature_num\x18\x07 \x01(\x05\"1\n\x14vision_statistic_msg\x12\x0c\n\x04mean\x18\x01 \x01(\x02\x12\x0b\n\x03var\x18\x02 \x01(\x02\"m\n\x19vision_statistic_info_msg\x12\x11\n\ttimestamp\x18\x01 \x01(\x01\x12\x0b\n\x03num\x18\x02 \x01(\x05\x12\x30\n\x11vision_statistics\x18\x03 \x03(\x0b\x32\x15.vision_statistic_msg\"\xd3\x01\n\x1asystemRapidStateTunnel_msg\x12\x18\n\x10rapid_state_data\x18\x01 \x03(\x03\x12\x31\n\x11vision_point_info\x18\x02 \x03(\x0b\x32\x16.vision_point_info_msg\x12-\n\x0fvio_to_app_info\x18\x03 \x01(\x0b\x32\x14.vio_to_app_info_msg\x12\x39\n\x15vision_statistic_info\x18\x04 \x01(\x0b\x32\x1a.vision_statistic_info_msg\"4\n\x19systemTardStateTunnel_msg\x12\x17\n\x0ftard_state_data\x18\x01 \x03(\x03\".\n\x13systemUpdateBuf_msg\x12\x17\n\x0fupdate_buf_data\x18\x01 \x03(\x03\"\x9e\x01\n\x0fSysOffChipFlash\x12\x16\n\x02op\x18\x01 \x01(\x0e\x32\n.Operation\x12\x16\n\x02id\x18\x02 \x01(\x0e\x32\n.OffPartId\x12\x12\n\nstart_addr\x18\x03 \x01(\r\x12\x0e\n\x06offset\x18\x04 \x01(\r\x12\x0e\n\x06length\x18\x05 \x01(\x05\x12\x0c\n\x04\x64\x61ta\x18\x06 \x01(\x0c\x12\x0c\n\x04\x63ode\x18\x07 \x01(\x05\x12\x0b\n\x03msg\x18\x08 \x01(\t\"-\n\x14systemTmpCycleTx_msg\x12\x15\n\rcycle_tx_data\x18\x01 \x03(\x03\"%\n\nLoraCfgReq\x12\n\n\x02op\x18\x01 \x01(\x05\x12\x0b\n\x03\x63\x66g\x18\x02 \x01(\t\"F\n\nLoraCfgRsp\x12\x0e\n\x06result\x18\x01 \x01(\x05\x12\n\n\x02op\x18\x02 \x01(\x05\x12\x0b\n\x03\x63\x66g\x18\x03 \x01(\t\x12\x0f\n\x07\x66\x61\x63_cfg\x18\x04 \x01(\t\">\n\x0bmod_fw_info\x12\x0c\n\x04type\x18\x01 \x01(\x05\x12\x10\n\x08identify\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t\"L\n\x0e\x64\x65vice_fw_info\x12\x0e\n\x06result\x18\x01 \x01(\x05\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x19\n\x03mod\x18\x03 \x03(\x0b\x32\x0c.mod_fw_info\"@\n\x11mow_to_app_info_t\x12\x0c\n\x04type\x18\x01 \x01(\x05\x12\x0b\n\x03\x63md\x18\x02 \x01(\x05\x12\x10\n\x08mow_data\x18\x03 \x03(\x05\"a\n\x1a\x64\x65vice_product_type_info_t\x12\x0e\n\x06result\x18\x01 \x01(\x05\x12\x19\n\x11main_product_type\x18\x02 \x01(\t\x12\x18\n\x10sub_product_type\x18\x03 \x01(\t\"P\n\x0fQCAppTestExcept\x12\x13\n\x0b\x65xcept_type\x18\x01 \x01(\t\x12(\n\nconditions\x18\x02 \x03(\x0b\x32\x14.QCAppTestConditions\"t\n\x13QCAppTestConditions\x12\x11\n\tcond_type\x18\x01 \x01(\t\x12\x0f\n\x07int_val\x18\x02 \x01(\x05\x12\x11\n\tfloat_val\x18\x03 \x01(\x02\x12\x12\n\ndouble_val\x18\x04 \x01(\x01\x12\x12\n\nstring_val\x18\x05 \x01(\t\"\x99\x01\n\x19mow_to_app_qctools_info_t\x12\x1a\n\x04type\x18\x01 \x01(\x0e\x32\x0c.QCAppTestId\x12\x16\n\x0etimeOfDuration\x18\x02 \x01(\x05\x12\x0e\n\x06result\x18\x03 \x01(\x05\x12\x16\n\x0eresult_details\x18\x04 \x01(\t\x12 \n\x06\x65xcept\x18\x05 \x03(\x0b\x32\x10.QCAppTestExcept\"O\n\x16mCtrlSimulationCmdData\x12\x0e\n\x06subCmd\x18\x01 \x01(\x05\x12\x10\n\x08param_id\x18\x02 \x01(\x05\x12\x13\n\x0bparam_value\x18\x03 \x03(\x05\"\x8f\x01\n\x08rpt_lora\x12\x16\n\x0epair_code_scan\x18\x01 \x01(\x05\x12\x19\n\x11pair_code_channel\x18\x02 \x01(\x05\x12\x17\n\x0fpair_code_locid\x18\x03 \x01(\x05\x12\x17\n\x0fpair_code_netid\x18\x04 \x01(\x05\x12\x1e\n\x16lora_connection_status\x18\x05 \x01(\x05\"\xf1\x01\n\x07rpt_rtk\x12\x0e\n\x06status\x18\x01 \x01(\x05\x12\x11\n\tpos_level\x18\x02 \x01(\x05\x12\x11\n\tgps_stars\x18\x03 \x01(\x05\x12\x0b\n\x03\x61ge\x18\x04 \x01(\x05\x12\x0f\n\x07lat_std\x18\x05 \x01(\x05\x12\x0f\n\x07lon_std\x18\x06 \x01(\x05\x12\x10\n\x08l2_stars\x18\x07 \x01(\x05\x12\x12\n\ndis_status\x18\x08 \x01(\x03\x12\x17\n\x0ftop4_total_mean\x18\t \x01(\x03\x12\x15\n\rco_view_stars\x18\n \x01(\x05\x12\r\n\x05reset\x18\x0b \x01(\x05\x12\x1c\n\tlora_info\x18\x0c \x01(\x0b\x32\t.rpt_lora\"\x86\x01\n\x10rpt_dev_location\x12\x12\n\nreal_pos_x\x18\x01 \x01(\x05\x12\x12\n\nreal_pos_y\x18\x02 \x01(\x05\x12\x13\n\x0breal_toward\x18\x03 \x01(\x05\x12\x10\n\x08pos_type\x18\x04 \x01(\x05\x12\x11\n\tzone_hash\x18\x05 \x01(\x03\x12\x10\n\x08\x62ol_hash\x18\x06 \x01(\x03\"4\n\x13vio_survival_info_t\x12\x1d\n\x15vio_survival_distance\x18\x01 \x01(\x02\";\n\x12\x63ollector_status_t\x12%\n\x1d\x63ollector_installation_status\x18\x01 \x01(\x05\"\"\n\x0clock_state_t\x12\x12\n\nlock_state\x18\x01 \x01(\r\"\xca\x02\n\x0erpt_dev_status\x12\x12\n\nsys_status\x18\x01 \x01(\x05\x12\x14\n\x0c\x63harge_state\x18\x02 \x01(\x05\x12\x13\n\x0b\x62\x61ttery_val\x18\x03 \x01(\x05\x12\x15\n\rsensor_status\x18\x04 \x01(\x05\x12\x13\n\x0blast_status\x18\x05 \x01(\x05\x12\x16\n\x0esys_time_stamp\x18\x06 \x01(\x03\x12\x14\n\x0cvslam_status\x18\x07 \x01(\x05\x12\x1c\n\tmnet_info\x18\x08 \x01(\x0b\x32\t.MnetInfo\x12/\n\x11vio_survival_info\x18\t \x01(\x0b\x32\x14.vio_survival_info_t\x12-\n\x10\x63ollector_status\x18\n \x01(\x0b\x32\x13.collector_status_t\x12!\n\nlock_state\x18\x0b \x01(\x0b\x32\r.lock_state_t\"\xaa\x01\n\x12rpt_connect_status\x12\x14\n\x0c\x63onnect_type\x18\x01 \x01(\x05\x12\x10\n\x08\x62le_rssi\x18\x02 \x01(\x05\x12\x11\n\twifi_rssi\x18\x03 \x01(\x05\x12\x11\n\tlink_type\x18\x04 \x01(\x05\x12\x11\n\tmnet_rssi\x18\x05 \x01(\x05\x12\x11\n\tmnet_inet\x18\x06 \x01(\x05\x12 \n\x08used_net\x18\x07 \x01(\x0e\x32\x0e.net_used_type\"\xa0\x03\n\x08rpt_work\x12\x0c\n\x04plan\x18\x01 \x01(\x05\x12\x11\n\tpath_hash\x18\x02 \x01(\x03\x12\x10\n\x08progress\x18\x03 \x01(\x05\x12\x0c\n\x04\x61rea\x18\x04 \x01(\x05\x12\x0f\n\x07\x62p_info\x18\x05 \x01(\x05\x12\x0f\n\x07\x62p_hash\x18\x06 \x01(\x03\x12\x10\n\x08\x62p_pos_x\x18\x07 \x01(\x05\x12\x10\n\x08\x62p_pos_y\x18\x08 \x01(\x05\x12\x15\n\rreal_path_num\x18\t \x01(\x03\x12\x12\n\npath_pos_x\x18\n \x01(\x05\x12\x12\n\npath_pos_y\x18\x0b \x01(\x05\x12\x14\n\x0cub_zone_hash\x18\x0c \x01(\x03\x12\x14\n\x0cub_path_hash\x18\r \x01(\x03\x12\x15\n\rinit_cfg_hash\x18\x0e \x01(\x03\x12\x15\n\rub_ecode_hash\x18\x0f \x01(\x03\x12\x14\n\x0cnav_run_mode\x18\x10 \x01(\x05\x12\x18\n\x10test_mode_status\x18\x11 \x01(\x03\x12\x15\n\rman_run_speed\x18\x12 \x01(\x05\x12\x17\n\x0fnav_edit_status\x18\x13 \x01(\x05\x12\x14\n\x0cknife_height\x18\x14 \x01(\x05\"F\n\x0crpt_maintain\x12\x0f\n\x07mileage\x18\x01 \x01(\x03\x12\x11\n\twork_time\x18\x02 \x01(\x05\x12\x12\n\nbat_cycles\x18\x03 \x01(\x05\"\x8f\x01\n\x0freport_info_cfg\x12\x15\n\x03\x61\x63t\x18\x01 \x01(\x0e\x32\x08.rpt_act\x12\x0f\n\x07timeout\x18\x02 \x01(\x05\x12\x0e\n\x06period\x18\x03 \x01(\x05\x12\x18\n\x10no_change_period\x18\x04 \x01(\x05\x12\r\n\x05\x63ount\x18\x05 \x01(\x05\x12\x1b\n\x03sub\x18\x06 \x03(\x0e\x32\x0e.rpt_info_type\"\x8c\x03\n\x10report_info_data\x12$\n\x07\x63onnect\x18\x01 \x01(\x0b\x32\x13.rpt_connect_status\x12\x1c\n\x03\x64\x65v\x18\x02 \x01(\x0b\x32\x0f.rpt_dev_status\x12\x15\n\x03rtk\x18\x03 \x01(\x0b\x32\x08.rpt_rtk\x12$\n\tlocations\x18\x04 \x03(\x0b\x32\x11.rpt_dev_location\x12\x17\n\x04work\x18\x05 \x01(\x0b\x32\t.rpt_work\x12 \n\x07\x66w_info\x18\x06 \x01(\x0b\x32\x0f.device_fw_info\x12\x1f\n\x08maintain\x18\x07 \x01(\x0b\x32\r.rpt_maintain\x12\x31\n\x11vision_point_info\x18\x08 \x03(\x0b\x32\x16.vision_point_info_msg\x12-\n\x0fvio_to_app_info\x18\t \x01(\x0b\x32\x14.vio_to_app_info_msg\x12\x39\n\x15vision_statistic_info\x18\n \x01(\x0b\x32\x1a.vision_statistic_info_msg\"\x9c\x0c\n\x07MctlSys\x12\"\n\rtoapp_batinfo\x18\x01 \x01(\x0b\x32\t.SysBatUpH\x00\x12)\n\x10toapp_work_state\x18\x02 \x01(\x0b\x32\r.SysWorkStateH\x00\x12*\n\x0ftodev_time_zone\x18\x03 \x01(\x0b\x32\x0f.SysSetTimeZoneH\x00\x12*\n\x0ftodev_data_time\x18\x04 \x01(\x0b\x32\x0f.SysSetDateTimeH\x00\x12\x1f\n\x08job_plan\x18\x06 \x01(\x0b\x32\x0b.SysJobPlanH\x00\x12(\n\x0etoapp_err_code\x18\x07 \x01(\x0b\x32\x0e.SysDevErrCodeH\x00\x12.\n\x13todev_job_plan_time\x18\n \x01(\x0b\x32\x0f.SysJobPlanTimeH\x00\x12%\n\x0etoapp_mow_info\x18\x0b \x01(\x0b\x32\x0b.SysMowInfoH\x00\x12&\n\x0f\x62idire_comm_cmd\x18\x0c \x01(\x0b\x32\x0b.SysCommCmdH\x00\x12\x16\n\x0cplan_job_del\x18\x0e \x01(\x03H\x00\x12\x1c\n\x06\x62order\x18\x0f \x01(\x0b\x32\n.SysBorderH\x00\x12.\n\x11toapp_plan_status\x18\x12 \x01(\x0b\x32\x11.SysPlanJobStatusH\x00\x12\x34\n\x12toapp_ul_fprogress\x18\x13 \x01(\x0b\x32\x16.SysUploadFileProgressH\x00\x12*\n\x10todev_deljobplan\x18\x14 \x01(\x0b\x32\x0e.SysDelJobPlanH\x00\x12\x1b\n\x11todev_mow_info_up\x18\x15 \x01(\x05H\x00\x12,\n\x10todev_knife_ctrl\x18\x16 \x01(\x0b\x32\x10.SysKnifeControlH\x00\x12\x1c\n\x12todev_reset_system\x18\x17 \x01(\x05H\x00\x12:\n\x19todev_reset_system_status\x18\x18 \x01(\x0b\x32\x15.SysResetSystemStatusH\x00\x12=\n\x16systemRapidStateTunnel\x18\x19 \x01(\x0b\x32\x1b.systemRapidStateTunnel_msgH\x00\x12;\n\x15systemTardStateTunnel\x18\x1a \x01(\x0b\x32\x1a.systemTardStateTunnel_msgH\x00\x12/\n\x0fsystemUpdateBuf\x18\x1b \x01(\x0b\x32\x14.systemUpdateBuf_msgH\x00\x12/\n\x15todev_time_ctrl_light\x18\x1c \x01(\x0b\x32\x0e.TimeCtrlLightH\x00\x12\x31\n\x10systemTmpCycleTx\x18\x1d \x01(\x0b\x32\x15.systemTmpCycleTx_msgH\x00\x12\x30\n\x14todev_off_chip_flash\x18\x1e \x01(\x0b\x32\x10.SysOffChipFlashH\x00\x12\x1f\n\x15todev_get_dev_fw_info\x18\x1f \x01(\x05H\x00\x12,\n\x11toapp_dev_fw_info\x18 \x01(\x0b\x32\x0f.device_fw_infoH\x00\x12)\n\x12todev_lora_cfg_req\x18! \x01(\x0b\x32\x0b.LoraCfgReqH\x00\x12)\n\x12toapp_lora_cfg_rsp\x18\" \x01(\x0b\x32\x0b.LoraCfgRspH\x00\x12-\n\x0fmow_to_app_info\x18# \x01(\x0b\x32\x12.mow_to_app_info_tH\x00\x12?\n\x18\x64\x65vice_product_type_info\x18$ \x01(\x0b\x32\x1b.device_product_type_info_tH\x00\x12=\n\x17mow_to_app_qctools_info\x18% \x01(\x0b\x32\x1a.mow_to_app_qctools_info_tH\x00\x12,\n\x10todev_report_cfg\x18& \x01(\x0b\x32\x10.report_info_cfgH\x00\x12.\n\x11toapp_report_data\x18\' \x01(\x0b\x32\x11.report_info_dataH\x00\x12\x31\n\x0esimulation_cmd\x18* \x01(\x0b\x32\x17.mCtrlSimulationCmdDataH\x00\x42\x0b\n\tSubSysMsg*+\n\tOperation\x12\t\n\x05WRITE\x10\x00\x12\x08\n\x04READ\x10\x01\x12\t\n\x05\x45RASE\x10\x02*\x8d\x02\n\tOffPartId\x12\x13\n\x0fOFF_PART_DL_IMG\x10\x00\x12\x19\n\x15OFF_PART_UPDINFO_BACK\x10\x01\x12\x14\n\x10OFF_PART_UPDINFO\x10\x02\x12\x13\n\x0fOFF_PART_NAKEDB\x10\x03\x12\x14\n\x10OFF_PART_FLASHDB\x10\x04\x12\x18\n\x14OFF_PART_UPD_APP_IMG\x10\x05\x12\x18\n\x14OFF_PART_UPD_BMS_IMG\x10\x06\x12\x18\n\x14OFF_PART_UPD_TMP_IMG\x10\x07\x12\x15\n\x11OFF_PART_DEV_INFO\x10\x08\x12\x18\n\x14OFF_PART_NAKEDB_BACK\x10\t\x12\x10\n\x0cOFF_PART_MAX\x10\n*\x95\x07\n\x0bQCAppTestId\x12!\n\x1dQC_APP_ITEM_ON_CHARGESATSTION\x10\x00\x12\x1a\n\x16QC_APP_TEST_X3_SPEAKER\x10\x01\x12)\n%QC_APP_TEST_STATIC_OBSTACLE_DETECTION\x10\x02\x12\"\n\x1eQC_APP_TEST_CHARGESTATION_TEMP\x10\x03\x12\x13\n\x0fQC_APP_ITEM_KEY\x10\x04\x12 \n\x1cQC_APP_TEST_BUMPER_FRONTLEFT\x10\x05\x12!\n\x1dQC_APP_TEST_BUMPER_FRONTRIGHT\x10\x06\x12\x14\n\x10QC_APP_TEST_STOP\x10\x07\x12\x16\n\x12QC_APP_TEST_UNLOCK\x10\x08\x12\x14\n\x10QC_APP_TEST_BUZZ\x10\t\x12\x14\n\x10QC_APP_TEST_LIFT\x10\n\x12\x16\n\x12QC_APP_ITEM_SENEOR\x10\x0b\x12\x19\n\x15QC_APP_TEST_ROLL_LEFT\x10\x0c\x12\x1a\n\x16QC_APP_TEST_ROLL_RIGHT\x10\r\x12\x1d\n\x19QC_APP_TEST_ULTRA_UNCOVER\x10\x0e\x12\x1c\n\x18QC_APP_TEST_ULTRA0_COVER\x10\x0f\x12\x1c\n\x18QC_APP_TEST_ULTRA1_COVER\x10\x10\x12\x1c\n\x18QC_APP_TEST_ULTRA2_COVER\x10\x11\x12\x14\n\x10QC_APP_TEST_RAIN\x10\x12\x12\x12\n\x0eQC_APP_ITEM_SQ\x10\x13\x12\x18\n\x14QC_APP_TEST_BLE_RSSI\x10\x14\x12 \n\x1cQC_APP_TEST_SATELLITES_ROVER\x10\x15\x12)\n%QC_APP_TEST_SATELLITES_REF_STATION_L1\x10\x16\x12)\n%QC_APP_TEST_SATELLITES_REF_STATION_L2\x10\x17\x12&\n\"QC_APP_TEST_SATELLITES_COMMON_VIEW\x10\x18\x12\x19\n\x15QC_APP_TEST_CNO_ROVER\x10\x19\x12\x1f\n\x1bQC_APP_TEST_CNO_REF_STATION\x10\x1a\x12\'\n#QC_APP_TEST_REF_STATION_LINK_STATUS\x10\x1b\x12\x1e\n\x1aQC_APP_TEST_LOCATION_STATE\x10\x1c\x12\x13\n\x0fQC_APP_TEST_MAX\x10\x1d*W\n\rnet_used_type\x12\x16\n\x12NET_USED_TYPE_NONE\x10\x00\x12\x16\n\x12NET_USED_TYPE_WIFI\x10\x01\x12\x16\n\x12NET_USED_TYPE_MNET\x10\x02*\xbf\x01\n\rrpt_info_type\x12\x0f\n\x0bRIT_CONNECT\x10\x00\x12\x0f\n\x0bRIT_DEV_STA\x10\x01\x12\x0b\n\x07RIT_RTK\x10\x02\x12\x11\n\rRIT_DEV_LOCAL\x10\x03\x12\x0c\n\x08RIT_WORK\x10\x04\x12\x0f\n\x0bRIT_FW_INFO\x10\x05\x12\x10\n\x0cRIT_MAINTAIN\x10\x06\x12\x14\n\x10RIT_VISION_POINT\x10\x07\x12\x0b\n\x07RIT_VIO\x10\x08\x12\x18\n\x14RIT_VISION_STATISTIC\x10\t*4\n\x07rpt_act\x12\r\n\tRPT_START\x10\x00\x12\x0c\n\x08RPT_STOP\x10\x01\x12\x0c\n\x08RPT_KEEP\x10\x02\x62\x06proto3')
|
|
18
18
|
|
|
19
19
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
20
20
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'pymammotion.proto.mctrl_sys_pb2', globals())
|
|
21
21
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
22
22
|
|
|
23
23
|
DESCRIPTOR._options = None
|
|
24
|
-
_OPERATION._serialized_start=
|
|
25
|
-
_OPERATION._serialized_end=
|
|
26
|
-
_OFFPARTID._serialized_start=
|
|
27
|
-
_OFFPARTID._serialized_end=
|
|
28
|
-
_QCAPPTESTID._serialized_start=
|
|
29
|
-
_QCAPPTESTID._serialized_end=
|
|
30
|
-
_NET_USED_TYPE._serialized_start=
|
|
31
|
-
_NET_USED_TYPE._serialized_end=
|
|
32
|
-
_RPT_INFO_TYPE._serialized_start=
|
|
33
|
-
_RPT_INFO_TYPE._serialized_end=
|
|
34
|
-
_RPT_ACT._serialized_start=
|
|
35
|
-
_RPT_ACT._serialized_end=
|
|
36
|
-
_SYSBATUP._serialized_start=
|
|
37
|
-
_SYSBATUP._serialized_end=
|
|
38
|
-
_SYSWORKSTATE._serialized_start=
|
|
39
|
-
_SYSWORKSTATE._serialized_end=
|
|
40
|
-
_SYSSETTIMEZONE._serialized_start=
|
|
41
|
-
_SYSSETTIMEZONE._serialized_end=
|
|
42
|
-
_SYSSETDATETIME._serialized_start=
|
|
43
|
-
_SYSSETDATETIME._serialized_end=
|
|
44
|
-
_SYSJOBPLAN._serialized_start=
|
|
45
|
-
_SYSJOBPLAN._serialized_end=
|
|
46
|
-
_SYSDEVERRCODE._serialized_start=
|
|
47
|
-
_SYSDEVERRCODE._serialized_end=
|
|
48
|
-
_SYSBOARDTYPE._serialized_start=
|
|
49
|
-
_SYSBOARDTYPE._serialized_end=
|
|
50
|
-
_SYSSWVERSION._serialized_start=
|
|
51
|
-
_SYSSWVERSION._serialized_end=
|
|
52
|
-
_SYSDELJOBPLAN._serialized_start=
|
|
53
|
-
_SYSDELJOBPLAN._serialized_end=
|
|
54
|
-
_SYSJOBPLANTIME._serialized_start=
|
|
55
|
-
_SYSJOBPLANTIME._serialized_end=
|
|
56
|
-
_SYSMOWINFO._serialized_start=
|
|
57
|
-
_SYSMOWINFO._serialized_end=
|
|
58
|
-
_SYSOPTILINEACK._serialized_start=
|
|
59
|
-
_SYSOPTILINEACK._serialized_end=
|
|
60
|
-
_SYSCOMMCMD._serialized_start=
|
|
61
|
-
_SYSCOMMCMD._serialized_end=
|
|
62
|
-
_SYSUPLOADFILEPROGRESS._serialized_start=
|
|
63
|
-
_SYSUPLOADFILEPROGRESS._serialized_end=
|
|
64
|
-
_SYSERRORCODE._serialized_start=
|
|
65
|
-
_SYSERRORCODE._serialized_end=
|
|
66
|
-
_SYSBORDER._serialized_start=
|
|
67
|
-
_SYSBORDER._serialized_end=
|
|
68
|
-
_SYSPLANJOBSTATUS._serialized_start=
|
|
69
|
-
_SYSPLANJOBSTATUS._serialized_end=
|
|
70
|
-
_SYSKNIFECONTROL._serialized_start=
|
|
71
|
-
_SYSKNIFECONTROL._serialized_end=
|
|
72
|
-
_SYSRESETSYSTEMSTATUS._serialized_start=
|
|
73
|
-
_SYSRESETSYSTEMSTATUS._serialized_end=
|
|
74
|
-
_TIMECTRLLIGHT._serialized_start=
|
|
75
|
-
_TIMECTRLLIGHT._serialized_end=
|
|
76
|
-
_VISION_POINT_MSG._serialized_start=
|
|
77
|
-
_VISION_POINT_MSG._serialized_end=
|
|
78
|
-
_VISION_POINT_INFO_MSG._serialized_start=
|
|
79
|
-
_VISION_POINT_INFO_MSG._serialized_end=
|
|
80
|
-
_VIO_TO_APP_INFO_MSG._serialized_start=
|
|
81
|
-
_VIO_TO_APP_INFO_MSG._serialized_end=
|
|
82
|
-
_VISION_STATISTIC_MSG._serialized_start=
|
|
83
|
-
_VISION_STATISTIC_MSG._serialized_end=
|
|
84
|
-
_VISION_STATISTIC_INFO_MSG._serialized_start=
|
|
85
|
-
_VISION_STATISTIC_INFO_MSG._serialized_end=
|
|
86
|
-
_SYSTEMRAPIDSTATETUNNEL_MSG._serialized_start=
|
|
87
|
-
_SYSTEMRAPIDSTATETUNNEL_MSG._serialized_end=
|
|
88
|
-
_SYSTEMTARDSTATETUNNEL_MSG._serialized_start=
|
|
89
|
-
_SYSTEMTARDSTATETUNNEL_MSG._serialized_end=
|
|
90
|
-
_SYSTEMUPDATEBUF_MSG._serialized_start=
|
|
91
|
-
_SYSTEMUPDATEBUF_MSG._serialized_end=
|
|
92
|
-
_SYSOFFCHIPFLASH._serialized_start=
|
|
93
|
-
_SYSOFFCHIPFLASH._serialized_end=
|
|
94
|
-
_SYSTEMTMPCYCLETX_MSG._serialized_start=
|
|
95
|
-
_SYSTEMTMPCYCLETX_MSG._serialized_end=
|
|
96
|
-
_LORACFGREQ._serialized_start=
|
|
97
|
-
_LORACFGREQ._serialized_end=
|
|
98
|
-
_LORACFGRSP._serialized_start=
|
|
99
|
-
_LORACFGRSP._serialized_end=
|
|
100
|
-
_MOD_FW_INFO._serialized_start=
|
|
101
|
-
_MOD_FW_INFO._serialized_end=
|
|
102
|
-
_DEVICE_FW_INFO._serialized_start=
|
|
103
|
-
_DEVICE_FW_INFO._serialized_end=
|
|
104
|
-
_MOW_TO_APP_INFO_T._serialized_start=
|
|
105
|
-
_MOW_TO_APP_INFO_T._serialized_end=
|
|
106
|
-
_DEVICE_PRODUCT_TYPE_INFO_T._serialized_start=
|
|
107
|
-
_DEVICE_PRODUCT_TYPE_INFO_T._serialized_end=
|
|
108
|
-
_QCAPPTESTEXCEPT._serialized_start=
|
|
109
|
-
_QCAPPTESTEXCEPT._serialized_end=
|
|
110
|
-
_QCAPPTESTCONDITIONS._serialized_start=
|
|
111
|
-
_QCAPPTESTCONDITIONS._serialized_end=
|
|
112
|
-
_MOW_TO_APP_QCTOOLS_INFO_T._serialized_start=
|
|
113
|
-
_MOW_TO_APP_QCTOOLS_INFO_T._serialized_end=
|
|
114
|
-
_MCTRLSIMULATIONCMDDATA._serialized_start=
|
|
115
|
-
_MCTRLSIMULATIONCMDDATA._serialized_end=
|
|
116
|
-
_RPT_LORA._serialized_start=
|
|
117
|
-
_RPT_LORA._serialized_end=
|
|
118
|
-
_RPT_RTK._serialized_start=
|
|
119
|
-
_RPT_RTK._serialized_end=
|
|
120
|
-
_RPT_DEV_LOCATION._serialized_start=
|
|
121
|
-
_RPT_DEV_LOCATION._serialized_end=
|
|
122
|
-
_VIO_SURVIVAL_INFO_T._serialized_start=
|
|
123
|
-
_VIO_SURVIVAL_INFO_T._serialized_end=
|
|
124
|
-
_COLLECTOR_STATUS_T._serialized_start=
|
|
125
|
-
_COLLECTOR_STATUS_T._serialized_end=
|
|
126
|
-
_LOCK_STATE_T._serialized_start=
|
|
127
|
-
_LOCK_STATE_T._serialized_end=
|
|
128
|
-
_RPT_DEV_STATUS._serialized_start=
|
|
129
|
-
_RPT_DEV_STATUS._serialized_end=
|
|
130
|
-
_RPT_CONNECT_STATUS._serialized_start=
|
|
131
|
-
_RPT_CONNECT_STATUS._serialized_end=
|
|
132
|
-
_RPT_WORK._serialized_start=
|
|
133
|
-
_RPT_WORK._serialized_end=
|
|
134
|
-
_RPT_MAINTAIN._serialized_start=
|
|
135
|
-
_RPT_MAINTAIN._serialized_end=
|
|
136
|
-
_REPORT_INFO_CFG._serialized_start=
|
|
137
|
-
_REPORT_INFO_CFG._serialized_end=
|
|
138
|
-
_REPORT_INFO_DATA._serialized_start=
|
|
139
|
-
_REPORT_INFO_DATA._serialized_end=
|
|
140
|
-
_MCTLSYS._serialized_start=
|
|
141
|
-
_MCTLSYS._serialized_end=
|
|
24
|
+
_OPERATION._serialized_start=7199
|
|
25
|
+
_OPERATION._serialized_end=7242
|
|
26
|
+
_OFFPARTID._serialized_start=7245
|
|
27
|
+
_OFFPARTID._serialized_end=7514
|
|
28
|
+
_QCAPPTESTID._serialized_start=7517
|
|
29
|
+
_QCAPPTESTID._serialized_end=8434
|
|
30
|
+
_NET_USED_TYPE._serialized_start=8436
|
|
31
|
+
_NET_USED_TYPE._serialized_end=8523
|
|
32
|
+
_RPT_INFO_TYPE._serialized_start=8526
|
|
33
|
+
_RPT_INFO_TYPE._serialized_end=8717
|
|
34
|
+
_RPT_ACT._serialized_start=8719
|
|
35
|
+
_RPT_ACT._serialized_end=8771
|
|
36
|
+
_SYSBATUP._serialized_start=70
|
|
37
|
+
_SYSBATUP._serialized_end=96
|
|
38
|
+
_SYSWORKSTATE._serialized_start=98
|
|
39
|
+
_SYSWORKSTATE._serialized_end=188
|
|
40
|
+
_SYSSETTIMEZONE._serialized_start=190
|
|
41
|
+
_SYSSETTIMEZONE._serialized_end=243
|
|
42
|
+
_SYSSETDATETIME._serialized_start=246
|
|
43
|
+
_SYSSETDATETIME._serialized_end=404
|
|
44
|
+
_SYSJOBPLAN._serialized_start=406
|
|
45
|
+
_SYSJOBPLAN._serialized_end=492
|
|
46
|
+
_SYSDEVERRCODE._serialized_start=494
|
|
47
|
+
_SYSDEVERRCODE._serialized_end=528
|
|
48
|
+
_SYSBOARDTYPE._serialized_start=530
|
|
49
|
+
_SYSBOARDTYPE._serialized_end=563
|
|
50
|
+
_SYSSWVERSION._serialized_start=565
|
|
51
|
+
_SYSSWVERSION._serialized_end=618
|
|
52
|
+
_SYSDELJOBPLAN._serialized_start=620
|
|
53
|
+
_SYSDELJOBPLAN._serialized_end=669
|
|
54
|
+
_SYSJOBPLANTIME._serialized_start=672
|
|
55
|
+
_SYSJOBPLANTIME._serialized_end=908
|
|
56
|
+
_SYSMOWINFO._serialized_start=910
|
|
57
|
+
_SYSMOWINFO._serialized_end=1017
|
|
58
|
+
_SYSOPTILINEACK._serialized_start=1019
|
|
59
|
+
_SYSOPTILINEACK._serialized_end=1078
|
|
60
|
+
_SYSCOMMCMD._serialized_start=1080
|
|
61
|
+
_SYSCOMMCMD._serialized_end=1133
|
|
62
|
+
_SYSUPLOADFILEPROGRESS._serialized_start=1135
|
|
63
|
+
_SYSUPLOADFILEPROGRESS._serialized_end=1207
|
|
64
|
+
_SYSERRORCODE._serialized_start=1209
|
|
65
|
+
_SYSERRORCODE._serialized_end=1240
|
|
66
|
+
_SYSBORDER._serialized_start=1242
|
|
67
|
+
_SYSBORDER._serialized_end=1272
|
|
68
|
+
_SYSPLANJOBSTATUS._serialized_start=1274
|
|
69
|
+
_SYSPLANJOBSTATUS._serialized_end=1316
|
|
70
|
+
_SYSKNIFECONTROL._serialized_start=1318
|
|
71
|
+
_SYSKNIFECONTROL._serialized_end=1379
|
|
72
|
+
_SYSRESETSYSTEMSTATUS._serialized_start=1381
|
|
73
|
+
_SYSRESETSYSTEMSTATUS._serialized_end=1424
|
|
74
|
+
_TIMECTRLLIGHT._serialized_start=1427
|
|
75
|
+
_TIMECTRLLIGHT._serialized_end=1565
|
|
76
|
+
_VISION_POINT_MSG._serialized_start=1567
|
|
77
|
+
_VISION_POINT_MSG._serialized_end=1618
|
|
78
|
+
_VISION_POINT_INFO_MSG._serialized_start=1620
|
|
79
|
+
_VISION_POINT_INFO_MSG._serialized_end=1712
|
|
80
|
+
_VIO_TO_APP_INFO_MSG._serialized_start=1715
|
|
81
|
+
_VIO_TO_APP_INFO_MSG._serialized_end=1869
|
|
82
|
+
_VISION_STATISTIC_MSG._serialized_start=1871
|
|
83
|
+
_VISION_STATISTIC_MSG._serialized_end=1920
|
|
84
|
+
_VISION_STATISTIC_INFO_MSG._serialized_start=1922
|
|
85
|
+
_VISION_STATISTIC_INFO_MSG._serialized_end=2031
|
|
86
|
+
_SYSTEMRAPIDSTATETUNNEL_MSG._serialized_start=2034
|
|
87
|
+
_SYSTEMRAPIDSTATETUNNEL_MSG._serialized_end=2245
|
|
88
|
+
_SYSTEMTARDSTATETUNNEL_MSG._serialized_start=2247
|
|
89
|
+
_SYSTEMTARDSTATETUNNEL_MSG._serialized_end=2299
|
|
90
|
+
_SYSTEMUPDATEBUF_MSG._serialized_start=2301
|
|
91
|
+
_SYSTEMUPDATEBUF_MSG._serialized_end=2347
|
|
92
|
+
_SYSOFFCHIPFLASH._serialized_start=2350
|
|
93
|
+
_SYSOFFCHIPFLASH._serialized_end=2508
|
|
94
|
+
_SYSTEMTMPCYCLETX_MSG._serialized_start=2510
|
|
95
|
+
_SYSTEMTMPCYCLETX_MSG._serialized_end=2555
|
|
96
|
+
_LORACFGREQ._serialized_start=2557
|
|
97
|
+
_LORACFGREQ._serialized_end=2594
|
|
98
|
+
_LORACFGRSP._serialized_start=2596
|
|
99
|
+
_LORACFGRSP._serialized_end=2666
|
|
100
|
+
_MOD_FW_INFO._serialized_start=2668
|
|
101
|
+
_MOD_FW_INFO._serialized_end=2730
|
|
102
|
+
_DEVICE_FW_INFO._serialized_start=2732
|
|
103
|
+
_DEVICE_FW_INFO._serialized_end=2808
|
|
104
|
+
_MOW_TO_APP_INFO_T._serialized_start=2810
|
|
105
|
+
_MOW_TO_APP_INFO_T._serialized_end=2874
|
|
106
|
+
_DEVICE_PRODUCT_TYPE_INFO_T._serialized_start=2876
|
|
107
|
+
_DEVICE_PRODUCT_TYPE_INFO_T._serialized_end=2973
|
|
108
|
+
_QCAPPTESTEXCEPT._serialized_start=2975
|
|
109
|
+
_QCAPPTESTEXCEPT._serialized_end=3055
|
|
110
|
+
_QCAPPTESTCONDITIONS._serialized_start=3057
|
|
111
|
+
_QCAPPTESTCONDITIONS._serialized_end=3173
|
|
112
|
+
_MOW_TO_APP_QCTOOLS_INFO_T._serialized_start=3176
|
|
113
|
+
_MOW_TO_APP_QCTOOLS_INFO_T._serialized_end=3329
|
|
114
|
+
_MCTRLSIMULATIONCMDDATA._serialized_start=3331
|
|
115
|
+
_MCTRLSIMULATIONCMDDATA._serialized_end=3410
|
|
116
|
+
_RPT_LORA._serialized_start=3413
|
|
117
|
+
_RPT_LORA._serialized_end=3556
|
|
118
|
+
_RPT_RTK._serialized_start=3559
|
|
119
|
+
_RPT_RTK._serialized_end=3800
|
|
120
|
+
_RPT_DEV_LOCATION._serialized_start=3803
|
|
121
|
+
_RPT_DEV_LOCATION._serialized_end=3937
|
|
122
|
+
_VIO_SURVIVAL_INFO_T._serialized_start=3939
|
|
123
|
+
_VIO_SURVIVAL_INFO_T._serialized_end=3991
|
|
124
|
+
_COLLECTOR_STATUS_T._serialized_start=3993
|
|
125
|
+
_COLLECTOR_STATUS_T._serialized_end=4052
|
|
126
|
+
_LOCK_STATE_T._serialized_start=4054
|
|
127
|
+
_LOCK_STATE_T._serialized_end=4088
|
|
128
|
+
_RPT_DEV_STATUS._serialized_start=4091
|
|
129
|
+
_RPT_DEV_STATUS._serialized_end=4421
|
|
130
|
+
_RPT_CONNECT_STATUS._serialized_start=4424
|
|
131
|
+
_RPT_CONNECT_STATUS._serialized_end=4594
|
|
132
|
+
_RPT_WORK._serialized_start=4597
|
|
133
|
+
_RPT_WORK._serialized_end=5013
|
|
134
|
+
_RPT_MAINTAIN._serialized_start=5015
|
|
135
|
+
_RPT_MAINTAIN._serialized_end=5085
|
|
136
|
+
_REPORT_INFO_CFG._serialized_start=5088
|
|
137
|
+
_REPORT_INFO_CFG._serialized_end=5231
|
|
138
|
+
_REPORT_INFO_DATA._serialized_start=5234
|
|
139
|
+
_REPORT_INFO_DATA._serialized_end=5630
|
|
140
|
+
_MCTLSYS._serialized_start=5633
|
|
141
|
+
_MCTLSYS._serialized_end=7197
|
|
142
142
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -210,6 +210,20 @@ class WorkMode:
|
|
|
210
210
|
|
|
211
211
|
|
|
212
212
|
def device_mode(value):
|
|
213
|
+
"""Return the mode corresponding to the given value.
|
|
214
|
+
|
|
215
|
+
This function takes a value and returns the corresponding mode from a
|
|
216
|
+
predefined dictionary.
|
|
217
|
+
|
|
218
|
+
Args:
|
|
219
|
+
value (int): The value for which mode needs to be determined.
|
|
220
|
+
|
|
221
|
+
Returns:
|
|
222
|
+
str: The mode corresponding to the input value. Returns "Invalid mode" if no
|
|
223
|
+
mode is found.
|
|
224
|
+
|
|
225
|
+
"""
|
|
226
|
+
|
|
213
227
|
modes = {
|
|
214
228
|
0: "MODE_NOT_ACTIVE",
|
|
215
229
|
1: "MODE_ONLINE",
|
|
@@ -6,6 +6,19 @@ class DatatypeConverter:
|
|
|
6
6
|
|
|
7
7
|
@staticmethod
|
|
8
8
|
def init_encode_map():
|
|
9
|
+
"""Initialize the encode map for DatatypeConverter if it is not already
|
|
10
|
+
initialized.
|
|
11
|
+
|
|
12
|
+
This function initializes the encode map for DatatypeConverter by
|
|
13
|
+
creating a list of 64 elements and populating it with characters for
|
|
14
|
+
encoding. If the encode map is already initialized, it returns the
|
|
15
|
+
existing encode map.
|
|
16
|
+
|
|
17
|
+
Returns:
|
|
18
|
+
list: The encode map for DatatypeConverter.
|
|
19
|
+
|
|
20
|
+
"""
|
|
21
|
+
|
|
9
22
|
if DatatypeConverter.encode_map is None:
|
|
10
23
|
cArr = [0] * 64
|
|
11
24
|
for i in range(26):
|
|
@@ -33,6 +46,21 @@ class DatatypeConverter:
|
|
|
33
46
|
|
|
34
47
|
@staticmethod
|
|
35
48
|
def _printBase64Binary(bArr, i=0, i2=None):
|
|
49
|
+
"""Print the Base64 binary representation of a byte array.
|
|
50
|
+
|
|
51
|
+
This function takes a byte array and optional start and end indices to
|
|
52
|
+
print the Base64 binary representation.
|
|
53
|
+
|
|
54
|
+
Args:
|
|
55
|
+
bArr (list): A list of bytes to be converted to Base64 binary.
|
|
56
|
+
i (int): The starting index of the byte array (default is 0).
|
|
57
|
+
i2 (int): The ending index of the byte array (default is the length of bArr).
|
|
58
|
+
|
|
59
|
+
Returns:
|
|
60
|
+
str: The Base64 binary representation of the input byte array.
|
|
61
|
+
|
|
62
|
+
"""
|
|
63
|
+
|
|
36
64
|
if i2 is None:
|
|
37
65
|
i2 = len(bArr)
|
|
38
66
|
cArr = [""] * (((i2 + 2) // 3) * 4)
|
|
@@ -41,15 +69,32 @@ class DatatypeConverter:
|
|
|
41
69
|
|
|
42
70
|
@staticmethod
|
|
43
71
|
def _printBase64Binary_core(bArr, i, i2, cArr, i3):
|
|
72
|
+
"""Encode binary data into Base64 format.
|
|
73
|
+
|
|
74
|
+
This function encodes binary data into Base64 format following the
|
|
75
|
+
Base64 encoding algorithm.
|
|
76
|
+
|
|
77
|
+
Args:
|
|
78
|
+
bArr (list): List of binary data to be encoded.
|
|
79
|
+
i (int): Starting index of the binary data to be encoded.
|
|
80
|
+
i2 (int): Length of binary data to be encoded.
|
|
81
|
+
cArr (list): List to store the encoded Base64 characters.
|
|
82
|
+
i3 (int): Starting index in the cArr to store the encoded characters.
|
|
83
|
+
|
|
84
|
+
Returns:
|
|
85
|
+
int: The index in cArr where encoding ends.
|
|
86
|
+
|
|
87
|
+
Note:
|
|
88
|
+
This function assumes that DatatypeConverter has a method 'encode' and
|
|
89
|
+
'init_encode_map' for encoding.
|
|
90
|
+
|
|
91
|
+
"""
|
|
92
|
+
|
|
44
93
|
DatatypeConverter.init_encode_map() # Ensure encode_map is initialized
|
|
45
94
|
while i2 >= 3:
|
|
46
95
|
cArr[i3] = DatatypeConverter.encode(bArr[i] >> 2)
|
|
47
|
-
cArr[i3 + 1] = DatatypeConverter.encode(
|
|
48
|
-
|
|
49
|
-
)
|
|
50
|
-
cArr[i3 + 2] = DatatypeConverter.encode(
|
|
51
|
-
((bArr[i + 1] & 15) << 2) | ((bArr[i + 2] >> 6) & 3)
|
|
52
|
-
)
|
|
96
|
+
cArr[i3 + 1] = DatatypeConverter.encode(((bArr[i] & 3) << 4) | ((bArr[i + 1] >> 4) & 15))
|
|
97
|
+
cArr[i3 + 2] = DatatypeConverter.encode(((bArr[i + 1] & 15) << 2) | ((bArr[i + 2] >> 6) & 3))
|
|
53
98
|
cArr[i3 + 3] = DatatypeConverter.encode(bArr[i + 2] & 63)
|
|
54
99
|
i2 -= 3
|
|
55
100
|
i += 3
|
|
@@ -63,9 +108,7 @@ class DatatypeConverter:
|
|
|
63
108
|
|
|
64
109
|
if i2 == 2:
|
|
65
110
|
cArr[i3] = DatatypeConverter.encode(bArr[i] >> 2)
|
|
66
|
-
cArr[i3 + 1] = DatatypeConverter.encode(
|
|
67
|
-
((bArr[i] & 3) << 4) | ((bArr[i + 1] >> 4) & 15)
|
|
68
|
-
)
|
|
111
|
+
cArr[i3 + 1] = DatatypeConverter.encode(((bArr[i] & 3) << 4) | ((bArr[i + 1] >> 4) & 15))
|
|
69
112
|
cArr[i3 + 2] = DatatypeConverter.encode((bArr[i + 1] & 15) << 2)
|
|
70
113
|
cArr[i3 + 3] = "="
|
|
71
114
|
|
|
@@ -30,6 +30,19 @@ class DeviceType(Enum):
|
|
|
30
30
|
|
|
31
31
|
@staticmethod
|
|
32
32
|
def valueof(value):
|
|
33
|
+
"""Return the corresponding DeviceType based on the input value.
|
|
34
|
+
|
|
35
|
+
This function takes an integer value as input and returns the
|
|
36
|
+
corresponding DeviceType enum value.
|
|
37
|
+
|
|
38
|
+
Args:
|
|
39
|
+
value (int): An integer representing the device type.
|
|
40
|
+
|
|
41
|
+
Returns:
|
|
42
|
+
DeviceType: The corresponding DeviceType enum value based on the input value.
|
|
43
|
+
|
|
44
|
+
"""
|
|
45
|
+
|
|
33
46
|
if value == 0:
|
|
34
47
|
return DeviceType.RTK
|
|
35
48
|
elif value == 1:
|
|
@@ -43,6 +56,18 @@ class DeviceType(Enum):
|
|
|
43
56
|
|
|
44
57
|
@staticmethod
|
|
45
58
|
def value_of_str(device_name, product_key=""):
|
|
59
|
+
"""Determine the type of device based on the provided device name and
|
|
60
|
+
product key.
|
|
61
|
+
|
|
62
|
+
Args:
|
|
63
|
+
device_name (str): The name of the device.
|
|
64
|
+
product_key (str?): The product key associated with the device. Defaults to "".
|
|
65
|
+
|
|
66
|
+
Returns:
|
|
67
|
+
DeviceType: The type of device based on the provided information.
|
|
68
|
+
|
|
69
|
+
"""
|
|
70
|
+
|
|
46
71
|
if not device_name and not product_key:
|
|
47
72
|
return DeviceType.UNKNOWN
|
|
48
73
|
|
|
@@ -50,21 +75,13 @@ class DeviceType(Enum):
|
|
|
50
75
|
substring = device_name[:3]
|
|
51
76
|
substring2 = device_name[:7]
|
|
52
77
|
|
|
53
|
-
if DeviceType.RTK.name in substring or DeviceType.contain_rtk_product_key(
|
|
54
|
-
product_key
|
|
55
|
-
):
|
|
78
|
+
if DeviceType.RTK.name in substring or DeviceType.contain_rtk_product_key(product_key):
|
|
56
79
|
return DeviceType.RTK
|
|
57
|
-
elif (
|
|
58
|
-
DeviceType.LUBA_2.name in substring2
|
|
59
|
-
or DeviceType.contain_luba_2_product_key(product_key)
|
|
60
|
-
):
|
|
80
|
+
elif DeviceType.LUBA_2.name in substring2 or DeviceType.contain_luba_2_product_key(product_key):
|
|
61
81
|
return DeviceType.LUBA_2
|
|
62
82
|
elif DeviceType.LUBA_YUKA.name in substring2:
|
|
63
83
|
return DeviceType.LUBA_YUKA
|
|
64
|
-
elif (
|
|
65
|
-
DeviceType.LUBA.name in substring2
|
|
66
|
-
or DeviceType.contain_luba_product_key(product_key)
|
|
67
|
-
):
|
|
84
|
+
elif DeviceType.LUBA.name in substring2 or DeviceType.contain_luba_product_key(product_key):
|
|
68
85
|
return DeviceType.LUBA
|
|
69
86
|
else:
|
|
70
87
|
return DeviceType.UNKNOWN
|
|
@@ -73,6 +90,22 @@ class DeviceType(Enum):
|
|
|
73
90
|
|
|
74
91
|
@staticmethod
|
|
75
92
|
def has_4g(device_name, product_key=""):
|
|
93
|
+
"""Check if the device has 4G capability based on the device name and
|
|
94
|
+
optional product key.
|
|
95
|
+
|
|
96
|
+
This function determines the device type based on the device name and
|
|
97
|
+
product key (if provided). It then checks if the device type has a value
|
|
98
|
+
greater than or equal to the 4G threshold.
|
|
99
|
+
|
|
100
|
+
Args:
|
|
101
|
+
device_name (str): The name of the device.
|
|
102
|
+
product_key (str?): The product key associated with the device. Defaults to "".
|
|
103
|
+
|
|
104
|
+
Returns:
|
|
105
|
+
bool: True if the device has 4G capability, False otherwise.
|
|
106
|
+
|
|
107
|
+
"""
|
|
108
|
+
|
|
76
109
|
if not product_key:
|
|
77
110
|
device_type = DeviceType.value_of_str(device_name)
|
|
78
111
|
else:
|
|
@@ -82,6 +115,21 @@ class DeviceType(Enum):
|
|
|
82
115
|
|
|
83
116
|
@staticmethod
|
|
84
117
|
def is_luba1(device_name, product_key=""):
|
|
118
|
+
"""Check if the given device is of type LUBA.
|
|
119
|
+
|
|
120
|
+
This function determines if the device specified by 'device_name' is of
|
|
121
|
+
type LUBA. If 'product_key' is provided, it is used to further identify
|
|
122
|
+
the device type.
|
|
123
|
+
|
|
124
|
+
Args:
|
|
125
|
+
device_name (str): The name of the device.
|
|
126
|
+
product_key (str?): The product key associated with the device. Defaults to "".
|
|
127
|
+
|
|
128
|
+
Returns:
|
|
129
|
+
bool: True if the device is of type LUBA, False otherwise.
|
|
130
|
+
|
|
131
|
+
"""
|
|
132
|
+
|
|
85
133
|
if not product_key:
|
|
86
134
|
device_type = DeviceType.value_of_str(device_name)
|
|
87
135
|
else:
|
|
@@ -91,6 +139,18 @@ class DeviceType(Enum):
|
|
|
91
139
|
|
|
92
140
|
@staticmethod
|
|
93
141
|
def is_luba_2(device_name, product_key=""):
|
|
142
|
+
"""Check if the device type is LUBA 2 or higher based on the device name
|
|
143
|
+
and optional product key.
|
|
144
|
+
|
|
145
|
+
Args:
|
|
146
|
+
device_name (str): The name of the device.
|
|
147
|
+
product_key (str?): The product key associated with the device. Defaults to "".
|
|
148
|
+
|
|
149
|
+
Returns:
|
|
150
|
+
bool: True if the device type is LUBA 2 or higher, False otherwise.
|
|
151
|
+
|
|
152
|
+
"""
|
|
153
|
+
|
|
94
154
|
if not product_key:
|
|
95
155
|
device_type = DeviceType.value_of_str(device_name)
|
|
96
156
|
else:
|
|
@@ -100,32 +160,71 @@ class DeviceType(Enum):
|
|
|
100
160
|
|
|
101
161
|
@staticmethod
|
|
102
162
|
def is_yuka(device_name):
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
163
|
+
"""Check if the given device name corresponds to a LUBA_YUKA device type.
|
|
164
|
+
|
|
165
|
+
Args:
|
|
166
|
+
device_name (str): The name of the device to be checked.
|
|
167
|
+
|
|
168
|
+
Returns:
|
|
169
|
+
bool: True if the device type is LUBA_YUKA, False otherwise.
|
|
170
|
+
|
|
171
|
+
"""
|
|
172
|
+
|
|
173
|
+
return DeviceType.value_of_str(device_name).get_value() == DeviceType.LUBA_YUKA.get_value()
|
|
107
174
|
|
|
108
175
|
@staticmethod
|
|
109
176
|
def is_rtk(device_name, product_key=""):
|
|
177
|
+
"""Check if the device type is within the range of RTK devices.
|
|
178
|
+
|
|
179
|
+
This function determines if the device type corresponding to the given
|
|
180
|
+
device name and optional product key falls within the range of RTK
|
|
181
|
+
(Real-Time Kinematic) devices.
|
|
182
|
+
|
|
183
|
+
Args:
|
|
184
|
+
device_name (str): The name of the device.
|
|
185
|
+
product_key (str?): The product key associated with the device. Defaults to "".
|
|
186
|
+
|
|
187
|
+
Returns:
|
|
188
|
+
bool: True if the device type is within the RTK range, False otherwise.
|
|
189
|
+
|
|
190
|
+
"""
|
|
191
|
+
|
|
110
192
|
if not product_key:
|
|
111
193
|
device_type = DeviceType.value_of_str(device_name)
|
|
112
194
|
else:
|
|
113
195
|
device_type = DeviceType.value_of_str(device_name, product_key)
|
|
114
196
|
|
|
115
|
-
return (
|
|
116
|
-
DeviceType.RTK.get_value()
|
|
117
|
-
<= device_type.get_value()
|
|
118
|
-
< DeviceType.LUBA.get_value()
|
|
119
|
-
)
|
|
197
|
+
return DeviceType.RTK.get_value() <= device_type.get_value() < DeviceType.LUBA.get_value()
|
|
120
198
|
|
|
121
199
|
@staticmethod
|
|
122
200
|
def contain_rtk_product_key(product_key):
|
|
201
|
+
"""Check if the given product key is in a predefined list of RTK product
|
|
202
|
+
keys.
|
|
203
|
+
|
|
204
|
+
Args:
|
|
205
|
+
product_key (str): The product key to be checked.
|
|
206
|
+
|
|
207
|
+
Returns:
|
|
208
|
+
bool: True if the product key is in the predefined list, False otherwise.
|
|
209
|
+
|
|
210
|
+
"""
|
|
211
|
+
|
|
123
212
|
if not product_key:
|
|
124
213
|
return False
|
|
125
214
|
return product_key in ["a1qXkZ5P39W", "a1Nc68bGZzX"]
|
|
126
215
|
|
|
127
216
|
@staticmethod
|
|
128
217
|
def contain_luba_product_key(product_key):
|
|
218
|
+
"""Check if the given product key is in the list of valid product keys.
|
|
219
|
+
|
|
220
|
+
Args:
|
|
221
|
+
product_key (str): The product key to be checked.
|
|
222
|
+
|
|
223
|
+
Returns:
|
|
224
|
+
bool: True if the product key is in the list of valid keys, False otherwise.
|
|
225
|
+
|
|
226
|
+
"""
|
|
227
|
+
|
|
129
228
|
if not product_key:
|
|
130
229
|
return False
|
|
131
230
|
return product_key in [
|
|
@@ -144,6 +243,16 @@ class DeviceType(Enum):
|
|
|
144
243
|
|
|
145
244
|
@staticmethod
|
|
146
245
|
def contain_luba_2_product_key(product_key):
|
|
246
|
+
"""Check if the given product key is present in a predefined list.
|
|
247
|
+
|
|
248
|
+
Args:
|
|
249
|
+
product_key (str): The product key to be checked.
|
|
250
|
+
|
|
251
|
+
Returns:
|
|
252
|
+
bool: True if the product key is in the predefined list, False otherwise.
|
|
253
|
+
|
|
254
|
+
"""
|
|
255
|
+
|
|
147
256
|
if not product_key:
|
|
148
257
|
return False
|
|
149
258
|
return product_key in ["a1iMygIwxFC", "a1LLmy1zc0j", "a1LLmy1zc0j"]
|