DEMO: C

Requirements

Operating System: Linux, OS X or Windows.

Compilation

  • Prepare the cURL for transferring data with URLs, reference to the curl tutorial.
  • Download DEMO:pro-convert-api-demo-c.zip
  • Compile "pro_convert_curl.c", and link to "libcurl"
  • Build the pro_convert_curl.exe file

Example

  • Navigate into the bin directory and run the pro_convert_curl.exe
cd pro-convert-api-demo-c/bin/linux
./pro_convert_curl <hostip:port>
  • Sample response
***** 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,
  .
  .
  .
  "has-ptz": true
}

***** 3. upload EDID *****
upload EDID response data:
{
  "status": 0,
  "data": "AP///////wA09wEAAQAAAAE..."
}

results matching ""

    No results matching ""

    results matching ""

      No results matching ""