Skip to content

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

http
PUT /wlte/v1/devices/{deviceId}/rs485/baud-rate

Requires device:config.

Request

http
PUT {baseUrl}/wlte/v1/devices/{deviceId}/rs485/baud-rate
Authorization: Bearer {accessToken}
Content-Type: application/json
Idempotency-Key: <caller-generated unique value>
json
{
  "baudRate": 9600
}

baudRate is an integer from 1 through 65535, in bps.

Success Response

json
{
  "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.

Docs buildVersion v1.3.6-20260720-180213-70
Copyright © 2026 WLTE