Set RS485 Baud Rate
Set the RS485 baud rate on a device that supports this capability. RS485 slaves must use the same baud rate afterward.
Endpoint and Permission
PUT /wlte/v1/devices/{deviceId}/rs485/baud-rateRequires device:config.
Request
PUT {baseUrl}/wlte/v1/devices/{deviceId}/rs485/baud-rate
Authorization: Bearer {accessToken}
Content-Type: application/json
Idempotency-Key: <caller-generated unique value>{
"baudRate": 9600
}baudRate is an integer from 1 through 65535, in bps.
Success Response
{
"code": "COMMAND_ACCEPTED",
"message": "Command accepted.",
"requestId": "req_001",
"data": {
"command": {
"id": "cmd_001",
"deviceId": "rek053537488",
"operation": "device.rs485.baudRate.set",
"status": "SUCCESS",
"params": {
"baudRate": 9600
},
"result": {
"baudRate": 9600
},
"createdAt": "2026-07-15T08:30:00Z"
}
}
}The HTTP status is 202 Accepted. params.baudRate is the requested value. result.baudRate is returned only after device confirmation. result is omitted for TIMEOUT.
Configuration changes are not broadcast over WebSocket. Use Get Device Configuration when you need the current value.
Use a new Idempotency-Key for a new configuration operation and reuse the original key when retrying the same operation. Use data.command.id with Get Command Result.
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.
