All docsStellar LinkRF bench · by Stellar Systems v0.1.0

API Reference

Monitor

RSSI, power, FFT — planned L7

GET/api/v1/monitor/fft

FFT#

Responses

200OKapplication/json
sizerequired

integer · int32

≥ 0

sourcerequired

integer · int32

monitor.fft.SRC_SEL — which tap the core is pointed at.

≥ 0

bins_dbrequired

array of number · double

Frequency-domain magnitude samples.

syntheticrequired

boolean

TRUE while these bins are MANUFACTURED HERE and do not come from the PL.

The field exists because nothing in the response distinguished a measurement from an invention: a spectrum served by /api/v1/... reads as signal, and the UI displayed it as such. The client now labels itself from this value rather than from a hard-coded string, which would have gone stale the day the real path landed — and a stale note is this project's dominant failure mode.

Set it to false IN THE SAME COMMIT as the real sample read, not before: a premature false is worse than today's true, because it makes the invention undetectable.

channelrequired

string

Which end of the link this spectrum describes ("rx" / "tx").

enabledrequired

boolean

Whether analysis is switched on for that channel. Off by default: a frame costs a DMA block plus a transform, and nothing should pay that because a dashboard tab happens to be open.

sample_rate_hzrequired

integer · int64

Sample rate the block was taken at, 0 when there is no block.

≥ 0

unavailable

Unavailable · nullable

Request

curl "http://192.168.2.1:8080/api/v1/monitor/fft"

Response

{
  "size": 0,
  "source": 0,
  "bins_db": [
    0.0
  ],
  "synthetic": true,
  "channel": "string",
  "enabled": true,
  "sample_rate_hz": 0,
  "unavailable": {}
}
GET/api/v1/monitor/power

Power#

Responses

200OKapplication/json
taprequired

integer · int32

≥ 0

power_dbfsrequired

number · double

Request

curl "http://192.168.2.1:8080/api/v1/monitor/power"

Response

{
  "tap": 0,
  "power_dbfs": 0.0
}
GET/api/v1/monitor/rssi

RSSI#

Responses

200OKapplication/json
average_dbmrequired

number · double

instant_dbmrequired

number · double

threshold_dbmrequired

number · double

Request

curl "http://192.168.2.1:8080/api/v1/monitor/rssi"

Response

{
  "average_dbm": 0.0,
  "instant_dbm": 0.0,
  "threshold_dbm": 0.0
}

↑↓ to moveEnter to open