# Get Screen Test Pattern
This API can be used to get the test pattern of a specified screen.
# API Path
{CLTPlatform-ip}:8086/processor/getTestMode
- Replace
{CLTPlatform-ip}
with the corresponding IP address. - The request port is
8086
.
# Protocol
HTTP
# Method
POST
# Request Parameter
- Set the
Content-Type
of the request body toapplication/json
.
Parameter Name | Description | Required | Type | Data Dictionary | Limit | Example |
---|---|---|---|---|---|---|
command | Command type | Yes | [string] | processor/getTestMode | ||
data | Data | Yes | [object] | |||
data>>index | Sender index (starting from 0) | Yes | [int] | 0 | ||
data>>groupIndex | Screen group index(0~screenGroupCount-1) | Yes | [int] | 0 |
# Request Example
{
"command": "processor/getTestMode",
"data": {
"index": 0,
"groupIndex": 0
}
}
# Response
Parameter Name | Description | Required | Type | Data Dictionary | Limit | Example |
---|---|---|---|---|---|---|
command | Command type | Yes | [string] | processor/getTestMode | ||
code | Status Code | Yes | [int] | 20000 | ||
message | Message | Yes | [string] | Common_Success | ||
data | Data | Yes | [object] | |||
data>>testMode | Test pattern | Yes | [string] | Normal; Red; Green; Blue; White; Horizontal Moving Line; Vertical Moving Line; Left Slash Move Down; Right Slash Move Down; Grid Move Down; Gradient Red; Gradient Green; Gradient Blue; Gradient White; Black; | Normal |
# Response Example
{
"command": "processor/getTestMode",
"code": 20000,
"message": "Common_Success",
"data": {
"testMode": "Normal"
}
}