Skip to content

camera.getOptions 获取 remainingSpace 单位不对 #44

@linjinyang001

Description

@linjinyang001
$ osc info
获取相机信息...
{
  "manufacturer": "Arashi Vision",
  "model": "Insta360 X4 Air",
  "serialNumber": "IAFEA2503NSMAH",
  "firmwareVersion": "B2_1.0.10.14_build6",
  "supportUrl": "https://www.insta360.com/",
  "endpoints": {
    "httpPort": 80,
    "httpUpdatesPort": 10080
  },
  "gps": false,
  "gyro": true,
  "uptime": 25,
  "api": [
    "/osc/info",
    "/osc/state",
    "/osc/checkForUpdates",
    "/osc/commands/execute",
    "/osc/commands/status"
  ],
  "apiLevel": [
    2
  ],
  "_sensorModuleType": "Dual_Fisheye",
  "_vendorVersion": "v1.1_build1"
}
$ osc get remainingSpace
获取指定相机选项: remainingSpace
请求耗时: .196541000s
{
  "name": "camera.getOptions",
  "state": "done",
  "results": {
    "options": {
      "remainingSpace": 47601664
    }
  }
}

相机上显示 SD 卡的容量为: 12GB/58GB.
在文档里 remainingSpace 单位为 Byte, 47601664 换算之后为 47.6 MB. 跟相机显示的对不上.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions