Import EDID of HDMI input
1. API Description
This API is used to import the EDID configuration information of the HDMI input port. The import file format is .bin.
Request mode:
- V2.6.0 and above: POST [ip]/mwapi/V2.0/input/upload-edid/n
- V2.5.0 and below: POST [ip]/mwapi/upload-edid/n
Note: [n] is HDMI input source ID, which can be 0: HDMI 1 or 1: HDMI 2.
Administrator Rights | Logged-in |
---|---|
No | Yes |
2. Input Parameters
Binary EDID file.
3. Output Parameters
Name | Type | Description |
---|---|---|
status | Int | Status code |
data | String | The EDID information, in Base64 format, which needs to be converted to hexadecimal value when displayed |
4. Example
Import EDID configuration for HDMI 1.
Input Example
------WebKitFormBoundaryIQYfOLWb1KdjY6f3
Content-Disposition: form-data; name="file"; filename="edid.bin"
Content-Type: application/octet-stream
------WebKitFormBoundaryIQYfOLWb1KdjY6f3--
Output Example
{
"status": 0,
"data": "AP///////wA09wEAAQAAAAEaAQOAAAB4Au6Vo1RMmSYPUFT//4AxQEVAYUBxQIGA0QDhwAEACOgAMPJwWoCwWIoAUB10AAAeAjqAGHE4LUBYLEUAUB10AAAeAAAA/QAPlg+HPAAAAAAAAAAAAAAA/ABNQUdFV0VMTAogICAgAWYCA1HxV2EQHwQTBRQgISJdXl9gZWZiY2QHFgMSMgl/BxUHUD0GwFcGAF9/AWd/AINPAADiAA9uAwwAEAC4eCEQgAECAwRn2F3EAXiAA+MPAeABHYAYcRwWIFgsJQBAhGMAAJ5mIVaqUQAeMEaPMwBQHXQAAB4AAAAAAAAAAAAAzw=="
}
5. Error Code
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Status | Definition | Description |
---|---|---|
49 | MW_STATUS_INVALID_DATA | Error |