{
"isUpgradeSensorProgram": false,
"sensorInfos": [
{
"functionId": 2,
"vendor": 5,
"sensorId": 1,
"baudRate": 9600,
"vendorAliasName": "ROLODS",
"previewValue": "--",
"previewUnit": "20",
"connected": false
}
]
}curl --location 'http://192.168.0.220:12000/terminal/core/v1/sensor/config' \
--header 'Authorization;' \
--header 'Authorization: 17857457369538LRHKOWdiBwFUnDn5QBZDw==' \
--header 'token: 1785466956901pkbCeqrUQv+PGjEfNTlNoQ==' \
--header 'Content-Type: application/json' \
--data '{
"isUpgradeSensorProgram": false,
"sensorInfos": [
{
"functionId": 2,
"vendor": 5,
"sensorId": 1,
"baudRate": 9600,
"vendorAliasName": "ROLODS",
"previewValue": "--",
"previewUnit": "20",
"connected": false
}
]
}'{
"code": 0,
"message": "success"
}