ilusm.dev

sdr

RTL-SDR specific operations, ADS-B, NOAA, P25.

Load with: use sdr

Quick example

use sdr

result = sdrop("hello")
prn(result)

Functions

Device management

sdrde()

Decodes.

sdrop(idx)

Opens a connection or resource. Takes idx.

sdrcl(h)

Closes or clears. Takes h.

Tuning

sdrfr(h, mhz)

Creates from another format. Takes h, mhz.

sdrra(h, msps)

Performs the operation. Takes h, msps.

sdrga(h, db)

Performs the operation. Takes h, db.

sdrag(h)

Performs the operation. Takes h.

Streaming

sdrre(h, n)

Performs the operation. Takes h, n.

ADS-B (aircraft)

sdrtl(h)

Performs the operation. Takes h.

sdrtl1(h, tmo)

Performs the operation. Takes h, tmo.

sdrtl2(raw)

Performs the operation. Takes raw.

NOAA weather satellites

sdrno(h, f)

Performs the operation. Takes h, f.

sdrno1(f, out)

Performs the operation. Takes f, out.

P25 (trunked radio)

sdrp2(h, cf)

Performs the operation. Takes h, cf.

sdrp21(h)

Performs the operation. Takes h.

sdrp22(h)

Performs the operation. Takes h.

FM radio

sdrfm(h, f)

Performs the operation. Takes h, f.

sdrfm1(h, dur)

Performs the operation. Takes h, dur.

sdrfm2(s, out)

Performs the operation. Takes s, out.

Scanning

sdrsc(h, st, end, step)

Performs the operation. Takes h, st, end, step.

Power measurement

sdrpw(h, n)

Performs the operation. Takes h, n.

Calibration

sdrec(h, f)

Performs the operation. Takes h, f.

Direct sampling

sdrdi(h, m)

Disconnects. Takes h, m.

Bias tee

sdrbt(h, on)

Performs the operation. Takes h, on.

Frequency offset correction

sdrpp(h, e)

Performs the operation. Takes h, e.

IQ recording

sdriq(h, dur, f)

Performs the operation. Takes h, dur, f.

sdriq1(f)

Performs the operation. Takes f.

Common frequencies

sdrpa()

Parses.

sdrpo()

Performs the operation.

sdrno2()

Performs the operation.

sdrai()

Performs the operation.

Signal identification

sdrid(h, f)

Performs the operation. Takes h, f.

Notes

  • Software-defined radio - sample capture, demodulation.