回读接收卡参数为文件
# 回读接收卡参数为文件
Path:
/api/rcv_params_file
Method: GET
Content-type: application/json; charset=utf-8
接口描述: 回读接收卡参数为文件
请求参数
| 名称 | 类型 | 示例 | 描述 |
|---|---|---|---|
| portIndex | int | 0 | 网口序号 |
| returnType | String | path | file:返回文件,path:返回路径 |
返回数据
| 名称 | 类型 | 示例 | 描述 |
|---|---|---|---|
| path | String | "/sdcard/Android/data/com.color.home /files/RCVBP/xxx.rcvbp" | 文件路径 |
| errorCode | int | 0 | 错误码 |
| apiErrorCode | int | 0 | api错误码 |
响应
returnType 为 file
返回Body:
返回 接收卡参数文件binary
错误码:通过HTTP状态码返回
returnType 为 path
{
"path": "/sdcard/Android/data/com.color.home/files/RCVBP/xxx.rcvbp",
"errorCode": 0,
"apiErrorCode":0
}