机场

2022-08-19
暂无评分

备注: 遥控器、大疆机场属于网关类的物模型。

Properties

push_mode = 0:设备端主动定频推送信息 push_mode = 1:设备端不做定频推送,但是如果该Property发生变化,需要立即推送服务端 push_mode = 2:设备端不做定频推送,状态发生变化不无需主动通知服务端,服务端会自己触发来进行获取

PropertiesNameDescriptionpush_modedata_type
live_status视频直播上报直播状态2s/次直播时长视频等级带宽质量20array
live_capacity上报直播能力上报该网关设备当前可直播的能力1struct
longitude经度网关设备的经度0double
latitude纬度网关设备的纬度0double
height椭球高度1float
firmware_version固件版本网关设备的固件版本1string
capacity_percent剩余电量百分比剩余电量百分比0int
mode_code机场状态0: 空闲中, 1: 现场调试, 2: 远程调试, 3: 升级中, 4: 作业中0int
cover_state机场舱盖状态0: 关闭, 1: 打开, 2: 半开, 3: 舱盖状态异常0int
putter_state推杆状态0: 关闭, 1: 打开, 2: 半开, 3: 推杆状态异常2int
supplement_light_state补光灯0: 关闭, 1: 打开2int
drone_charge飞机充电状态0: 空闲, 1: 正在充电0int
drone_in_dock飞机是否在舱0: 舱外, 1: 舱内0int
job_number作业次数0int
environment_humidity环境湿度百分比0float
temperature舱内温度摄氏度0float
humidity舱内湿度百分比0float
environment_humidity环境湿度百分比0float
backup_battery_voltage备用电池信息毫伏0int
electric_supply_voltage市电电压0int
working_voltage工作电压毫伏0int
working_current工作电流毫安0int
acc_time机场累计运行时长2int
firmware_version大包版本号2string
compatible_status固件一致性0: 一致, 1: 不一致2int
environment_temperature环境温度摄氏度0float
wind_speed风速米每秒0float
first_power_on首次上电时间毫秒0int
network_state网络状态0struct
alternate_land_point备降点2struct
storage存储容量0struct
position_state搜星状态0struct
rtk_state搜星状态0struct
sdr图传质量0struct
media_file_detail媒体文件上传细节0struct
rainfall雨量毫米每小时0struct

alternate_land_point

{
            "type": 1,
            "quality": 2,
            "rate": 1000
}

media_file_detail

{
  "remain_upload": 20
}

rtk_state

{
  "is_calibration":0,
  "is_fixed": 0,
  "quality": 1,
  "gps_number": 0,
  "glo_number": 0,
  "bds_number": 0,
  "gal_number": 0,
}

position_state

{
  "is_calibration":0,
  "is_fixed": 0,
  "quality": 1,
  "gps_number": 0,
  "rtk_number": 0
}

storage

{
  "total": 10241024,
  "used": 521512
}

network_state

{
            "type": 1,
            "quality": 2,
            "rate": 1000
}

sdr

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

live_capacity

{
  "available_video_number": 8,
  "coexist_video_number_max": 2,
  "device_list": [
    {
      "sn": "ABCDEF",
      "available_video_number": 8,
      "coexist_video_number_max": 2,
      "camera_list": [
        {
          "camera_index": "0-39-7", 
          "available_video_number": 1,
          "coexist_video_number_max": 1,
          "video_list": [
            {
              "video_index": "normal-0",
              "video_type": "normal"
            },
            ...
          ]
        },
        {
          "camera_index": "0-42-0", 
          "available_video_number": 1,
          "coexist_video_number_max": 1,
          "video_list": [
            {
              "video_index": "wide-0",
              "video_type": "wide"
            },
            ...
          ]
        },
        ...
      ]
    },
    ...
  ]
}
}

live_status

[
  {
    "video_id": "AFAF/H20T-0/normal-1",
    "live_time": 134,
    "video_quality": 0,
    "status":0
  }
  {
    ...
  }
  ...
]

rainfall

{
  "average": 11.5,
  "level":1
}

Services

ServicesNameDescription
live_start_push设备开始直播服务器向设备端请求开始某一路直播码流的推送
live_stop_push设备停止直播服务器向设备端请求停止某一路直播码流的推送
live_query_detail查询直播详情查询一路直播视频流的详细配置信息
live_set_detail码流参数设置设置一路直播视频流的详细配置信息
live_set_quality码流质量设置设置一路直播视频流的质量配置