Expand description
Pure format functions for every user-facing string.
Zero I/O, zero async, zero radio access. Tested directly with golden strings and the lint. Pure format functions for every user-facing REPL string.
Every function returns a String (or &'static str) - zero I/O,
zero async, zero radio access. Testing happens directly on the
returned strings plus the accessibility lint.
§Accessibility rules
Strings are designed for screen-reader output (blind operators) and fixed-width terminals:
- Label-colon-value format (screen readers parse “Label: value” well)
- Natural-language units (megahertz, watts, hertz — not symbols)
- Booleans as words (on/off, not true/false or checkmarks)
- Lines under 80 characters (no wrapping in standard terminals)
- ASCII printable only (no box-drawing or symbols)
Functions§
- aprs_
digipeated APRS packet relayed from {source}.- aprs_
is_ connected APRS-IS connected. Forwarding RF to internet. Press Ctrl-C to stop.- aprs_
is_ incoming APRS-IS incoming: {line}.- aprs_
message_ delivered APRS message delivered, ID {id}.- aprs_
message_ expired APRS message expired after all retries, ID {id}.- aprs_
message_ received APRS message received for {addressee}: {text}.- aprs_
message_ rejected APRS message rejected by remote station, ID {id}.- aprs_
mode_ active APRS mode active. Type aprs stop to exit.- aprs_
position APRS position from {source}: latitude {lat}, longitude {lon}.- aprs_
query_ responded APRS position query from {to}, responded with beacon.- aprs_
raw_ packet APRS packet from {source}.- aprs_
station_ entry Station {call}{pos}, {n} packets, heard {elapsed} ago.- aprs_
station_ heard APRS station heard: {callsign}.- aprs_
stations_ summary {count} stations heard.- aprs_
weather APRS weather report from {source}.- attenuator
Band {A|B} attenuator: {on|off}.- band_
name - Human-readable band name. Matches the pre-extraction helper which
returned “A” for
Band::Aand “B” for every other variant. - battery
Battery level: {level}.- battery_
level_ display - Human-readable battery level for screen reader speech.
- bluetooth
Bluetooth: {on|off}.- channel_
read Channel {n}: {f} megahertz.- channels_
reading Reading channels {start} through {end}, please wait.- channels_
summary {count} programmed channels found.orNo programmed channels in that range..- clock
Radio clock: {time}.- connected_
via Connected via {path}.- cq_set
Destination set to CQCQCQ.- dstar_
command_ callsign D-STAR command: route to callsign {call}.- dstar_
command_ cq D-STAR command: call CQ.- dstar_
command_ echo D-STAR command: echo test.- dstar_
command_ info D-STAR command: request info.- dstar_
command_ link D-STAR command: link to {reflector} module {module}.- dstar_
command_ unlink D-STAR command: unlink reflector.- dstar_
gps D-STAR GPS data: {text}.orD-STAR GPS position data received.- dstar_
modem_ status D-STAR modem: buffer {n}, transmit {active|idle}.- dstar_
station_ heard D-STAR station heard: {callsign}.- dstar_
text_ message D-STAR message: "{text}"- dstar_
voice_ end D-STAR voice transmission ended.- dstar_
voice_ lost D-STAR voice signal lost, no clean end of transmission.- dstar_
voice_ start D-STAR voice from {call}{/suffix}, to {ur}.- dual_
band Dual band: {on|off}.- error
Error: {message}- the canonical error prefix.- firmware_
version Firmware version: {version}.- fm_
radio FM radio: {on|off}.- fm_
radio_ set FM radio set to {on|off}.- freq_
mhz - Format a frequency in megahertz for natural speech output.
- frequency
Band {A|B} frequency: {f} megahertz.- goodbye
Goodbye.- gps_
config GPS: {on|off}, PC output: {on|off}.- key_
lock Key lock: {on|off}.- mode_
read Band {A|B} mode: {mode}(for VFO readout - the full mode name comes fromkenwood_thd75::types::Mode::fmt).- mode_
set Band {A|B} mode set to {mode}.- on_off
- Render an
on/offword from a bool. - power_
level_ display - Human-readable power level name with watts in full.
- power_
read Band {A|B} power: {level}.- power_
set Band {A|B} power set to {level}.- radio_
model Radio model: {model}.- reflector_
connected Connected to {name} module {module}.- reflector_
disconnected Disconnected from reflector.- reflector_
event_ connected Reflector: connected.- reflector_
event_ disconnected Reflector: disconnected.- reflector_
event_ rejected Reflector: connection rejected.- reflector_
event_ voice_ end Reflector: voice transmission ended.- reflector_
event_ voice_ start Reflector: voice from {call}{/suffix}, to {ur}.- smeter
Band {A|B} S-meter: {reading}.- squelch_
read Band {A|B} squelch level: {level}(0-5).- squelch_
set Band {A|B} squelch set to {level}.- startup_
banner Kenwood TH-D75 accessible radio control, version {version}.- startup_
identified Radio model: {model}. Firmware version: {fw}.- step_
size_ read Band {A|B} step size: {step}.- step_
size_ set Band {A|B} step size set to {step}.- stepped_
down Band {A|B} stepped down to {f} megahertz.- stepped_
up Band {A|B} stepped up to {f} megahertz.- tuned_
to Band {A|B} tuned to {f} megahertz.- tx_
offset Band {A|B} transmit offset: {hz} hertz.- type_
help_ hint Type help for a list of commands, or quit to exit.- urcall_
read Destination callsign: {call}or... suffix {suffix}.- urcall_
set Destination callsign set to {call}.- vox
VOX: {on|off}.- vox_
delay_ read VOX delay: {level}.- vox_
delay_ set VOX delay set to {level}.- vox_
gain_ read VOX gain: {level}.- vox_
gain_ set VOX gain set to {level}.- vox_set
VOX set to {on|off}.- warning
Warning: {message}- the canonical warning prefix.