DEMO: C 语言

环境准备

  • 操作系统:支持 Windows、macOS、Linux

源码编译

  • 开发者自己准备相应平台(Windows/macOS/Linux/...) 的"curl sdk"
  • DEMO 下载链接:pro-convert-api-demo-c.zip
  • 编译 "pro_convert_curl.c",链接到"libcurl"
  • 生成可执行性文件 "pro_convert_curl"

运行方式

  • 在终端控制台进入 bin 目录、执行相应平台的 pro_convert_curl。
cd pro-convert-api-demo-c/bin/linux
./pro_convert_curl <hostip:port>
  • 输出结果

***** 1. login *****
login response data:
{
    "status": 0
}

***** 2. get caps *****
get caps response data:
{
    "status": 0,
    "max-input-width": 4096,
    "max-input-height": 2160,
    "max-output-width": 4096,
    "max-output-height": 2160,
    "has-input": true,
    "has-output": true,
    "has-loop-through": true,
    "has-fan": true,
    "has-input-edid": true,
    "has-output-edid": true,
    "has-sdcard": true,
    "has-ptz": true
}

***** 3. upload EDID *****
upload EDID response data:
{
    "status": 0,
    "data": "AP///////wA09wEAAQAAAAEaAQOAAAB4Au6Vo1RMmSYPUFT//4AxQEVAYUBxQIGA0QDhwAEACOgAMPJwWoCwWIoAUB10AAAeAjqAGHE4LUBYLEUAUB10AAAeAAAA/QAPlg+HPAAAAAAAAAAAAAAA/ABNQUdFV0VMTAogICAgAWYCA1HxV2EQHwQTBRQgISJdXl9gZWZiY2QHFgMSMgl/BxUHUD0GwFcGAF9/AWd/AINPAADiAA9uAwwAEAC4eCEQgAECAwRn2F3EAXiAA+MPAeABHYAYcRwWIFgsJQBAhGMAAJ5mIVaqUQAeMEaPMwBQHXQAAB4AAAAAAAAAAAAAzw=="
}

与“”相关结果约

    找不到与“”相关的结果

    与“”相关结果约

      找不到与“”相关的结果