LORA Tunnel installer

Release 0.6.1 · c45a40bd9a16

Recon detection sounds

Wio Tracker L2 Pro and Cardputer ADV use their onboard speakers, Heltec V4 uses its buzzer, and CardputerZero uses ALSA. Open Settings → Alert sounds (CardputerZero Settings → Preview alert sound) and play Axon siren to test the output. A preview works from idle and leaves the Recon mute setting and alert history alone.

The catalog includes all 26 audible defaults from Dragon Detector. Recon maps the existing classification to a cue when it meets the configured alert threshold. Explicit Axon or TASER evidence in the body-camera category selects the alternating 880 Hz / 1760 Hz siren. Other body-camera evidence plays a separate cue. The Dragon Detector Axon melody is also available in the gallery. A match describes the radio evidence observed. The recording state and operator are unknown.

On CardputerZero the existing five-minute per-identity alert interval applies. The following scheduling and identity-history limits apply to the ESP32 firmware.

One cue per observed device identity

An eligible identity gets one short motif during a Recon session. Continued sightings, changing RSSI, waiting 30 seconds, muting/unmuting, or eviction from the display summary do not replay it. Starting an explicit new Recon session resets this history. The existing category filters, confidence threshold and winning rule's alert:false still determine whether a detection is eligible. Other cues share a one-second admission interval. An eligible siren can interrupt a lower-priority motif.

The history holds 128 non-evicting 64-bit fingerprints in exactly 1 KiB. It keys on radio kind, address type and normalized observed address. Once full, new sounds are suppressed and status reports the full history; capture/logging continue. It never evicts an older identity just to replay its sound. A device that rotates addresses may appear as a new identity, and a fingerprint collision can suppress a cue; this is bounded notification bookkeeping, not proof of a physical device's identity.

No sound queue grows behind the user interface. While a motif is active, an equal- or lower-priority request is rejected and remains eligible for a later sighting; a higher-priority motif can interrupt it. An interrupted identity is still remembered and is not replayed. Admission priority is an audio scheduling choice, not a threat score or stronger evidence of identity.

Implementation and validation limits

The shared scheduler and RTTTL reader allocate no memory, wait on no task and perform no sleeps. They run from the main loop, outside radio callbacks. Notes have finite hardware durations; the loop advances at most one note per tick, so a late tick cannot replay a burst. Hardware tone output must also remain non-blocking and stop immediately when requested.

The intentionally bounded RTTTL subset uses explicit d, o and b defaults, denominators 1/2/4/8/16/32, octaves 4–7, tempo 60–240, notes/rests, supported sharps and one dotted duration. Input is at most 192 bytes and 24 notes, and the whole pattern is validated before playback. Runtime loading of arbitrary songs or user files is not provided.

The actual production implementation passed 14 native tests covering all patterns, malformed input, timer wraparound, stalled ticks, preemption, mute and cancel, no replay, full-history suppression, display-cache churn and zero C++ allocations. These are software checks. Check actual loudness, intelligibility, silence in Wardriver/idle, no repeats, mute/Stop/sleep cancellation and capture responsiveness on both boards before claiming hardware acceptance. Host WAV previews, when supplied, are synthetic reference audio rather than recordings of either board's speaker.