How merbanan/rtl_433 works
rtl_433 is a generic receiver for wireless sensor and device protocols. Its principal workflow is to acquire SDR or file samples, detect and slice radio pulses, decode protocol frames into structured events, then emit those events through selectable output formats. The tree and README also identify configuration, signal analysis, an HTTP interface, and a large decoder catalog as product capabilities. Several runtime links are dashed because the supplied source excerpts do not show their call sites; the README documents supported inputs and outputs but not all internal wiring.
Main entry points: rtl_433.c Receiver runtime · sdr.c SDR input · fileformat.c File input · baseband.c Baseband processing
Components 24
Signal capture
- Receiver runtime
src/rtl_433.c - SDR input
src/sdr.c - File input
src/fileformat.c - Signal capture
src/samp_grab.c
Demodulation and decoding
- Baseband processing
src/baseband.c - Pulse detection
src/pulse_detect.c - Pulse slicing
src/pulse_slicer.c - Protocol decoders
src/devices - Decoder registry
src/r_api.c
Event processing
- Structured events
src/data.c - Pulse analysis
src/pulse_analyzer.c
Output interfaces
- File output
src/output_file.c - Log output
src/output_log.c - MQTT output
src/output_mqtt.c - Influx output
src/output_influx.c - UDP output
src/output_udp.c - Trigger output
src/output_trigger.c
Runtime services
- HTTP interface
src/http_server.c - HTTP networking
src/mongoose.c - Configuration parsing
src/confparse.c
Other components
- Operator
- SDR receiver
- Sample files
- Output services
Connections 26
- Operator → Receiver runtime: configures
- SDR receiver → SDR input: provides samples
- Sample files → File input: provides samples
- Receiver runtime → SDR input: starts input
- Receiver runtime → File input: selects input
- SDR input → Receiver runtime: delivers samples
- File input → Receiver runtime: delivers samples
- Receiver runtime → Signal capture: saves signals
- Receiver runtime → Baseband processing: processes samples
- Baseband processing → Pulse detection: detects pulses
- Pulse detection → Pulse slicing: passes pulses
- Pulse slicing → Decoder registry: dispatches frames
- Decoder registry → Protocol decoders: selects decoders
- Protocol decoders → Structured events: creates events
- Receiver runtime → Pulse analysis: analyzes signals
- Receiver runtime → Configuration parsing: reads options
- Receiver runtime → File output: routes events
- Receiver runtime → Log output: routes events
- Receiver runtime → MQTT output: routes events
- Receiver runtime → Influx output: routes events
- Receiver runtime → UDP output: routes events
- Receiver runtime → Trigger output: routes events
- MQTT output → Output services: publishes events
- Influx output → Output services: writes events
- Receiver runtime → HTTP interface: serves interface
- HTTP interface → HTTP networking: uses networking