Detect Receiving Card
# Detect Receiving Card
Path:
/api/smart_read_serial_info
Method: GET
Content-type: application/json; charset=utf-8
API Description: This can be used to detect the receiving card information, including number, model, and version.
Request
| Name | Type | Example | Description |
|---|---|---|---|
| portIndex | byte | 256 | Port number. 256: Detect all ports. |
| intent | String | scanReceiverCard | Detect the receiving card. |
Request Example 
Response
| Name | Type | Example | Description |
|---|---|---|---|
| cltIndex | int | 1 | Receiving card no.+1 (start from 1). |
| errorRate | double | 0.0 | Error rate. |
| humidity | int | -1 | Humidity. |
| productCode | String | "11.30" | Version. |
| productType | String | "i9x" | Product name. |
| runTime | long | 842333 | Running time. |
| temperature | double | 0.0 | Temperature. |
| voltage | int | 0 | Voltage. |
Response Example
- Success:
{
"portNumber": 1,
"receiveCard": [
{
"cltIndex": 1,
"errorRate": 0.0,
"humidity": -1,
"productCode": "11.30",
"productType": "i9x",
"runTime": 842333,
"temperature": 0.0,
"voltage": 0
},
{
"cltIndex": 2,
"errorRate": 0.0,
"humidity": -1,
"productCode": "11.30",
"productType": "i9x",
"runTime": 842288,
"temperature": 0.0,
"voltage": 0
}
]
}
- Failure:
{"portNumber": 1}