pymammotion 0.4.0b7__py3-none-any.whl → 0.4.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. pymammotion/bluetooth/ble_message.py +6 -7
  2. pymammotion/data/model/device.py +2 -7
  3. pymammotion/data/model/hash_list.py +84 -10
  4. pymammotion/data/model/raw_data.py +1 -8
  5. pymammotion/data/state_manager.py +30 -10
  6. pymammotion/mammotion/commands/abstract_message.py +2 -2
  7. pymammotion/mammotion/commands/messages/driver.py +27 -20
  8. pymammotion/mammotion/commands/messages/media.py +13 -14
  9. pymammotion/mammotion/commands/messages/navigation.py +16 -13
  10. pymammotion/mammotion/commands/messages/network.py +13 -10
  11. pymammotion/mammotion/commands/messages/ota.py +9 -14
  12. pymammotion/mammotion/commands/messages/system.py +36 -25
  13. pymammotion/mammotion/commands/messages/video.py +8 -10
  14. pymammotion/mammotion/devices/base.py +10 -10
  15. pymammotion/mammotion/devices/mammotion.py +18 -14
  16. pymammotion/mammotion/devices/mammotion_bluetooth.py +2 -3
  17. pymammotion/mammotion/devices/mammotion_cloud.py +1 -2
  18. pymammotion/mqtt/linkkit/__init__.py +5 -0
  19. pymammotion/mqtt/linkkit/h2client.py +585 -0
  20. pymammotion/mqtt/linkkit/linkkit.py +3020 -0
  21. pymammotion/mqtt/mammotion_mqtt.py +2 -2
  22. pymammotion/proto/__init__.py +2174 -1
  23. pymammotion/proto/luba_mul_pb2.py +8 -8
  24. pymammotion/proto/luba_mul_pb2.pyi +1 -0
  25. pymammotion/proto/mctrl_nav.proto +3 -3
  26. pymammotion/proto/mctrl_nav_pb2.py +69 -67
  27. pymammotion/proto/mctrl_nav_pb2.pyi +13 -5
  28. pymammotion/proto/mctrl_sys_pb2.py +41 -37
  29. pymammotion/proto/mctrl_sys_pb2.pyi +34 -11
  30. pymammotion/utility/device_config.py +2 -2
  31. {pymammotion-0.4.0b7.dist-info → pymammotion-0.4.1.dist-info}/METADATA +2 -3
  32. {pymammotion-0.4.0b7.dist-info → pymammotion-0.4.1.dist-info}/RECORD +34 -41
  33. pymammotion/proto/basestation.py +0 -59
  34. pymammotion/proto/common.py +0 -12
  35. pymammotion/proto/dev_net.py +0 -381
  36. pymammotion/proto/luba_msg.py +0 -81
  37. pymammotion/proto/luba_mul.py +0 -77
  38. pymammotion/proto/mctrl_driver.py +0 -100
  39. pymammotion/proto/mctrl_nav.py +0 -664
  40. pymammotion/proto/mctrl_ota.py +0 -48
  41. pymammotion/proto/mctrl_pept.py +0 -41
  42. pymammotion/proto/mctrl_sys.py +0 -574
  43. {pymammotion-0.4.0b7.dist-info → pymammotion-0.4.1.dist-info}/LICENSE +0 -0
  44. {pymammotion-0.4.0b7.dist-info → pymammotion-0.4.1.dist-info}/WHEEL +0 -0
@@ -10,14 +10,14 @@ import logging
10
10
  from logging import getLogger
11
11
 
12
12
  import betterproto
13
- from linkkit.linkkit import LinkKit
14
13
  from paho.mqtt.client import MQTTMessage
15
14
 
16
15
  from pymammotion.aliyun.cloud_gateway import CloudIOTGateway
17
16
  from pymammotion.data.mqtt.event import ThingEventMessage
18
17
  from pymammotion.data.mqtt.properties import ThingPropertiesMessage
19
18
  from pymammotion.data.mqtt.status import ThingStatusMessage
20
- from pymammotion.proto.luba_msg import LubaMsg
19
+ from pymammotion.mqtt.linkkit.linkkit import LinkKit
20
+ from pymammotion.proto import LubaMsg
21
21
 
22
22
  logger = getLogger(__name__)
23
23