Gateway

2022-08-19
No Rating

Note: Remote Control and DJI Dock belong to the thing model of the gateway.

Properties

  • PushMode = 0: The device side will publish messages with a specific frequency.
  • PushMode = 1: The device side will not publish at regular intervals. If the Property changes, it will be published to the server immediately.
  • PushMode = 2: The device side will not publish at regular intervals. If the Property changes, the server is not notified and needs to obtain it itself.
PropertiesNameDescriptionPush ModeData Type
live_statusLive Video StreamPublish live status every two seconds. Live broadcast duration, video rating, bandwidth quality, etc.0struct
live_capacityReport live broadcast capabilityPublish the current live capability of the gateway device.1struct
longitudelongitudeThe longitude of the gateway device.0double
latitudelatitudeThe latitude of the gateway device.0double
capacity_percentPercentage of current power remainingPercentage of current power remaining.0int
wireless_link_stateTransmission signal qualityTransmission signal quality.0struct
transmission_signal_qualityTransmission signal qualityTransmission signal quality0int
firmware_versionFirmware versionThe firmware version of the gateway device.1text

Wireless Link State

{
    "frequency_band":2.8,
    "upward_quality":1,
    "download_quality":1
}

Live Status

{
    "live_time":0,
    "live_trendline":0,
    "video_id":"",
    "video_quality":65535
}

Services

ServicesNameDescription
live_start_pushDevice starts live streamingThe server requests to the device to start the push of a certain channel of live streaming.
live_stop_pushDevice stops live streamingThe server requests the device to stop the push of a certain channel of live streaming.
live_query_detailQuery live detailsQuery the detailed configuration information of live streaming.
live_set_detailStream parameterSet the detailed configuration information of live streaming.
live_set_qualityStream qualitySet the quality configuration of live streaming.