{
"id": "GSF_ID_BSP_UART",
"op": "G0C0S0"
}
curl --location --request POST 'http://192.168.0.168/api/system/config' \
--header 'Cookie: access_token=;access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "GSF_ID_BSP_UART",
"op": "G0C0S0"
}'
{
"code": 0,
"data": {
"count": 2,
"vec": [
{
"idx": 0,
"enable": 0,
"devid": 0,
"speed": 9600,
"flow_ctrl": 0,
"databits": 8,
"stopbits": 1,
"parity": 110,
"vtime": 0,
"vmin": 5,
"see": 0,
"rtsn_ctrl": 0,
"sleep_time": 0,
"fv": 0,
"use": 0,
"proto": "RS485",
"app_proto": 0,
"command1": "0F030001000294E5",
"command2": "",
"command3": "",
"command4": ""
},
{
"idx": 1,
"enable": 1,
"devid": 1,
"speed": 9600,
"flow_ctrl": 0,
"databits": 8,
"stopbits": 1,
"parity": 110,
"vtime": 0,
"vmin": 5,
"see": 0,
"rtsn_ctrl": 0,
"sleep_time": 0,
"fv": 1,
"use": 3,
"proto": "TTL",
"app_proto": 0,
"command1": "",
"command2": "",
"command3": "",
"command4": ""
}
]
}
}