These are the rules of use that matter most when operating Stellar Link. Keeping to them avoids the results that look valid and are not.
Chain targets and the order of operations#
- Apply a profile before measuring, never after. A profile apply waits for the datapath to go quiet; one issued after a sustained loopback measurement can time out. Restart the unit if it does.
- Use
chain uprather than individualrf/radiosteps. It runs the steps in the only order that works: a profile apply resets the loopback selection and the LOs, so the mode is set last. See Chain Conditioning. - TX power is an attenuation.
radio.tx_power_dbmmust be zero or negative.
What survives a restart#
| Item | After a restart |
|---|---|
Profiles pushed with PUT /api/v1/profiles/{name} | Kept on the SD card's data partition. Lost on a card without one |
Scenarios pushed with POST /api/v1/scenarios | Kept on the data partition. Lost on a card without one |
| Run reports | Kept on the data partition: the full report for the most recent runs (100 runs or 16 MiB as shipped), a summary for older ones. Lost on a card without one |
| IQ captures, daemon logs | Lost. Export what you need before restarting |
| The shipped profiles, scenarios and campaigns | Kept |
| A campaign's cursor | Kept: a campaign resumes at its next step |
GET /api/v1/system/status reports, under storage, where run reports and campaign progress are
kept and whether they survive a restart.
The unit has no real-time clock: its timestamps count from power-on unless the clock is set.
Within a run, use elapsed_ms.
Scenarios#
- One scenario runs at a time. A second launch is refused with
409; it is never queued. - Conditioning happens before
t = 0. The run clock starts once the chain is conditioned, so conditioning time does not shiftat:offsets. A launch can therefore take tens of seconds to return; runstellarlinkctl chain upbeforehand to make it immediate. - Leave the first seconds of a run unmeasured. The profile's settings take effect a few seconds into the run.
- Spans run concurrently.
ramp,curveandtonesteps occupy their whole window while instant steps inside it keep their own schedule. Sweeps advance one point every 500 ms, at most 120 points per span. - The channel emulator acts on the internal loopback only. On the air path, channel
impairments have no subject.
path_loss_dbandsnr_dbare relative quantities, not physical link budgets. - Impairments need traffic. Measure an impairment while a
traffic:step is feeding the modem. Under dense traffic a channel change can be staged rather than applied; the run's event log reports it aschannel_staged. interface:on a step publishes a copy on a scenario endpoint; it does not route the packet.- Unknown keys in profiles and scenarios are ignored without an error. Check spelling against the reference pages.
- Campaign
rebootandpower_cyclesteps need a board provider able to perform them; the provider shipped with the daemon performs neither.stellarlinkctl campaign activeshows which provider is in use.
Framing#
- In stream framing, packet boundaries do not survive the link. Use slot framing, with a slot length that divides 4096, when boundaries matter.
- The ZeroMQ link service publishes whole blocks unless
frame_slot_bytesmatches the profile'sframing.mtu_bytes. Always read theframingfield of a received message.
Reading measurements#
- Lock indicators are not proof of a link. Prove a link with a byte comparison or with frame
counts that move during the window (
.delta, not.max). - RSSI readings are relative. Use
rssi_dbmandpart_rssi_dbto compare levels, not as calibrated absolute power. rf.*metrics are model values and are never verified by an assertion.- A frame count proves frame synchronisation, not payload integrity. Compare bytes when integrity matters.
Security#
Authentication is off by default. Keep the unit on a trusted network, or enable authentication in the daemon configuration.