- API access guide
- Common Error Codes
- FAQ
- User-related
- System control-related
- Screen control-related
- Receiving card-related
- Obtain receiving card connection informationGET
- Obtain receiving card monitoring informationPOST
- Obtain basic information of the receiving cardPOST
- Configure the screen via receiving card configuration (send .rcfgx file)POST
- Configure the screen via receiving card configuration (send .scr file)POST
- Upgrade the receiving cardPUT
- Obtain the receiving card upgrade progressGET
- Send Card-related
- Obtain screen brightnessGET
- Set screen brightnessPOST
- Obtain screen statusGET
- Set screen statusPOST
- Obtain screen-on/off schedulesGET
- Set screen-on/off schedulesPOST
- Set brightness adjustment schedulesPOST
- Obtain brightness adjustment schedulesGET
- General capabilities
- Serial port control
- Board relays
Obtain the receiving card upgrade progress
Developing
GET
/terminal/core/v1/receivecard/upgrade/status
Last modified:2024-12-13 08:16:20
Request
Header Params
Authorization
string
optional
Default:
1724333189506EO5Zqpduu4+azwYYXMJJhg==
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://192.168.0.10:16674/terminal/core/v1/receivecard/upgrade/status' \
--header 'Authorization: 1724333189506EO5Zqpduu4+azwYYXMJJhg=='
Responses
🟢200成功
application/json
Body
code
integer
required
message
string
required
data
object
required
totalLists
integer
required
listIndex
integer
required
Starts from 0
portIndex
integer
required
Output port number
Starting from 0, all are 255
connectedIndex
integer
required
Number of the receiving card connected to the output port
Starting from 0, all are 65535
totalFiles
integer
required
fileIndex
integer
required
Starting from 0
fileLabel
string
required
Generally, there are four types of upgrade files: MCU, FPGA, FONT, and Table
START means that the upgrade is being prepared.
Note: If there are other types, refer to the type parameter FileLabel in the receiving card upgrade folder config.xml.
fileProcess
integer
required
Example
{
"code": 0,
"message": "",
"data": {
"totalLists": 2,
"listIndex": 0,
"portIndex": 0,
"connectedIndex": 255,
"totalFiles": 4,
"fileIndex": 2,
"fileLabel": "FPGA",
"fileProcess": 55
}
}