Set RS485 Baud Rate
Use device.operation.execute to set the device RS485 baud rate.
Permission
text
device:configRequest
json
{
"type": "request",
"requestId": "req_baud_001",
"topic": "device.operation.execute",
"data": {
"deviceId": "abc123456789",
"idempotencyKey": "idem_baud_001",
"operation": {
"name": "device.rs485.baudRate.set",
"params": {
"baudRate": 9600
}
}
}
}baudRate is an integer from 1 through 65535, in bps.
Reply
json
{
"type": "reply",
"requestId": "req_baud_001",
"code": "COMMAND_ACCEPTED",
"message": "Command accepted.",
"data": {
"command": {
"id": "cmd_01HZ...",
"deviceId": "abc123456789",
"operation": "device.rs485.baudRate.set",
"status": "SUCCESS",
"params": {
"baudRate": 9600
},
"result": {
"baudRate": 9600
},
"createdAt": "2026-07-15T08:30:00Z"
}
}
}params.baudRate is the requested value. result.baudRate is present only when the device confirms the value. result is omitted for TIMEOUT.
Baud-rate changes do not produce WebSocket configuration events. Use REST Get Device Configuration when you need the current configuration.
Possible errors include INVALID_REQUEST, AUTH_SCOPE_DENIED, DEVICE_NOT_FOUND, DEVICE_BUSY, DEVICE_OFFLINE, IDEMPOTENCY_CONFLICT, COMMAND_REJECTED, RATE_LIMITED, GATEWAY_UNAVAILABLE, and INTERNAL_ERROR.
