# Interface RadarInfo

Radar information returned by GET /radars/{id}

#### Example

    {
      "id": "radar-0",
      "name": "Furuno DRS4D-NXT",
      "brand": "Furuno",
      "status": "transmit",
      "spokesPerRevolution": 2048,
      "maxSpokeLen": 1024,
      "range": 2000,
      "controls": {
        "gain": { "auto": false, "value": 50 },
        "sea": { "auto": true, "value": 30 }
      },
      "streamUrl": "ws://192.168.1.100:3001/v1/api/stream/radar-0"
    }

interface RadarInfo {
controls: RadarControls;
id: string;
maxSpokeLen: number;
name: string;
range: number;
spokesPerRevolution: number;
status: RadarStatus;
brand?: string;
legend?: LegendEntry[];
streamUrl?: string;
}

- Defined in radarapi.ts:464

##### Index

### Properties

controls
id
maxSpokeLen
name
range
spokesPerRevolution
status
brand?
legend?
streamUrl?

## Properties

### controls

controls: RadarControls

Current control settings

- Defined in radarapi.ts:480

### id

id: string

Unique identifier for this radar

- Defined in radarapi.ts:466

### maxSpokeLen

maxSpokeLen: number

Maximum spoke length in samples

- Defined in radarapi.ts:476

### name

name: string

Display name

- Defined in radarapi.ts:468

### range

range: number

Current range in meters

- Defined in radarapi.ts:478

### spokesPerRevolution

spokesPerRevolution: number

Number of spokes per full rotation

- Defined in radarapi.ts:474

### status

status: RadarStatus

Current operational status

- Defined in radarapi.ts:472

### `Optional` brand

brand?: string

Radar brand/manufacturer

- Defined in radarapi.ts:470

### `Optional` legend

legend?: LegendEntry[]

Color legend for radar display

- Defined in radarapi.ts:482

### `Optional` streamUrl

streamUrl?: string

WebSocket URL for radar spoke streaming.

- If absent: Clients use the built-in stream endpoint: `ws://server/signalk/v2/api/vessels/self/radars/{id}/stream` or `ws://server/signalk/v2/api/streams/radars/{id}` (WASM plugins emit spokes via `sk_radar_emit_spokes()` FFI binding)

- If present: Clients connect directly to external URL (backward compat)

#### Example

    "ws://192.168.1.100:3001/stream" (external mayara-server)

- Defined in radarapi.ts:494