Set touchscreen's sleep mode

1. API Description

This API is used to enable or disable the sleep mode of the touchscreen. When it is true, if it is not touched within 1 minute, the touchscreen goes to sleep; when it is false, the touchscreen is always on.

Request mode: POST [ip]/api/chassis/set-screen

Administrator Rights Logged-in
No Yes

2. Input Parameters

Name Required Type Description
screen-sleep Yes Boolean Whether to enable the sleep mode of the touchscreen
true: Yes; false: No

3. Output Parameters

Name Type Description
status Int Status code
code String Status description

4. Example

Enabling the sleep mode of the touchscreen.

Input Example
{
    "screen-sleep": true
}
Output Example
{
    "status": 0,
    "code": "Success"
}

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
7 MW_STATUS_INVALID_ARG Missing required parameters

results matching ""

    No results matching ""

    results matching ""

      No results matching ""