播放盒-EN
  1. Receiving card-related
播放盒-EN
  • API access guide
  • Common Error Codes
  • FAQ
  • User-related
    • Log in to devices
      POST
    • Log out of the device
      DELETE
    • Change user information
      PUT
  • System control-related
    • Screenshot
      GET
    • Restart the device immediately
      POST
    • Obtain device restart schedules
      GET
    • Schedule device restarts
      POST
    • Set time
      POST
    • Install apps
      PUT
    • Obtain time
      GET
    • Factory reset
      PUT
    • Obtain terminal information
      GET
    • Obtain volume
      GET
    • Set volume
      POST
    • Upgrade the device
      PUT
    • Check local upgrade status
      GET
  • Screen control-related
    • Receiving card-related
      • Obtain receiving card connection information
        GET
      • Obtain receiving card monitoring information
        POST
      • Obtain basic information of the receiving card
        POST
      • 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 card
        PUT
      • Obtain the receiving card upgrade progress
        GET
    • Send Card-related
      • Obtain the basic Information of the sending card
    • Obtain screen brightness
      GET
    • Set screen brightness
      POST
    • Obtain screen status
      GET
    • Set screen status
      POST
    • Obtain screen-on/off schedules
      GET
    • Set screen-on/off schedules
      POST
    • Set brightness adjustment schedules
      POST
    • Obtain brightness adjustment schedules
      GET
  • General capabilities
    • Upload files
    • Download files
  • Serial port control
    • Activate RS-485 serial communication
    • Check RS-485 serial port status
  • Board relays
    • Obtain relay information
    • Set relay information
  1. Receiving card-related

Upgrade the receiving card

Developing
PUT
/terminal/core/v1/receivecard/upgrade
Last modified:2024-12-13 08:07:31
This interface is used for upgrading the receiving card.
Before calling this interface, please upload the receiving card upgrade package to the following path: /sdcard/nova/viplex_terminal/receive_card/

Request

Header Params
Authorization
string 
optional
Default:
1724333189506EO5Zqpduu4+azwYYXMJJhg==
Body Params application/json
updateList
array [object {3}] 
required
Upgrade list
filePath
string 
required
Upgrade file path
portIndex
integer 
required
Ethernet port number
Output port number
Starts from 0. 255 means to execute all.
connectedIndex
integer 
required
Receiving card number
Number of the receiving card connected to the output port
Starts from 0. 65535 means to execute all.
Example
{
  "updateList": [
    {
      "filePath": "/sdcard/nova/viplex_terminal/receive_card/DATA_A8s-N_V4.7.0.0.zip",
      "portIndex": 0,
      "connectedIndex": 0
    }
  ]
}

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 PUT 'https://192.168.0.10:16674/terminal/core/v1/receivecard/upgrade' \
--header 'Authorization: 1724333189506EO5Zqpduu4+azwYYXMJJhg==' \
--header 'Content-Type: application/json' \
--data-raw '{
  "updateList": [
    {
      "filePath": "/sdcard/nova/viplex_terminal/receive_card/DATA_A8s-N_V4.7.0.0.zip",
      "portIndex": 0,
      "connectedIndex": 0
    }
  ]
}'

Responses

🟢200成功
application/json
Body
code
integer 
required
Error code
0x00: Command received
0x01: General error
0x02: Input parameter is empty.
0x05: IO error,
0x13: Upgrade file does not exist.
0x19: Incorrect file format
0x24: The current device type does not support this interface./There are unsupported receiving cards and the current operation is canceled.
0x39: Interrupt error
message
string 
required
Detailed description
Example
{
  "code": 0,
  "message": ""
}
Previous
Configure the screen via receiving card configuration (send .scr file)
Next
Obtain the receiving card upgrade progress
Built with