跳到主要内容

Device Management

Overview

The device management function supports devices reporting topology information to the cloud, pushing device properties, and the cloud setting properties of the device. This allows users to view and adjust device status on the cloud more conveniently, facilitating work.

Interactive Timing Diagram

Detailed API Realization

  • Aircraft Device Properties

  • Dock Device Properties

  • Device Management (MQTT)

    • Device Topology Update
      Gateway devices report the connection and disconnection with sub-devices to the cloud, updating the online and offline status of sub-devices. Please refer to the product support section for the values of type and sub_type in the protocol.

    • Device Property Push
      Device properties are divided into fixed-frequency data (osd) and status data (state), with osd properties reported at a fixed frequency of 0.5 HZ, and state properties reported when there is a change. Different device properties have different handling strategies, using different topics for reporting. Device properties are introduced in the Aircraft Device Properties, Dock Device Properties, and Remote Controller Device Properties sections.

    • Set Device Properties

      • Currently, the setting of device properties does not cover all properties, but we plan to gradually implement this in the future.
      • In the device property section, the read-write status of a property is indicated by “accessMode”, with “rw” indicating that the property can be set.
      • Setting device properties only supports setting one property field at a time. For example, the aircraft distance limit status (distance_limit_status) property includes whether distance limit is enabled (state) and distance limit (distance-limit) fields. When setting the aircraft distance limit status property, the setting command needs to be sent twice.